CVE-2022-50391

mm/mempolicy: fix memory leak in set_mempolicy_home_node system call

MEDIUM
5.5
CVSS Score
Published: September 18, 2025 at 01:33 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.17 ≤ v < 6.0.175.17 ≤ v < 6.1.35.17 ≤ v < 6.26.1 ≤ v < 6.1.35.17c6018b4b254971863bd0ad36bb5e7d0fa0f0ddb0
Vendor states this is fixed in 0ce4cc6d269ddc448a825955b495f662f5d9e153 (fixed)
Vendor states this is fixed in 38ce7c9bdfc228c14d7621ba36d3eebedd9d4f76 (fixed)
Vendor states this is fixed in 4ca0eb6b2f3add8c5daefb726ce57dc95d103d33 (fixed)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 6.0.17 (unaffected)
Vendor states this is fixed in 6.1.3 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card