Kernel memory disclosure via node-mask misindexing
Published Jun 18, 2025 · Updated May 11, 2026
Out-of-bounds read in the Linux kernel mm/mempolicy component allows local users to disclose kernel memory or crash the system. The get_nodes function indexes nmask with maxnode divided by BITS_PER_LONG instead of indexing the last valid word, reading beyond the supplied mask. A local low-privileged user must submit an oversized NUMA node mask through a memory-policy system call; successful exploitation exposes kernel memory or crashes the system.
Summary
What happened
Out-of-bounds read in the Linux kernel mm/mempolicy component allows local users to disclose kernel memory or crash the system. The get_nodes function indexes nmask with maxnode divided by BITS_PER_LONG instead of indexing the last valid word, reading beyond the supplied mask. A local low-privileged user must submit an oversized NUMA node mask through a memory-policy system call; successful exploitation exposes kernel memory or crashes the system.
The record
- CVE
- CVE-2022-50147
- Published
- Jun 18, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.15
- Affected versionversion=e130242dc351f1cfa2bbeb6766a1486ce936ef88 <000eca5d044d1ee23b4ca311793cf3fc528da6c6
- Affected versionversion=e130242dc351f1cfa2bbeb6766a1486ce936ef88 <44652154484e7e3d12008802cfb6c28a8aa16d85
- Affected versionversion=e130242dc351f1cfa2bbeb6766a1486ce936ef88 <8176f6a0d9c1b06bc7af7c3d6acd4a66448939df
- Affected versionversion=e130242dc351f1cfa2bbeb6766a1486ce936ef88 <d1b5113674c3e95bb53c601ce2ea4719e851c74d
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo