CVE-2022-50147

mm/mempolicy: fix get_nodes out of bound access

HIGH
7.1
CVSS Score
Published: June 18, 2025 at 11:03 AM UTC
Updated: June 17, 2026 at 05:22 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
HIGH7.1
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: mm/mempolicy: fix get_nodes out of bound access When user specified more nodes than supported, get_nodes will access nmask array out of bounds.

Affected

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

5.15 ≤ v < 5.15.615.15 ≤ v < 5.18.185.15 ≤ v < 5.19.25.15 ≤ v < 6.05.16 ≤ v < 5.18.185.19 ≤ v < 5.19.25.15e130242dc351f1cfa2bbeb6766a1486ce936ef88
Vendor states this is fixed in 000eca5d044d1ee23b4ca311793cf3fc528da6c6 (fixed)
Vendor states this is fixed in 44652154484e7e3d12008802cfb6c28a8aa16d85 (fixed)
Vendor states this is fixed in 8176f6a0d9c1b06bc7af7c3d6acd4a66448939df (fixed)
Vendor states this is fixed in d1b5113674c3e95bb53c601ce2ea4719e851c74d (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.61 (unaffected)
Vendor states this is fixed in 5.18.18 (unaffected)
Vendor states this is fixed in 5.19.2 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/000eca5d044d1ee23b4ca311793cf3fc528da6c6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/44652154484e7e3d12008802cfb6c28a8aa16d85
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8176f6a0d9c1b06bc7af7c3d6acd4a66448939df
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d1b5113674c3e95bb53c601ce2ea4719e851c74d

CVSS

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

Quick Info

StatusANALYZED
CWE
CWE-125

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