UAF in tlan_remove_one in Kernel
Summary
UVI-2021-1001321: net: ti: fix UAF in tlan_remove_one. Affects Kernel versions >= 1e0a8b13d35510e711fdf72e9a3e30bcb2bd49fa, < b7e5563f2a7862a9e4796abb9908b092f677e3c1. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and ensures the stability and security of the system. The tlan_remove_one function in the Kernel's network subsystem is responsible for removing a network device from the system. However, a use-after-free (UAF) vulnerability has been discovered in this function, which can lead to potential security issues.
Vulnerability Detail
The UAF vulnerability in tlan_remove_one arises from improper handling of network device removal. An attacker could exploit this vulnerability by manipulating the network device removal process, causing a use-after-free condition. This could potentially lead to arbitrary code execution or a system crash, depending on how the freed memory is subsequently used. The vulnerability was introduced in version v3.10 of the Linux Kernel and has been fixed in version v5.4.135.
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 specific workaround available for this vulnerability. However, users can mitigate the risk by applying the recommended fix and keeping their systems up to date with the latest Kernel version.
Conclusion
The UAF vulnerability in tlan_remove_one in the Kernel can pose significant security risks if left unaddressed. It is crucial to update the Linux Kernel to version v5.4.135 or later to mitigate this vulnerability. Regularly updating the Kernel and applying security patches is essential for maintaining a secure and stable system. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can vary depending on the attacker's capabilities and the system's configuration. It could potentially lead to arbitrary code execution or a system crash, which may result in a denial of service or unauthorized access to sensitive information.
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, and Vulert will analyze it for any open-source vulnerabilities, including this one.
At the time of this report, there are no known public exploits targeting this specific vulnerability. However, it is always recommended to apply security patches promptly to mitigate any potential risks.
Yes, this vulnerability can be exploited remotely if the attacker can send malicious network traffic to the targeted system. It is crucial to apply the necessary updates to protect against potential remote exploitation.
For more details about this vulnerability, including the specific code changes that address it, you can refer to the vulnerability report on the Cloud Security Alliance's GSD database at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/UVI-2021-1001321.json.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.