Uninitialized Value in mpol_rebind_policy() in Kernel

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004660: mm/mempolicy: fix uninit-value in mpol_rebind_policy(). Affects Kernel versions < a1f8765f68bc9bf5744b365bb9f5e0b6db93edfe. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a critical component of the Linux operating system that manages system resources and provides an interface between hardware and software. It is responsible for memory management, process scheduling, device drivers, and other essential functions. The mpol_rebind_policy() function in the mm/mempolicy module is used to rebind a memory policy to a new node. However, a vulnerability exists in this function that allows uninitialized values to be used, potentially leading to memory corruption or information disclosure.

Vulnerability Detail

The vulnerability in mpol_rebind_policy() arises from the use of uninitialized values. When certain conditions are met, the function fails to properly initialize a variable before using it, leading to unpredictable behavior. An attacker could potentially exploit this vulnerability to manipulate memory contents, crash the system, or obtain sensitive information. The impact and attack plausibility of this vulnerability have not been proven, but it is considered a security risk.

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. The recommended approach is to update the Kernel to the fixed version.

Conclusion

The vulnerability in mpol_rebind_policy() in the Kernel could potentially lead to memory corruption, system crashes, or information disclosure. It is crucial to update the Kernel to the fixed version (v5.4.208 or later) to mitigate this vulnerability. Regularly updating the Kernel is recommended to stay protected against the latest security threats. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially include memory corruption, system crashes, or information disclosure.

You can use tools like Vulert to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities.

There is no known exploit for this vulnerability at the moment. However, it is still considered a security risk and should be addressed by updating the Kernel.

The vulnerability is present in versions prior to v5.4.208. It has been fixed in the mentioned version, so updating to that version or later will address the vulnerability.

Yes, it is recommended to restart the system after updating the Kernel to ensure the changes take effect.

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