PT-2021-8128 · Linux+2 · Linux Kernel+2
Baokun Li
+1
·
Published
2021-12-25
·
Updated
2025-04-04
·
CVE-2021-47089
CVSS v2.0
4.6
Medium
| Vector | AV:L/AC:L/Au:S/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The vulnerability is related to a memory leak in the Linux kernel's kfence component when using cat kfence objects. This issue can be reproduced with specific commands, including cat /sys/kernel/debug/kfence/objects, echo scan > /sys/kernel/debug/kmemleak, and cat /sys/kernel/debug/kmemleak. The leaked memory is allocated in the stack during the do syscall 64 and vfs read processes but is not released properly due to the lack of a release function corresponding to file operations in kfence. This results in a memory leak, which can potentially lead to a denial of service. The solution involves implementing the corresponding release function.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Memory Leak
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel
Red Os
Suse