CVE-2026-68201
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 37745918e0e7575bc40f38da93a99b9fa6406224 < cd461bcfcdf8d6b6b5365941c1d3859f8bc77aa0 | affected |
| Linux | Linux | 37745918e0e7575bc40f38da93a99b9fa6406224 < 426c0ff1c433d6030610ad4f9375746dfe931caa | affected |
| Linux | Linux | 37745918e0e7575bc40f38da93a99b9fa6406224 < 2b298997786876b225cff2446e11a0fa6f602f6d | affected |
| Linux | Linux | 37745918e0e7575bc40f38da93a99b9fa6406224 < bdefe1346a8e6b8dc8593406dc2617e985fcbcab | affected |
| Linux | Linux | 6.12 | affected |
| Linux | Linux | 0 < 6.12 | unaffected |
| Linux | Linux | 6.12.101 <= 6.12.* | unaffected |
| Linux | Linux | 6.18.42 <= 6.18.* | unaffected |
| Linux | Linux | 7.1.6 <= 7.1.* | unaffected |
| Linux | Linux | 7.2-rc5 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/cd461bcfcdf8d6b6b5365941c1d3859f8bc77aa0
- https://git.kernel.org/stable/c/426c0ff1c433d6030610ad4f9375746dfe931caa
- https://git.kernel.org/stable/c/2b298997786876b225cff2446e11a0fa6f602f6d
- https://git.kernel.org/stable/c/bdefe1346a8e6b8dc8593406dc2617e985fcbcab
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.