CVE-2026-23174
JSON

Not scored

nvme-pci: handle changing device dma map requirements

Severity
Not scored
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: nvme-pci: manejar los requisitos cambiantes del mapa dma del dispositivo El estado inicial de dma_needs_unmap puede ser falso, pero cambiar a verdadero mientras se mapea el iterador de datos. Habilitar swiotlb es uno de esos casos que puede cambiar el resultado. El controlador nvme necesita guardar los vectores dma mapeados para ser desmapeados más tarde, así que asignar según sea necesario durante la iteración en lugar de asumir que siempre fue asignado al principio. Esto corrige una desreferencia NULL al acceder a un dma_vecs no inicializado cuando los requisitos de desmapeo dma del dispositivo cambian a mitad de la iteración.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23174 changed 2026-05-11CVE Terms of Use
NVDCVE-2026-23174 changed 2026-06-17Public domain