False Positive kmemleak Report in x86/pm

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003629: x86/pm: Fix false positive kmemleak report in msr_build_context(). Affects Kernel versions >= 7a9c2dd08eadd5c6943115dbbec040c38d2e0822, < b6ecf2b7e691eed248290e3dfec22d3093c44e0c. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 power-related operations. The package is an integral part of the Linux Kernel and is widely used in various Linux distributions.

Vulnerability Detail

The vulnerability in x86/pm is related to 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 kmemleak tool incorrectly reports a memory leak in this function, even though there is no actual memory leak. This false positive report can lead to unnecessary investigation and potential waste of resources.

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 for this vulnerability as it is a false positive report. However, users can ignore the kmemleak report in msr_build_context() if they are aware of this issue and have confirmed that there is no actual memory leak. This can be done by configuring the kmemleak tool to exclude the msr_build_context() function from its analysis.

Conclusion

The false positive kmemleak report in x86/pm's msr_build_context() function can lead to unnecessary investigation and waste of resources. It has been fixed in Linux Kernel version v5.10.121. Users are advised to update their Linux Kernel to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is minimal as it is a false positive report. However, it can lead to unnecessary investigation and waste of resources if not properly addressed.

This vulnerability was discovered through code analysis and testing, specifically using the kmemleak tool that detects memory leaks in the Linux Kernel.

No, only versions starting from v4.5 are affected. The vulnerability has been fixed in Linux Kernel version v5.10.121.

No, there is no known exploit for this vulnerability as it is a false positive report and does not represent an actual security issue.

No, this vulnerability cannot be exploited remotely as it is a false positive report and does not represent an actual security issue.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback