What’s Vulnerable › Vulnerabilities
CVE-2022-50391: mm/mempolicy: fix memory leak in set_mempolicy_home_node system call
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-18 · updated 2026-06-17
- Weakness: CWE-401
Description
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 products
- Linux kernel: from 5.17 before 6.0.17; from 6.1 before 6.1.3 — fixed in 6.0.17, 6.1.3
How to fix
Upgrade to a fixed version: Linux kernel 6.0.17, 6.1.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0ce4cc6d269ddc448a825955b495f662f5d9e153
- https://git.kernel.org/stable/c/38ce7c9bdfc228c14d7621ba36d3eebedd9d4f76
- https://git.kernel.org/stable/c/4ca0eb6b2f3add8c5daefb726ce57dc95d103d33
Get alerted when CVE-2022-50391 or the next vulnerability affects your stack