PT-2026-163313
CVE-2026-139272
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾