CVE-2026-97412: pds_core: quiesce DMA before freeing resources
From: Greg Kroah-Hartman <[email protected]>
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.
The Linux kernel CVE team has assigned CVE-2026-97412 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.111 with commit cc8beb70e70fc90e54efdbc1128cf7de799e6be4 Fixed in 6.18.53 with commit 9eee6b90bee3df496ed9094d9e76d5e478d72d0a Fixed in 7.2 with commit 6443f4f20bdae726fe01cf5946fba9742a0ffda6
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-97412
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ethernet/amd/pds_core/core.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/cc8beb70e70fc90e54efdbc1128cf7de799e6be4 https://git.kernel.org/stable/c/9eee6b90bee3df496ed9094d9e76d5e478d72d0a https://git.kernel.org/stable/c/6443f4f20bdae726fe01cf5946fba9742a0ffda6