Bug 2513481 (CVE-2026-68201) - CVE-2026-68201 kernel: ALSA: timer: drain a slave's callback before its master detaches it
Summary: CVE-2026-68201 kernel: ALSA: timer: drain a slave's callback before its maste...
Keywords:
Status: NEW
Alias: CVE-2026-68201
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-10 12:39 UTC by OSIDB Bzimport
Modified: 2026-08-14 12:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-10 12:39:47 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-08-11 07:47:55 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026081011-CVE-2026-68201-df47@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.