# CVE-2026-23174: nvme-pci: handle changing device dma map requirements

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-02-14T16:27:07.421Z
- Modified: 2026-06-17T10:21:02.370Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

nvme-pci: handle changing device dma map requirements

The initial state of dma_needs_unmap may be false, but change to true
while mapping the data iterator. Enabling swiotlb is one such case that
can change the result. The nvme driver needs to save the mapped dma
vectors to be unmapped later, so allocate as needed during iteration
rather than assume it was always allocated at the beginning. This fixes
a NULL dereference from accessing an uninitialized dma_vecs when the
device dma unmapping requirements change mid-iteration.

(As written by CVE List.)

## Affected

- Linux Linux: from b8b7570a7ec872f2a27b775c4f8710ca8a357adf before f3ed399e9aa6f36e92d2d0fe88b387915e9705fe; from b8b7570a7ec872f2a27b775c4f8710ca8a357adf before 071be3b0b6575d45be9df9c5b612f5882bfc5e88; 6.17 (not affected: before 6.17; from 6.18.10 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/f3ed399e9aa6f36e92d2d0fe88b387915e9705fe>
- <https://git.kernel.org/stable/c/071be3b0b6575d45be9df9c5b612f5882bfc5e88>

## Sources

- CVE List: [CVE-2026-23174](https://www.cve.org/CVERecord?id=CVE-2026-23174), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-23174](https://nvd.nist.gov/vuln/detail/CVE-2026-23174), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23174 · Whole record: https://cve.day/CVE-2026-23174.json · Rebuilt by cve.day 2026-11-25T22:59:13.905Z
