Description
In the Linux kernel, the following vulnerability has been resolved:

ALSA: timer: drain a slave's callback before its master detaches it

snd_timer_close_locked() drains the closing instance's own in-flight
callback (IFLG_CALLBACK) before freeing it, but not its slaves'. When a
master instance is closed, remove_slave_links() clears each slave's
->timer; the slave's own close then reads timer == NULL and takes the
branch that skips the drain entirely (snd_timer_stop_slave() also no-ops
on a NULL timer). So a slave whose callback is still running when the
master is closed is freed underneath the live callback, leading to
use-after-free.

Drain the slaves too before remove_slave_links() severs them.
snd_timer_stop() has already taken this instance off the active list, so
no new slave callback can be queued. Take the slaves off the ack list so
a pending one can't fire either, then wait for any that is already in
flight.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The defect occurs in the ALSA timer subsystem of the Linux kernel. When a master timer instance closes, its closing function drains the master’s own callback but not those of its slave instances. The slave instance, still running a callback when the master detaches it, is freed while the callback continues, causing a use‑after‑free. In kernel space this can corrupt kernel memory or allow execution of arbitrary code with elevated privileges.

Affected Systems

The vulnerability is confined to the Linux operating system. No specific kernel versions are listed in the advisory; therefore, any kernel build containing the ALSA timer code before the patch that introduces commit 2b298997 (and related commits) is potentially affected. Users of recent kernel releases should verify that the patch has been incorporated into their current kernel version.

Risk and Exploitability

The CVSS score is not provided and EPSS is unavailable, and the flaw is not listed in CISA’s KEV catalog, indicating no widespread exploitation to date. Nevertheless, a use‑after‑free in a privileged context is severe, providing local privilege escalation or remote code execution if the attacker can trigger ALSA timer operations, such as through a malicious user‑space program or compromised process. No public exploit is known, but the risk remains high, and the flaw should be treated with urgency.

Generated by OpenCVE AI on August 10, 2026 at 14:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest kernel update that includes the ALSA timer use‑after‑free fix referenced by the commit history
  • Reboot the system to ensure the patched kernel is active
  • After reboot, verify that ALSA timer operations no longer trigger crashes or memory corruption
  • Until the patch is applied or the kernel is rebooted, restrict or disable ALSA timer modules to prevent creation of timer instances by untrusted users

Generated by OpenCVE AI on August 10, 2026 at 14:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ALSA: timer: drain a slave's callback before its master detaches it snd_timer_close_locked() drains the closing instance's own in-flight callback (IFLG_CALLBACK) before freeing it, but not its slaves'. When a master instance is closed, remove_slave_links() clears each slave's ->timer; the slave's own close then reads timer == NULL and takes the branch that skips the drain entirely (snd_timer_stop_slave() also no-ops on a NULL timer). So a slave whose callback is still running when the master is closed is freed underneath the live callback, leading to use-after-free. Drain the slaves too before remove_slave_links() severs them. snd_timer_stop() has already taken this instance off the active list, so no new slave callback can be queued. Take the slaves off the ack list so a pending one can't fire either, then wait for any that is already in flight.
Title ALSA: timer: drain a slave's callback before its master detaches it
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-08-10T12:00:20.280Z

Reserved: 2026-07-30T09:28:09.374Z

Link: CVE-2026-68201

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T14:30:04Z

Weaknesses