Vulnerability in Kernel: mm/mempolicy: fix mpol_new leak in shared_policy_replace

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001007: mm/mempolicy: fix mpol_new leak in shared_policy_replace. Affects Kernel versions >= 42288fe366c4f1ce7522bc9f27d0bc2a81c55264, < fe39ac59dbbf893b73b24e3184161d0bd06d6651. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as memory management, process scheduling, and device drivers. The mm/mempolicy module within the Kernel is responsible for handling memory policies and allocation. This vulnerability, identified as GSD-2022-1001007, affects the mm/mempolicy module and can potentially lead to resource leaks and memory corruption.

Vulnerability Detail

The vulnerability in the mm/mempolicy module, introduced in version v3.8 of the Linux Kernel, allows for a resource leak in the shared_policy_replace function. This can be exploited by an attacker to exhaust system resources or potentially trigger memory corruption issues. The vulnerability was fixed in version v5.17.3 of the Linux Kernel by commit fe39ac59dbbf893b73b24e3184161d0bd06d6651.

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

No specific workaround has been mentioned for this vulnerability. It is advised to apply the fix by updating the Linux Kernel to the recommended version.

Conclusion

The vulnerability in the mm/mempolicy module of the Kernel can lead to resource leaks and memory corruption. It is crucial to update the Linux Kernel to version v5.17.3 or later to mitigate this vulnerability. No specific workaround has been provided, and it is recommended to apply the fix promptly. For further support, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially lead to resource leaks and memory corruption, which may result in system instability, performance degradation, or even unauthorized access to sensitive information.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.

At the time of this report, no known exploits have been disclosed for this vulnerability. However, it is crucial to apply the recommended fix promptly to mitigate any potential risks.

The exact exploitability of this vulnerability depends on various factors, including system configuration and network accessibility. However, in general, remote exploitation is possible if an attacker can establish a connection to the affected system.

For further assistance or support in addressing this vulnerability, you can reach out to info@devnack.com. Our team of experts can provide guidance and recommendations tailored to your specific environment.

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