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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **Published:** 2024-08-17T09:08:44.694Z
- **Modified:** 2026-10-15T01:18:45.217Z

## Who should check

- Anyone running Linux \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< 3f8ec1d6b0ebd8268307d52be8301973fa5a01ec; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< be23ae63080e0bf9e246ab20207200bca6585eba; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< 7cc1f4cd90a00b6191cb8cda2d1302fdce59361c; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< d135c3352f7c947a922da93c8e763ee6bc208b64; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< 77848b379e9f85a08048a2c8b3b4a7e8396f5f83; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< 70100fe721840bf6d8e5abd25b8bffe4d2e049b7; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< c31fad1470389666ac7169fe43aa65bf5b7e2cfd
- Anyone running Linux 5.2

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

## Affected and fixed versions

- Linux: \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< 3f8ec1d6b0ebd8268307d52be8301973fa5a01ec; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< be23ae63080e0bf9e246ab20207200bca6585eba; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< 7cc1f4cd90a00b6191cb8cda2d1302fdce59361c; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< d135c3352f7c947a922da93c8e763ee6bc208b64; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< 77848b379e9f85a08048a2c8b3b4a7e8396f5f83; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< 70100fe721840bf6d8e5abd25b8bffe4d2e049b7; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< c31fad1470389666ac7169fe43aa65bf5b7e2cfd (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-42276. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42276.md
Affected: Linux >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < 3f8ec1d6b0ebd8268307d52be8301973fa5a01ec; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < be23ae63080e0bf9e246ab20207200bca6585eba; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < 7cc1f4cd90a00b6191cb8cda2d1302fdce59361c; >= 4aedb705437f6f98b45f45c…
Fixed in: Linux 3f8ec1d6b0ebd8268307d52be8301973fa5a01ec, Linux 7cc1f4cd90a00b6191cb8cda2d1302fdce59361c, Linux 77848b379e9f85a08048a2c8b3b4a7e8396f5f83, Linux 70100fe721840bf6d8e5abd25b8bffe4d2e049b7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-42276 being exploited?

There is no confirmed exploitation: CVE-2024-42276 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-42276?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-42276?

Linux \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< 3f8ec1d6b0ebd8268307d52be8301973fa5a01ec; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< be23ae63080e0bf9e246ab20207200bca6585eba; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< 7cc1f4cd90a00b6191cb8cda2d1302fdce59361c; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< d135c3352f7c947a922da93c8e763ee6bc208b64; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< 77848b379e9f85a08048a2c8b3b4a7e8396f5f83; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< 70100fe721840bf6d8e5abd25b8bffe4d2e049b7; \>= 4aedb705437f6f98b45f45c394e6803ca67abd33, \< c31fad1470389666ac7169fe43aa65bf5b7e2cfd; Linux 5.2.

### Is there a fix for CVE-2024-42276?

Yes. Fixed in Linux 3f8ec1d6b0ebd8268307d52be8301973fa5a01ec, Linux 7cc1f4cd90a00b6191cb8cda2d1302fdce59361c, Linux 77848b379e9f85a08048a2c8b3b4a7e8396f5f83, Linux 70100fe721840bf6d8e5abd25b8bffe4d2e049b7. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-42276?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3f8ec1d6b0ebd8268307d52be8301973fa5a01ec>
- patch: <https://git.kernel.org/stable/c/be23ae63080e0bf9e246ab20207200bca6585eba>
- patch: <https://git.kernel.org/stable/c/7cc1f4cd90a00b6191cb8cda2d1302fdce59361c>
- patch: <https://git.kernel.org/stable/c/d135c3352f7c947a922da93c8e763ee6bc208b64>
- patch: <https://git.kernel.org/stable/c/77848b379e9f85a08048a2c8b3b4a7e8396f5f83>
- patch: <https://git.kernel.org/stable/c/70100fe721840bf6d8e5abd25b8bffe4d2e049b7>
- patch: <https://git.kernel.org/stable/c/c31fad1470389666ac7169fe43aa65bf5b7e2cfd>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-42276>

HTML: <https://flawdb.com/CVE-2024-42276> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-42276>
