mm/slub: Fix Freelist Pointer vs Redzoning Vulnerability in Kernel
Summary
GSD-2021-1001091: mm/slub: actually fix freelist pointer vs redzoning. Affects Kernel versions < ce6e8bee7a3883e8008b30f5887dbb426aac6a35. 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 manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The mm/slub subsystem within the Kernel is responsible for managing the allocation and deallocation of kernel objects. It utilizes a slab allocator to efficiently manage memory resources.
The vulnerability identified in the mm/slub subsystem involves a freelist pointer vs redzoning issue. This vulnerability could potentially be exploited by an attacker to corrupt memory or execute arbitrary code within the kernel context.
Vulnerability Detail
The mm/slub vulnerability arises from an incorrect handling of freelist pointers in relation to redzoning. Redzoning is a technique used to detect memory corruption by placing guard bytes before and after allocated objects. These guard bytes are used to detect any unauthorized modifications to the memory.
The vulnerability allows an attacker to bypass the redzoning protection by manipulating freelist pointers. By corrupting the freelist pointers, an attacker can gain control over the memory allocation and deallocation process, potentially leading to memory corruption, information disclosure, or arbitrary code execution within the kernel context.
This vulnerability has been assigned the ID GSD-2021-1001091 and was fixed in Linux Kernel version v5.12.13 by commit ce6e8bee7a3883e8008b30f5887dbb426aac6a35.
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
The mm/slub vulnerability in the Kernel's memory management subsystem poses a potential risk of memory corruption, information disclosure, or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.12.13 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability could allow an attacker to corrupt memory, potentially leading to system instability, information disclosure, or arbitrary code execution within the kernel context.
You can check if your system is affected by this vulnerability by verifying the version of the Linux Kernel installed. If your system is running a version prior to v5.12.13, it is recommended to update to the latest version to mitigate the vulnerability.
At the moment, there are no known workarounds for this vulnerability. It is recommended to update the Linux Kernel to the latest version to ensure the vulnerability is addressed.
There is no information available regarding exploitation of this vulnerability in the wild. However, it is crucial to apply the necessary updates to mitigate the risk.
You can find more information about this vulnerability in the GSD-2021-1001091 entry of the GSD database maintained by the Cloud Security Alliance. The entry provides additional details and references to the relevant source code commits.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.