CVE-2024-42276
nvme-pci: add missing condition check for existence of mapped data
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < 3f8ec1d6b0ebd8268307d52be8301973fa5a01ec; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < be23ae63080e0bf9e246ab20207200bca6585eba; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < 7cc1f4cd90a00b6191cb8cda2d1302fdce59361c; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < d135c3352f7c947a922da93c8e763ee6bc208b64; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < 77848b379e9f85a08048a2c8b3b4a7e8396f5f83; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < 70100fe721840bf6d8e5abd25b8bffe4d2e049b7; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < c31fad1470389666ac7169fe43aa65bf5b7e2cfd; Linux 5.2
- Fixed in
- Linux 3f8ec1d6b0ebd8268307d52be8301973fa5a01ec, Linux 7cc1f4cd90a00b6191cb8cda2d1302fdce59361c, Linux 77848b379e9f85a08048a2c8b3b4a7e8396f5f83, Linux 70100fe721840bf6d8e5abd25b8bffe4d2e049b7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < 3f8ec1d6b0ebd8268307d52be8301973fa5a01ec; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < be23ae63080e0bf9e246ab20207200bca6585eba; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < 7cc1f4cd90a00b6191cb8cda2d1302fdce59361c; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < d135c3352f7c947a922da93c8e763ee6bc208b64; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < 77848b379e9f85a08048a2c8b3b4a7e8396f5f83; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < 70100fe721840bf6d8e5abd25b8bffe4d2e049b7; >= 4aedb705437f6f98b45f45c394e6803ca67abd33, < c31fad1470389666ac7169fe43aa65bf5b7e2cfd | — | cvelist |
| Linux | 5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- 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
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.