PT-2026-163313
CVE-2026-139272
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
ALSA: aloop: Keep the timer source alive until card release
The timer source string must remain valid while PCM opens can select
and parse it. loopback set timer source() allocates the string with
parent-device devres, which can release it while the card is still
registered.
A successful nonempty proc replacement after snd card register() adds
the string allocation after trigger card free. Unbinding the platform
device while snd aloop remains loaded releases devres in reverse order.
An open for an unused cable can run after the string is freed and before
the card-free action disconnects the card:
Device unbind PCM open
devres release all()
free replacement string
snd pcm open()
snd card file add()
loopback open()
loopback snd timer open()
loopback parse timer id()
trigger card free()
snd card free()
snd card disconnect()
The parser can then read freed memory. KASAN has reported a one-byte
use-after-free read in strchr() from loopback snd timer open(). The
cable lock mutex serializes explicit replacements with opens, but
implicit devres release does not take it. The card and module references
held by PCM open do not retain this separate devres allocation.
Use kstrdup() and release the current string from card->private free.
PCM admission already retains the card until each file is removed, and
card disconnect drains proc callbacks before final card release. This
keeps the string alive across admitted PCM opens and preserves the
cable lock serialization of replacements. Install the callback before
the initial allocation so probe failures also release the string.
Found an issue in the description? Have something to add? Feel free to write us 👾