nvme-pci: fix dma mapping leak on data setup error
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.57, 7.0.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: nvme-pci: fix dma mapping leak on data setup error We're leaking the initial DMA mapping during iteration if we fail to allocate the tracking descriptor for both PRP and SGL. Unmap the iterator directly; we can't use the existing unmap helper because it depends on the tracking descriptor being successfully allocated, so a new one for an in-use iterator is provided. The mappings were also leaking when the driver detects an invalid bio_vec when mapping PRPs, so fix that too.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 7ce3c1dd78fca86ea8b9aee370db10c7a8cfc3c2 · fixed in fba32257979dda14b0d8ed7402490ae0be44972a; From 7ce3c1dd78fca86ea8b9aee370db10c7a8cfc3c2 · fixed in e50db059ec8e63bc50b1cc039e2502cb5ea75a70; From 7ce3c1dd78fca86ea8b9aee370db10c7a8cfc3c2 · fixed in 1bf86336e4b6cf40873fda47a7fe191446864937
- Linux Linux
6.17
- KernelLinux
From 6.17.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.0.11