False Positive kmemleak Report in x86/pm
Summary
GSD-2022-1004087: x86/pm: Fix false positive kmemleak report in msr_build_context(). Affects Kernel versions >= 7a9c2dd08eadd5c6943115dbbec040c38d2e0822, < f0e5dce9e2decf8962942d031a29c50b471bb38e. 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 x86/pm package is a component of the Linux Kernel that handles power management for x86 architecture. It provides functionality for managing power states, CPU frequency scaling, and other related tasks. The package is an integral part of the Linux Kernel and is widely used in various Linux distributions. However, a vulnerability has been discovered in the package that leads to false positive kmemleak reports in the msr_build_context() function.
Vulnerability Detail
The vulnerability in x86/pm package arises from a false positive kmemleak report in the msr_build_context() function. This function is responsible for building the context for accessing Model-Specific Registers (MSRs) on x86 processors. Due to a coding error, the function incorrectly triggers kmemleak reports, which are used to detect memory leaks in the kernel. This false positive report can lead to confusion and unnecessary investigation of non-existent memory leaks. While the impact of this vulnerability is relatively low, it can cause unnecessary resource consumption and potentially divert attention from genuine memory leak issues.
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 impact by ensuring they have the latest Linux Kernel version installed, which includes the fix for this issue.
Conclusion
The false positive kmemleak report vulnerability in the x86/pm package has been addressed in the Linux Kernel version v4.9.318. Users are advised to update their Linux Kernel to the latest version to mitigate the impact of this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The x86/pm package is a component of the Linux Kernel that handles power management for x86 architecture.
The impact of this vulnerability is relatively low, but it can cause unnecessary resource consumption and potentially divert attention from genuine memory leak issues.
To fix this vulnerability, users should update their Linux Kernel to the latest version that includes the fix.
There is no specific workaround available, but users can mitigate the impact by ensuring they have the latest Linux Kernel version installed.
For more information about this vulnerability, you can refer to the provided references link.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.