nvme-pci: fix dma mapping leak on data setup error
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1bf86336e4b6cf40873fda47a7fe191446864937, Kernel e50db059ec8e63bc50b1cc039e2502cb5ea75a70 and Kernel fba32257979dda14b0d8ed7402490ae0be44972a.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.17, >=7ce3c1dd78fca86ea8b9aee370db10c7a8cfc3c2 <1bf86336e4b6cf40873fda47a7fe191446864937, >=7ce3c1dd78fca86ea8b9aee370db10c7a8cfc3c2 <e50db059ec8e63bc50b1cc039e2502cb5ea75a70, >=7ce3c1dd78fca86ea8b9aee370db10c7a8cfc3c2 <fba32257979dda14b0d8ed7402490ae0be44972a | 1bf86336e4b6cf40873fda47a7fe191446864937, e50db059ec8e63bc50b1cc039e2502cb5ea75a70, fba32257979dda14b0d8ed7402490ae0be44972a |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket