CVE-2022-50391

mm/mempolicy: fix memory leak in set_mempolicy_home_node system call

Medium · published September 18, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
4.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00157 · 4.5th percentile
Published
2025-09-18T13:33Z
EPSS history
Timeline
  • 18 SEP 13:33Z
    mm/mempolicy: fix memory leak in set_mempolicy_home_node system call
    cvelistv5