CVE-2026-139531

ASoC: rt722-sdca: always cancel jack work on remove

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

ASoC: rt722-sdca: always cancel jack work on remove

rt722_sdca_sdw_remove() cancels the jack work only when hw_init is true.
rt722_sdca_update_status() clears hw_init when the SoundWire slave
becomes unattached, but jack work may already have been queued by
rt722_sdca_interrupt_callback() or the jack initialization path.

A remove after that status update can therefore skip the cancellation and
leave delayed work pending after the codec private data has been freed.

The work objects are initialized during probe, so cancel them
unconditionally instead of relying on the mutable hw_init state.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Linux kernel's ASoC driver for the rt722 SoundWire codec. When the device is removed after the device state flag hw_init is cleared, the driver attempts to cancel its delayed work only if hw_init remains true. Because hw_init is reset earlier, work may already be queued by an interrupt or during jack initialization. Removing the codec after that update can therefore leave a queued work item that refers to codec private data that has already been freed, leading to a use‑after‑free situation. The flaw can corrupt kernel memory or, in the worst case, allow execution of arbitrary kernel code. The weakness is a classic resource‑management flaw, specifically a use‑after‑free bug.

Affected Systems

All Linux kernels containing the rt722‑sdca driver are affected. The driver is part of the Linux ASoC subsystem, so any distribution (server, desktop, or embedded) that ships a kernel before the patch—identified by the commits listed in the references—is vulnerable.

Risk and Exploitability

The CVSS score is not supplied and the EPSS is currently unavailable, but the vulnerability is not in the CISA KEV catalog. Based on the description, a trigger likely requires local or privileged access to remove the device after its state flag has been cleared. Though an exploitation path exists, based on the description, the attack surface is likely limited to physical or privileged users, resulting in a moderate to high risk for affected systems. No public exploit has been reported as of the data provided.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that includes the rt722‑sdca patch that unconditionally cancels delayed work on removal (see the commits linked in the advisory).
  • If a timely kernel upgrade is not possible, unload or disable the rt722‑sdca driver or prevent the removal of the corresponding SoundWire device to avoid queuing delayed work.
  • Apply general kernel hardening practices, such as enabling CONFIG_SCHED_WATCHDOG and monitoring dmesg for workqueue errors, to detect potential corruption early.

Generated by OpenCVE AI on December 1, 2026 at 12:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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: rt722-sdca: always cancel jack work on remove rt722_sdca_sdw_remove() cancels the jack work only when hw_init is true. rt722_sdca_update_status() clears hw_init when the SoundWire slave becomes unattached, but jack work may already have been queued by rt722_sdca_interrupt_callback() or the jack initialization path. A remove after that status update can therefore skip the cancellation and leave delayed work pending after the codec private data has been freed. The work objects are initialized during probe, so cancel them unconditionally instead of relying on the mutable hw_init state.
Title ASoC: rt722-sdca: always cancel jack work on remove
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:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM