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.
Published: 2026-09-24
Score: n/a
EPSS: n/a
KEV: No
Impact: Kernel use‑after‑free that can lead to memory corruption and arbitrary code execution
Action: Apply Patch
AI Analysis

Impact

The flaw resides in the pds_core driver where its teardown routine frees DMA buffers while leaving bus mastering enabled, allowing the device to write to freed memory. This results in a classic use‑after‑free condition that can corrupt kernel memory and serve as a foothold for executing arbitrary code with ring‑0 privileges.

Affected Systems

All Linux kernel variants that incorporate the pds_core driver before the commit adding pci_clear_master() to pdsc_teardown() and pci_set_master() to pdsc_setup() are affected. Kernels that have not been updated to include these changes remain vulnerable until patched.

Risk and Exploitability

No CVSS score or EPSS information is available, but the vulnerability is a kernel‑level use‑after‑free with an undefined but potentially high likelihood of exploitation. Based on the description, attackers with control over the device or a malicious driver could trigger the flaw, causing memory corruption that can be leveraged for privileged code execution. The vulnerability is not listed in the CISA KEV catalog at this time.

Generated by OpenCVE AI on September 25, 2026 at 05:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the commit adding pci_clear_master() in pdsc_teardown() and pci_set_master() in pdsc_setup() so that bus mastering is disabled before DMA buffers are freed
  • If a kernel upgrade is not immediately possible, restrict the physical device to trusted users and prevent unauthorized kernel modules from interacting with it
  • Configure the system to log and audit DMA activity to detect anomalous writes to memory and respond to potential exploitation attempts

Generated by OpenCVE AI on September 25, 2026 at 05:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 05:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title pds_core: quiesce DMA before freeing resources
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-24T16:03:19.355Z

Reserved: 2026-09-24T14:53:16.867Z

Link: CVE-2026-97412

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T17:17:18.847

Modified: 2026-09-24T17:17:18.847

Link: CVE-2026-97412

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T05:15:17Z

Weaknesses