Use After Free Vulnerability in m_can_tx_handler() Function in Kernel

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002137: can: m_can: m_can_tx_handler(): fix use after free of skb. Affects Kernel versions >= 80646733f11c2e9de3b6339f7e635047e6087280, < 869016a2938ac44f7b2fb7fc22c89edad99eb9b3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a crucial component of the Linux operating system that manages the system's resources and facilitates communication between hardware and software. It provides essential functions and services for the proper functioning of the system. The m_can_tx_handler() function is responsible for handling transmission requests in the Controller Area Network (CAN) subsystem of the Kernel. CAN is a widely used network protocol for communication between microcontrollers and devices in automotive and industrial applications.

Vulnerability Detail

The m_can_tx_handler() function in the Kernel suffers from a use after free vulnerability. This vulnerability occurs when the function continues to reference a memory object (skb) after it has been freed. An attacker could exploit this vulnerability by manipulating the freed memory object, potentially leading to a variety of security issues such as privilege escalation, information disclosure, or denial of service. The vulnerability was introduced in version v3.18 of the Kernel and is fixed in version v5.10.110.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the fix provided by updating the Kernel to the latest version.

Conclusion

The use after free vulnerability in the m_can_tx_handler() function of the Kernel can have serious security implications. It is crucial to update the Kernel to version v5.10.110 or later to mitigate the risk associated with this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability could potentially be exploited by an attacker to gain elevated privileges, access sensitive information, or disrupt the normal operation of the system.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze the dependencies and alert you if any vulnerabilities, including this one, are found.

There are no known instances of this vulnerability being exploited in the wild. However, it is important to apply the fix as soon as possible to mitigate the risk.

It is highly recommended to update the Kernel to the latest version to apply the necessary fix. Manual patching may be complex and error-prone, and it is best to rely on official updates provided by the Kernel maintainers.

You can find more information about this vulnerability in the GSD-2022-1002137 entry of the GSD Database maintained by the Cloud Security Alliance. The entry provides details about the vulnerability, its impact, and the fix provided by the Linux Kernel developers.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback