PT-2026-163425

CVE-2026-139384

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

CVSS 3.1
7.8
عالية
المقاييسAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
In the Linux kernel, the following vulnerability has been resolved:
ALSA: pcm: Unlink substreams before releasing them
A closing PCM substream can remain in its linked group after the driver close callback has freed its private data. With two configured dummy capture substreams on the same PCM device, linked with LINK, PREPARE on the surviving substream can still visit the closing member:
Final close of A PREPARE on linked B

snd pcm drop(): group -> SETUP do hw free(A) dummy pcm close(A): free dpcm Take snd pcm link rwsem for reading Walk the group, including A dummy pcm prepare(A) Read freed timer ops pcm release private(A) snd pcm unlink(A)
Unlink at the start of final substream release, before dropping the stream or releasing driver resources. The link write lock waits for an existing group PREPARE, and unlink removes the closing member from later group actions. Keep the existing stop synchronization in do hw free() before the driver resources are freed.
Make unlink independent of the pcm release callback so OSS substreams are covered too. Remove the native-only unlink callback and its registration, while retaining the callback hook for OSS cleanup.
The existing KASAN report below records the freed timer ops read in dummy pcm prepare().
KASAN report as below:
BUG: KASAN: slab-use-after-free in dummy pcm prepare+0xb7/0xc0 Read of size 8 at addr ffff888106b35f00 by task alsa pcm fixtur/491
Call Trace: dump stack lvl+0x93/0xd0 print report+0xce/0x630 ? dummy pcm prepare+0xb7/0xc0 ? srso alias return thunk+0x5/0xfbef5 ? virt addr valid+0x20d/0x410 ? dummy pcm prepare+0xb7/0xc0 kasan report+0xe0/0x110 ? dummy pcm prepare+0xb7/0xc0 dummy pcm prepare+0xb7/0xc0 snd pcm do prepare+0x71/0xb0 snd pcm action group+0x505/0xb30 snd pcm action nonatomic+0xab/0x150 snd pcm common ioctl+0x1bf5/0x3a50 ? srso alias return thunk+0x5/0xfbef5 ? do vfs ioctl+0x1f5/0x1280 ? pfx do vfs ioctl+0x10/0x10 ? ioctl has perm.constprop.0.isra.0+0x34f/0x500 ? pfx snd pcm common ioctl+0x10/0x10 ? fput+0x5ba/0xa60 ? srso alias return thunk+0x5/0xfbef5 snd pcm ioctl+0x76/0xb0 ? pfx snd pcm ioctl+0x10/0x10 x64 sys ioctl+0x163/0x1d0 do syscall 64+0x115/0x6a0 entry SYSCALL 64 after hwframe+0x77/0x7f RIP: 0033:0x41ee8d Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00 RSP: 002b:00007ffcfa72fb60 EFLAGS: 00000246 ORIG RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000041ee8d RDX: 0000000000000000 RSI: 0000000000004140 RDI: 0000000000000004 RBP: 00007ffcfa72fbb0 R08: 00007ffcfa72fb98 R09: 0000000000000110 R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffcfa72fcd8 R13: 00007ffcfa72fcf0 R14: 00000000004a8f28 R15: 0000000000000001
Allocated by task 488: kasan save stack+0x33/0x60 kasan save track+0x14/0x30 kasan kmalloc+0xaa/0xb0 kmalloc cache noprof+0x251/0x610 dummy hrtimer create+0x4a/0x170 dummy pcm open+0xe7/0x730 snd pcm open substream+0x926/0x1580 snd pcm open+0x28d/0x6d0 snd pcm capture open+0x82/0xe0 snd open+0x1ec/0x3e0 chrdev open+0x21f/0x660 do dentry open+0x5c8/0x1300 vfs open+0x87/0x390 path openat+0x2460/0x3cd0 do file open+0x21e/0x470 do sys openat2+0xf4/0x1b0 x64 sys openat+0x136/0x1e0 do syscall 64+0x115/0x6a0 entry SYSCALL 64 after hwframe+0x77/0x7f
Freed by task 490: kasan save stack+0x33/0 ---truncated---
قابلية الاستغلال
إصلاح
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾