Use After Free Vulnerability in net: macb
Summary
GSD-2021-1001613: net: macb: fix use after free on rmmod. Affects Kernel versions < 1da750d1e2140ef43d64d17f301ff6f41b45541e. 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 net: macb package is a network driver for the MACB Ethernet controller. It is a part of the Linux Kernel ecosystem. The MACB Ethernet controller provides a high-performance, low-power Ethernet interface for embedded systems. The net: macb package is responsible for managing the communication between the MACB Ethernet controller and the operating system. However, a vulnerability has been discovered in this package that can lead to a use after free condition when the package is unloaded (rmmod).
Vulnerability Detail
The use after free vulnerability in net: macb occurs when the package is unloaded from the system. This vulnerability can be exploited by an attacker to execute arbitrary code or cause a denial of service. When the package is unloaded, there is a reference to a freed memory object, which can be accessed by an attacker. This can result in the execution of unintended code or the crashing of the system. The vulnerability has been fixed in Linux Kernel version v5.4.150 by commit 1da750d1e2140ef43d64d17f301ff6f41b45541e.
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 mentioned in the 'how_to_fix' section.
Conclusion
The use after free vulnerability in net: macb can lead to arbitrary code execution or denial of service. It is important to update the Linux Kernel to version v5.4.150 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
net: macb is a network driver for the MACB Ethernet controller, providing a high-performance, low-power Ethernet interface for embedded systems.
A use after free vulnerability occurs when a program or package continues to reference a memory object after it has been freed. This can lead to unexpected behavior and potential security issues.
An attacker can exploit this vulnerability by unloading the net: macb package from the system and then accessing the freed memory object. This can allow the attacker to execute arbitrary code or cause a denial of service.
Yes, this vulnerability has been fixed in Linux Kernel version v5.4.150 by commit 1da750d1e2140ef43d64d17f301ff6f41b45541e.
To update your Linux Kernel, you can pull the latest changes from the official Linux Kernel repository and rebuild the kernel. Alternatively, you can wait for your Linux distribution to release an updated kernel package that includes the fix.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.