Description
In the Linux kernel, the following vulnerability has been resolved: nvme-pci: release descriptor pools on probe failure The per-NUMA-node descriptor DMA pools are created lazily from nvme_init_hctx_common() once the admin tag set is allocated, but they are only destroyed in nvme_remove() via nvme_release_descriptor_pools(). Any probe failure after the admin tag set has been allocated unwinds through the out_disable label and nvme_pci_free_ctrl(), neither of which releases the pools, leaking the dma_pool objects. Release the descriptor pools in the out_disable error path. It must not be added to nvme_pci_free_ctrl(), as that would double-free against nvme_remove() on the normal teardown path.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
d977506f8863807129d7a11f4057dfb1b38085ea to < c25b6b28a35f9e36ce5dd6da5905bcddb2128707affectedd977506f8863807129d7a11f4057dfb1b38085ea to < 79fb405966edb5065234440d94cc75bfd7b01f41affectedd977506f8863807129d7a11f4057dfb1b38085ea to < cb144c2f67128abfa5c7ba33318617d19f192156affected
Linux Linux
Default version status: affected
6.16affected0 to < 6.16unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected