Vulnerability in Kernel package: hamradio: defer ax25 kfree after unregister_netdev
Summary
GSD-2021-1002845: hamradio: defer ax25 kfree after unregister_netdev. Affects Kernel versions < cb6c99aedd2c843056a598a8907a6128cb07603b. 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 package is a crucial component of the Linux operating system, responsible for managing the system's core functions. It provides an interface between the hardware and software layers, allowing applications to communicate with the underlying system. The hamradio module within the Kernel package is specifically designed for amateur radio support. It enables radio communication capabilities on Linux systems. However, a vulnerability has been identified in the hamradio module, which could potentially be exploited by attackers.
Vulnerability Detail
The vulnerability in the hamradio module involves a failure to properly handle memory deallocation. Specifically, the ax25 component of the module does not defer the kfree operation after unregistering the network device. This can lead to a use-after-free condition, where an attacker could potentially manipulate freed memory to execute arbitrary code or cause a denial-of-service (DoS) condition. The impact and attack plausibility of this vulnerability have not been proven, but it is essential to address it to ensure the security and stability of the system.
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 →
Conclusion
In conclusion, the hamradio module in the Kernel package is vulnerable to a memory deallocation issue. By updating the Kernel package to version v5.15.12 or later, the vulnerability can be addressed. It is important to take prompt action to ensure the security and stability of the system. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is not yet proven, but it could potentially allow attackers to execute arbitrary code or cause a denial-of-service (DoS) condition.
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 in real-time to identify any open-source vulnerabilities, including this one.
No specific workaround has been provided for this vulnerability. It is recommended to update the Kernel package to the fixed version.
There are no known instances of this vulnerability being exploited at the moment. However, it is crucial to apply the fix to prevent any potential exploitation.
You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002845.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.