False Positive kmemleak Report in x86/pm
Summary
GSD-2022-1003922: x86/pm: Fix false positive kmemleak report in msr_build_context(). Affects Kernel versions >= 7a9c2dd08eadd5c6943115dbbec040c38d2e0822, < dc65f93dbcb9270f8d2a8ea643fda63cc89c75c0. 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, which is responsible for managing power management features on x86-based systems. It includes functionality for handling MSR (Model Specific Register) contexts. MSR contexts are used to save and restore the state of MSR registers during system sleep and resume operations. This vulnerability in the package leads to false positive kmemleak reports in the msr_build_context() function.
Vulnerability Detail
The vulnerability arises from a false positive kmemleak report in the msr_build_context() function of the x86/pm package. The kmemleak feature in the Linux Kernel is used to detect and report memory leaks. However, in this case, the msr_build_context() function triggers a false positive report, indicating a memory leak that does not actually exist. This can lead to unnecessary investigation and potential wasted resources. The issue was introduced in version v4.5 of the Linux Kernel and has been fixed in version v4.19.247.
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 mentioned for this vulnerability.
Conclusion
The false positive kmemleak report vulnerability in the x86/pm package can lead to unnecessary investigation efforts and resource utilization. It is recommended to update the Linux Kernel to version v4.19.247 or later to fix this issue. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is primarily on resource utilization and investigation efforts. The false positive kmemleak report can lead to unnecessary investigation of non-existent memory leaks, potentially wasting resources and time.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.
No known exploit for this vulnerability has been reported at this time.
There are no other related vulnerabilities reported in the x86/pm package at this time.
You can find more information about this vulnerability in the GSD-2022-1003922 entry of the GSD Database at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003922.json.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.