CVE-2022-50391

published 18 Sep 2025 · updated 11 May 2026

mm/mempolicy: fix memory leak in set_mempolicy_home_node system call

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0ce4cc6d269ddc448a825955b495f662f5d9e153, Kernel 38ce7c9bdfc228c14d7621ba36d3eebedd9d4f76 and Kernel 4ca0eb6b2f3add8c5daefb726ce57dc95d103d33.

In the Linux kernel, the following vulnerability has been resolved: mm/mempolicy: fix memory leak in set_mempolicy_home_node system call When encountering any vma in the range with policy other than MPOL_BIND or MPOL_PREFERRED_MANY, an error is returned without issuing a mpol_put on the policy just allocated with mpol_dup(). This allows arbitrary users to leak kernel memory.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.17, >=c6018b4b254971863bd0ad36bb5e7d0fa0f0ddb0 <0ce4cc6d269ddc448a825955b495f662f5d9e153, >=c6018b4b254971863bd0ad36bb5e7d0fa0f0ddb0 <38ce7c9bdfc228c14d7621ba36d3eebedd9d4f76, >=c6018b4b254971863bd0ad36bb5e7d0fa0f0ddb0 <4ca0eb6b2f3add8c5daefb726ce57dc95d103d330ce4cc6d269ddc448a825955b495f662f5d9e153, 38ce7c9bdfc228c14d7621ba36d3eebedd9d4f76, 4ca0eb6b2f3add8c5daefb726ce57dc95d103d33

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50391 severity on Zeptric[![CVE-2022-50391](https://zeptric.io/badge/cve/CVE-2022-50391.svg)](https://zeptric.io/cve/CVE-2022-50391)