pds_core: quiesce DMA before freeing resources
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6443f4f20bdae726fe01cf5946fba9742a0ffda6, Kernel 84fc3f30b87e06a11d1807cd385603522610ed40, Kernel 9eee6b90bee3df496ed9094d9e76d5e478d72d0a and 1 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.4, >=45d76f492938cdc27ddadc16e1e75103f4cfbf56 <6443f4f20bdae726fe01cf5946fba9742a0ffda6, >=45d76f492938cdc27ddadc16e1e75103f4cfbf56 <84fc3f30b87e06a11d1807cd385603522610ed40, >=45d76f492938cdc27ddadc16e1e75103f4cfbf56 <9eee6b90bee3df496ed9094d9e76d5e478d72d0a, >=45d76f492938cdc27ddadc16e1e75103f4cfbf56 <cc8beb70e70fc90e54efdbc1128cf7de799e6be4 | 6443f4f20bdae726fe01cf5946fba9742a0ffda6, 84fc3f30b87e06a11d1807cd385603522610ed40, 9eee6b90bee3df496ed9094d9e76d5e478d72d0a, cc8beb70e70fc90e54efdbc1128cf7de799e6be4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket