Description
In the Linux kernel, the following vulnerability has been resolved: pds_core: quiesce DMA before freeing resources pdsc_teardown() frees DMA buffers but does not disable bus mastering, leaving the device able to perform DMA after the buffers are freed. This can lead to use-after-free if the device writes to freed memory. Add pci_clear_master() to pdsc_teardown() to disable bus mastering before freeing resources, ensuring all DMA is quiesced. Add pci_set_master() to pdsc_setup() to re-enable bus mastering, which is needed for the firmware recovery path since pdsc_teardown() now disables it.
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
45d76f492938cdc27ddadc16e1e75103f4cfbf56 to < 84fc3f30b87e06a11d1807cd385603522610ed40affected45d76f492938cdc27ddadc16e1e75103f4cfbf56 to < cc8beb70e70fc90e54efdbc1128cf7de799e6be4affected45d76f492938cdc27ddadc16e1e75103f4cfbf56 to < 9eee6b90bee3df496ed9094d9e76d5e478d72d0aaffected45d76f492938cdc27ddadc16e1e75103f4cfbf56 to < 6443f4f20bdae726fe01cf5946fba9742a0ffda6affected
Linux Linux
Default version status: affected
6.4affected0 to < 6.4unaffected6.6.160 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2 to ≤ *unaffected