CVE-2026-139676

ASoC: SOF: amd: fix amd_sof_acp_remove() teardown ordering

Published Nov 30, 2026 CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ASoC: SOF: amd: fix amd_sof_acp_remove() teardown ordering

Call free_irq() before amd_sof_sdw_exit() in amd_sof_acp_remove().
amd_sof_sdw_exit() sets adata->sdw to NULL; if an IRQ fires between
that point and the subsequent free_irq(), acp_irq_handler() may
dereference the now-NULL pdev[] pointer, causing a use-after-free.

Analysis

AI-generated

Technical impact

In the Linux kernel, the advance sound architecture driver for AMD SoC devices contains a flaw in the removal routine for the Sound Open Firmware audio controller. The routine calls amd_sof_sdw_exit() before freeing the IRQ line, which clears a pointer that the interrupt handler still references. If an interrupt fires after the pointer is NULL but before free_irq() runs, the handler dereferences the invalid pointer, leading to a kernel crash. This is a classic use‑after‑free condition that can crash the system when a hardware interrupt occurs.

Affected Systems

The flaw affects any Linux kernel that includes the SOF driver for AMD SoC hardware, including the stock kernels maintained by the Linux Foundation and versions bundled with distributions that ship the SOF component for AMD devices. Operating systems based on those kernels and running on AMD hardware with the SOF module enabled are potentially vulnerable.

Risk and Exploitability

The vulnerability requires a hardware interrupt to trigger the fault, making it a local or physical attack vector. No publicly available exploit code exists for this vulnerability, and it is not listed in CISA’s KEV catalog. Nonetheless, a use‑after‑free in a privileged kernel module has a high potential impact: it can crash the system and could be leveraged by an attacker with local privilege to interrupt critical processes. The EPSS score is not available, and the CVSS score is not available in the supplied data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update your Linux kernel to a version that includes the fix for amd_sof_acp_remove teardown ordering.
  • Restart the system so the updated kernel loads.
  • If the system does not use AMD SoC audio, disable the SOF module by creating /etc/modprobe.d/disable-sof.conf with the line "blacklist sof".

Generated by OpenCVE AI on December 1, 2026 at 16:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: amd: fix amd_sof_acp_remove() teardown ordering Call free_irq() before amd_sof_sdw_exit() in amd_sof_acp_remove(). amd_sof_sdw_exit() sets adata->sdw to NULL; if an IRQ fires between that point and the subsequent free_irq(), acp_irq_handler() may dereference the now-NULL pdev[] pointer, causing a use-after-free.
Title ASoC: SOF: amd: fix amd_sof_acp_remove() teardown ordering
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:36 PM