Vulnerability in mm/mempolicy Package: mpol_new Leak in shared_policy_replace
Summary
GSD-2022-1001352: mm/mempolicy: fix mpol_new leak in shared_policy_replace. Affects Kernel versions >= 42288fe366c4f1ce7522bc9f27d0bc2a81c55264, < 6e00309ac716fa8225f0cbde2cd9c24f0e74ee21. 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 mm/mempolicy package is a component of the Linux Kernel, which is responsible for managing memory policies in the system. It provides functionality for setting and retrieving memory policies for processes and memory ranges. The shared_policy_replace function in this package is vulnerable to a memory leak issue.
Vulnerability Detail
The vulnerability, identified as GSD-2022-1001352, originates from a memory leak in the shared_policy_replace function of the mm/mempolicy package. This issue was introduced in version v3.8 of the Linux Kernel and has been fixed in version v5.16.20. The vulnerability allows an attacker to cause a memory leak, potentially leading to resource exhaustion and denial of service attacks. The impact and attack plausibility of this vulnerability have not been proven yet.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.20 or later. This update includes the commit 6e00309ac716fa8225f0cbde2cd9c24f0e74ee21, which addresses the memory leak issue in the shared_policy_replace function.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
No workaround has been provided for this vulnerability.
Conclusion
The mm/mempolicy package in the Linux Kernel is vulnerable to a memory leak issue in the shared_policy_replace function. To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v5.16.20 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The mm/mempolicy package is a component of the Linux Kernel that manages memory policies in the system.
The vulnerability can lead to resource exhaustion and denial of service attacks.
To fix this vulnerability, update the Linux Kernel to version v5.16.20 or later.
This vulnerability was introduced in version v3.8 of the Linux Kernel.
The impact and attack plausibility of this vulnerability have not been proven yet.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.