CVE-2025-38227 Information
Description
In the Linux kernel the following vulnerability has been resolved:
media: vidtv: Terminating the subsequent process of initialization failure
syzbot reported a slab-use-after-free Read in vidtv_mux_init. [1]
After PSI initialization fails the si member is accessed again resulting in this uaf.
After si initialization fails the subsequent process needs to be exited.
[1] BUG: KASAN: slab-use-after-free in vidtv_mux_pid_ctx_init drivers/media/test-drivers/vidtv/vidtv_mux.c:78 [inline] BUG: KASAN: slab-use-after-free in vidtv_mux_init+0xac2/0xbe0 drivers/media/test-drivers/vidtv/vidtv_mux.c:524 Read of size 8 at addr ffff88802fa42acc by task syz.2.37/6059
CPU: 0 UID: 0 PID: 6059 Comm: syz.2.37 Not tainted 6.14.0-rc5-syzkaller 0
Hardware name: Google Compute Engine BIOS Google 02/12/2025
Call Trace:
Allocated by task 6059: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394 kmalloc_noprof include/linux/slab.h:901 [inline] kzalloc_noprof include/linux/slab.h:1037 [inline] vidtv_psi_pat_table_init drivers/media/test-drivers/vidtv/vidtv_psi.c:970 vidtv_channel_si_init drivers/media/test-drivers/vidtv/vidtv_channel.c:423 vidtv_mux_init drivers/media/test-drivers/vidtv/vidtv_mux.c:519 vidtv_start_streaming drivers/media/test-drivers/vidtv/vidtv_bridge.c:194 vidtv_start_feed drivers/media/test-drivers/vidtv/vidtv_bridge.c:239 dmx_section_feed_start_filtering drivers/media/dvb-core/dvb_demux.c:973 dvb_dmxdev_feed_start drivers/media/dvb-core/dmxdev.c:508 [inline] dvb_dmxdev_feed_restart.isra.0 drivers/media/dvb-core/dmxdev.c:537 dvb_dmxdev_filter_stop+0x2b4/0x3a0 drivers/media/dvb-core/dmxdev.c:564 dvb_dmxdev_filter_free drivers/media/dvb-core/dmxdev.c:840 [inline] dvb_demux_release+0x92/0x550 drivers/media/dvb-core/dmxdev.c:1246 __fput+0x3ff/0xb70 fs/file_tabl
truncated—
Reference
https://git.kernel.org/stable/c/1d5f88f053480326873115092bc116b7d14916ba https://git.kernel.org/stable/c/685c18bc5a36f823ee725e85aac1303ef5f535ba https://git.kernel.org/stable/c/72541cae73d0809a6416bfcd2ee6473046a0013a https://git.kernel.org/stable/c/7e62be1f3b241bc9faee547864bb39332955509b https://git.kernel.org/stable/c/9824e1732a163e005aa84e12ec439493ebd4f097 https://git.kernel.org/stable/c/e1d72ff111eceea6b28dccb7ca4e8f4900b11729 https://git.kernel.org/stable/c/f8c2483be6e8bb6c2148315b4a924c65bb442b5e
Related CNNVD
CNNVD-202507-489 (Published: 2025-07-04)
Share on: