CVE-2022-50391

MEDIUM

Linux Kernel 5.17-5.17, <6.0.17, 6.1.0-6.1.3 - Use-After-Free in set_mempolicy_home_node

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0014
EPSS Percentile 3.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401
Status published
Products (11)
linux/Kernel 5.17.0 - 6.0.17linux
linux/Kernel 6.1.0 - 6.1.3linux
Linux/Linux < 5.17
Linux/Linux 5.17
Linux/Linux 6.0.17 - 6.0.*
Linux/Linux 6.1.3 - 6.1.*
Linux/Linux 6.2
Linux/Linux c6018b4b254971863bd0ad36bb5e7d0fa0f0ddb0 - 0ce4cc6d269ddc448a825955b495f662f5d9e153
Linux/Linux c6018b4b254971863bd0ad36bb5e7d0fa0f0ddb0 - 38ce7c9bdfc228c14d7621ba36d3eebedd9d4f76
Linux/Linux c6018b4b254971863bd0ad36bb5e7d0fa0f0ddb0 - 4ca0eb6b2f3add8c5daefb726ce57dc95d103d33
... and 1 more
Published Sep 18, 2025
Tracked Since Feb 18, 2026