CVE-2026-139453

ALSA: hda: Stop unsol events and jack polling before codec unbind

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

ALSA: hda: Stop unsol events and jack polling before codec unbind

At unbinding a codec driver, hda_codec_driver_remove() calls the
codec's remove callback that releases the driver resources, followed
by snd_hda_codec_cleanup_for_unbind(). Meanwhile, the unsolicited
events are processed asynchronously in bus->unsol_work, and
snd_hdac_bus_process_unsol_events() checks only codec->registered flag
before calling the driver's unsol_event callback without the lock.
Since codec->registered is cleared only in
snd_hda_codec_cleanup_for_unbind(), and there is no flush of the unsol
work at unbinding, the unsol event handler may run concurrently during
the running remove callback, which may lead to a UAF. The same
problem applies to the jack polling work, which is canceled only after
the remove callback.

For addressing those races, introduce a new flag unsol_disabled to
hdac_device, to be checked it in the unsol event worker, while a new
helper snd_hdac_device_disable_unsol() sets this flag and flushes the
pending unsol work. The helper is called at hda_codec_driver_remove()
together with the cancel of jackpoll_work to assure that no
asynchronous jack handling can run. The flag is cleared again at
probing the codec driver, while the events are still blocked by the
registered flag until the codec gets registered.

Analysis

AI-generated

Technical impact

The vulnerability arises when the ALSA hda codec driver is removed while asynchronous unsolicited events and jack polling work still process callbacks. Because the codec's registered flag is cleared only after cleanup and unsol work is not flushed, the unsol event handler may run concurrently, resulting in a use‑after‑free. An attacker might trigger memory corruption that could lead to denial of service or arbitrary code execution. This weakness is categorized as Use‑After‑Free (CWE‑416).

Affected Systems

The issue affects the Linux kernel's ALSA hda subsystem across all distributions that ship the sampled driver code. It is present in kernel versions that have not applied the commit d4e76b7b6f533462280cdfa9a3e5e2213ea42c42. No specific vendor/product names beyond the generic Linux kernel are enumerated, so all kernels running the vulnerable module are impacted unless patched.

Risk and Exploitability

Exploitation of this race condition would need to coordinate the timing of codec driver removal with the execution of unsolicited event processing. The description indicates that concurrent unsol events and jack polling can lead to a use‑after‑free, which suggests that an attacker would require a mechanism to trigger unsolicited codec events while holding local privilege or having a trusted user‑space process. This requirement is inferred from the fact that the race depends on asynchronous work during removal. The CVSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, so the risk is based on the severity of a use‑after‑free and the potential for denial of service or arbitrary code execution. Administrators should consider the vulnerability high severity due to the possibility of kernel memory corruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that contains the hotfix commit disabling unsolicited events during codec removal.
  • If an update is not immediately available, reboot affected hosts and restrict user‑space processes that may generate unsolicited codec events until the patch is applied.
  • Monitor system logs for evidence of unsol events or jack polling errors to detect potential pending race conditions.

Generated by OpenCVE AI on December 1, 2026 at 12:19 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: ALSA: hda: Stop unsol events and jack polling before codec unbind At unbinding a codec driver, hda_codec_driver_remove() calls the codec's remove callback that releases the driver resources, followed by snd_hda_codec_cleanup_for_unbind(). Meanwhile, the unsolicited events are processed asynchronously in bus->unsol_work, and snd_hdac_bus_process_unsol_events() checks only codec->registered flag before calling the driver's unsol_event callback without the lock. Since codec->registered is cleared only in snd_hda_codec_cleanup_for_unbind(), and there is no flush of the unsol work at unbinding, the unsol event handler may run concurrently during the running remove callback, which may lead to a UAF. The same problem applies to the jack polling work, which is canceled only after the remove callback. For addressing those races, introduce a new flag unsol_disabled to hdac_device, to be checked it in the unsol event worker, while a new helper snd_hdac_device_disable_unsol() sets this flag and flushes the pending unsol work. The helper is called at hda_codec_driver_remove() together with the cancel of jackpoll_work to assure that no asynchronous jack handling can run. The flag is cleared again at probing the codec driver, while the events are still blocked by the registered flag until the codec gets registered.
Title ALSA: hda: Stop unsol events and jack polling before codec unbind
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:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM