* [syzbot] [media?] KASAN: slab-use-after-free Write in media_request_alloc
@ 2026-01-02 3:38 syzbot
2026-01-02 4:23 ` Hillf Danton
` (5 more replies)
0 siblings, 6 replies; 10+ messages in thread
From: syzbot @ 2026-01-02 3:38 UTC (permalink / raw)
To: laurent.pinchart, linux-kernel, linux-media, mchehab,
sakari.ailus, syzkaller-bugs
Hello,
syzbot found the following issue on:
HEAD commit: c875a6c32467 Merge tag 'usb-6.19-rc3' of git://git.kernel...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1395e49a580000
kernel config: https://syzkaller.appspot.com/x/.config?x=513255d80ab78f2b
dashboard link: https://syzkaller.appspot.com/bug?extid=2bf29e42be0666f2df70
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1795e49a580000
Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-c875a6c3.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/a757db7716a5/vmlinux-c875a6c3.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3095f726e048/bzImage-c875a6c3.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+2bf29e42be0666f2df70@syzkaller.appspotmail.com
==================================================================
BUG: KASAN: slab-use-after-free in vsnprintf+0x38b/0xee0 lib/vsprintf.c:2898
Write of size 1 at addr ffff888042136c11 by task syz.4.761/7191
CPU: 0 UID: 0 PID: 7191 Comm: syz.4.761 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
<TASK>
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xca/0x240 mm/kasan/report.c:482
kasan_report+0x118/0x150 mm/kasan/report.c:595
check_region_inline mm/kasan/generic.c:-1 [inline]
kasan_check_range+0x2b0/0x2c0 mm/kasan/generic.c:200
__asan_memcpy+0x40/0x70 mm/kasan/shadow.c:106
vsnprintf+0x38b/0xee0 lib/vsprintf.c:2898
snprintf+0xda/0x120 lib/vsprintf.c:3041
media_request_alloc+0x319/0x5b0 drivers/media/mc/mc-request.c:320
media_device_request_alloc+0x98/0xd0 drivers/media/mc/mc-device.c:380
media_device_ioctl+0x278/0x430 drivers/media/mc/mc-device.c:465
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f801458f7c9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f801547d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f80147e5fa0 RCX: 00007f801458f7c9
RDX: 0000000000000000 RSI: 0000000080047c05 RDI: 0000000000000003
RBP: 00007f8014613f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f80147e6038 R14: 00007f80147e5fa0 R15: 00007ffd838327f8
</TASK>
Allocated by task 7191:
kasan_save_stack mm/kasan/common.c:56 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:77
poison_kmalloc_redzone mm/kasan/common.c:397 [inline]
__kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:414
kasan_kmalloc include/linux/kasan.h:262 [inline]
__kmalloc_cache_noprof+0x3e2/0x700 mm/slub.c:5776
kmalloc_noprof include/linux/slab.h:957 [inline]
kzalloc_noprof include/linux/slab.h:1094 [inline]
media_request_alloc+0xe4/0x5b0 drivers/media/mc/mc-request.c:294
media_device_request_alloc+0x98/0xd0 drivers/media/mc/mc-device.c:380
media_device_ioctl+0x278/0x430 drivers/media/mc/mc-device.c:465
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Freed by task 7194:
kasan_save_stack mm/kasan/common.c:56 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:77
kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:252 [inline]
__kasan_slab_free+0x5c/0x80 mm/kasan/common.c:284
kasan_slab_free include/linux/kasan.h:234 [inline]
slab_free_hook mm/slub.c:2540 [inline]
slab_free mm/slub.c:6670 [inline]
kfree+0x1c0/0x660 mm/slub.c:6878
media_request_close+0x38/0x50 drivers/media/mc/mc-request.c:89
__fput+0x44c/0xa70 fs/file_table.c:468
task_work_run+0x1d4/0x260 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:44 [inline]
exit_to_user_mode_loop+0xef/0x4e0 kernel/entry/common.c:75
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
do_syscall_64+0x2b7/0xf80 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff888042136c00
which belongs to the cache kmalloc-256 of size 256
The buggy address is located 17 bytes inside of
freed 256-byte region [ffff888042136c00, ffff888042136d00)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42136
flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 04fff00000000000 ffff88801a441b40 ffffea000105e940 dead000000000008
raw: 0000000000000000 0000000000080008 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x52cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 6435, tgid 6433 (syz.5.390), ts 150606964609, free_ts 150605503050
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x234/0x290 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0x24e0/0x2580 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5210
alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2486
alloc_slab_page mm/slub.c:3075 [inline]
allocate_slab+0x86/0x3b0 mm/slub.c:3248
new_slab mm/slub.c:3302 [inline]
___slab_alloc+0xe53/0x1820 mm/slub.c:4656
__slab_alloc+0x65/0x100 mm/slub.c:4779
__slab_alloc_node mm/slub.c:4855 [inline]
slab_alloc_node mm/slub.c:5251 [inline]
__kmalloc_cache_noprof+0x41e/0x700 mm/slub.c:5771
kmalloc_noprof include/linux/slab.h:957 [inline]
kzalloc_noprof include/linux/slab.h:1094 [inline]
media_request_alloc+0xe4/0x5b0 drivers/media/mc/mc-request.c:294
media_device_request_alloc+0x98/0xd0 drivers/media/mc/mc-device.c:380
media_device_ioctl+0x278/0x430 drivers/media/mc/mc-device.c:465
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5325 tgid 5325 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbc8/0xd30 mm/page_alloc.c:2943
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2605 [inline]
rcu_core+0xc8e/0x1720 kernel/rcu/tree.c:2857
handle_softirqs+0x22b/0x7c0 kernel/softirq.c:622
do_softirq+0x76/0xd0 kernel/softirq.c:523
__local_bh_enable_ip+0xf8/0x130 kernel/softirq.c:450
lock_sock include/net/sock.h:1700 [inline]
tcp_sendmsg+0x21/0x50 net/ipv4/tcp.c:1411
sock_sendmsg_nosec net/socket.c:727 [inline]
__sock_sendmsg+0x19c/0x270 net/socket.c:742
sock_write_iter+0x279/0x360 net/socket.c:1195
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x5c9/0xb30 fs/read_write.c:686
ksys_write+0x145/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff888042136b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff888042136b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888042136c00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888042136c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888042136d00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [syzbot] [media?] KASAN: slab-use-after-free Write in media_request_alloc
2026-01-02 3:38 [syzbot] [media?] KASAN: slab-use-after-free Write in media_request_alloc syzbot
@ 2026-01-02 4:23 ` Hillf Danton
2026-01-02 11:33 ` Forwarded: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b69053dd3ffbc0d2dedbbc86182cdef6f641fe1b syzbot
` (4 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Hillf Danton @ 2026-01-02 4:23 UTC (permalink / raw)
To: syzbot
Cc: laurent.pinchart, linux-kernel, linux-media, mchehab,
sakari.ailus, syzkaller-bugs
> Date: Thu, 01 Jan 2026 19:38:23 -0800
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: c875a6c32467 Merge tag 'usb-6.19-rc3' of git://git.kernel...
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=1395e49a580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=513255d80ab78f2b
> dashboard link: https://syzkaller.appspot.com/bug?extid=2bf29e42be0666f2df70
> compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1795e49a580000
>
> Downloadable assets:
> disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-c875a6c3.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/a757db7716a5/vmlinux-c875a6c3.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/3095f726e048/bzImage-c875a6c3.xz
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+2bf29e42be0666f2df70@syzkaller.appspotmail.com
>
> ==================================================================
> BUG: KASAN: slab-use-after-free in vsnprintf+0x38b/0xee0 lib/vsprintf.c:2898
> Write of size 1 at addr ffff888042136c11 by task syz.4.761/7191
>
> CPU: 0 UID: 0 PID: 7191 Comm: syz.4.761 Not tainted syzkaller #0 PREEMPT(full)
> Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
> Call Trace:
> <TASK>
> dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
> print_address_description mm/kasan/report.c:378 [inline]
> print_report+0xca/0x240 mm/kasan/report.c:482
> kasan_report+0x118/0x150 mm/kasan/report.c:595
> check_region_inline mm/kasan/generic.c:-1 [inline]
> kasan_check_range+0x2b0/0x2c0 mm/kasan/generic.c:200
> __asan_memcpy+0x40/0x70 mm/kasan/shadow.c:106
> vsnprintf+0x38b/0xee0 lib/vsprintf.c:2898
> snprintf+0xda/0x120 lib/vsprintf.c:3041
> media_request_alloc+0x319/0x5b0 drivers/media/mc/mc-request.c:320
> media_device_request_alloc+0x98/0xd0 drivers/media/mc/mc-device.c:380
> media_device_ioctl+0x278/0x430 drivers/media/mc/mc-device.c:465
> vfs_ioctl fs/ioctl.c:51 [inline]
What is difficult to understand is why file is closed while ioctl does not finish.
> __do_sys_ioctl fs/ioctl.c:597 [inline]
> __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
> do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
> do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
> entry_SYSCALL_64_after_hwframe+0x77/0x7f
> RIP: 0033:0x7f801458f7c9
> Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
> RSP: 002b:00007f801547d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
> RAX: ffffffffffffffda RBX: 00007f80147e5fa0 RCX: 00007f801458f7c9
> RDX: 0000000000000000 RSI: 0000000080047c05 RDI: 0000000000000003
> RBP: 00007f8014613f91 R08: 0000000000000000 R09: 0000000000000000
> R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
> R13: 00007f80147e6038 R14: 00007f80147e5fa0 R15: 00007ffd838327f8
> </TASK>
>
> Allocated by task 7191:
> kasan_save_stack mm/kasan/common.c:56 [inline]
> kasan_save_track+0x3e/0x80 mm/kasan/common.c:77
> poison_kmalloc_redzone mm/kasan/common.c:397 [inline]
> __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:414
> kasan_kmalloc include/linux/kasan.h:262 [inline]
> __kmalloc_cache_noprof+0x3e2/0x700 mm/slub.c:5776
> kmalloc_noprof include/linux/slab.h:957 [inline]
> kzalloc_noprof include/linux/slab.h:1094 [inline]
> media_request_alloc+0xe4/0x5b0 drivers/media/mc/mc-request.c:294
> media_device_request_alloc+0x98/0xd0 drivers/media/mc/mc-device.c:380
> media_device_ioctl+0x278/0x430 drivers/media/mc/mc-device.c:465
> vfs_ioctl fs/ioctl.c:51 [inline]
> __do_sys_ioctl fs/ioctl.c:597 [inline]
> __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
> do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
> do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
> entry_SYSCALL_64_after_hwframe+0x77/0x7f
>
> Freed by task 7194:
> kasan_save_stack mm/kasan/common.c:56 [inline]
> kasan_save_track+0x3e/0x80 mm/kasan/common.c:77
> kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:584
> poison_slab_object mm/kasan/common.c:252 [inline]
> __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:284
> kasan_slab_free include/linux/kasan.h:234 [inline]
> slab_free_hook mm/slub.c:2540 [inline]
> slab_free mm/slub.c:6670 [inline]
> kfree+0x1c0/0x660 mm/slub.c:6878
> media_request_close+0x38/0x50 drivers/media/mc/mc-request.c:89
> __fput+0x44c/0xa70 fs/file_table.c:468
> task_work_run+0x1d4/0x260 kernel/task_work.c:233
> resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
> __exit_to_user_mode_loop kernel/entry/common.c:44 [inline]
> exit_to_user_mode_loop+0xef/0x4e0 kernel/entry/common.c:75
> __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
> syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
> syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
> syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
> do_syscall_64+0x2b7/0xf80 arch/x86/entry/syscall_64.c:100
> entry_SYSCALL_64_after_hwframe+0x77/0x7f
>
> The buggy address belongs to the object at ffff888042136c00
> which belongs to the cache kmalloc-256 of size 256
> The buggy address is located 17 bytes inside of
> freed 256-byte region [ffff888042136c00, ffff888042136d00)
>
> The buggy address belongs to the physical page:
> page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42136
> flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff)
> page_type: f5(slab)
> raw: 04fff00000000000 ffff88801a441b40 ffffea000105e940 dead000000000008
> raw: 0000000000000000 0000000000080008 00000000f5000000 0000000000000000
> page dumped because: kasan: bad access detected
> page_owner tracks the page as allocated
> page last allocated via order 0, migratetype Unmovable, gfp_mask 0x52cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 6435, tgid 6433 (syz.5.390), ts 150606964609, free_ts 150605503050
> set_page_owner include/linux/page_owner.h:32 [inline]
> post_alloc_hook+0x234/0x290 mm/page_alloc.c:1846
> prep_new_page mm/page_alloc.c:1854 [inline]
> get_page_from_freelist+0x24e0/0x2580 mm/page_alloc.c:3915
> __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5210
> alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2486
> alloc_slab_page mm/slub.c:3075 [inline]
> allocate_slab+0x86/0x3b0 mm/slub.c:3248
> new_slab mm/slub.c:3302 [inline]
> ___slab_alloc+0xe53/0x1820 mm/slub.c:4656
> __slab_alloc+0x65/0x100 mm/slub.c:4779
> __slab_alloc_node mm/slub.c:4855 [inline]
> slab_alloc_node mm/slub.c:5251 [inline]
> __kmalloc_cache_noprof+0x41e/0x700 mm/slub.c:5771
> kmalloc_noprof include/linux/slab.h:957 [inline]
> kzalloc_noprof include/linux/slab.h:1094 [inline]
> media_request_alloc+0xe4/0x5b0 drivers/media/mc/mc-request.c:294
> media_device_request_alloc+0x98/0xd0 drivers/media/mc/mc-device.c:380
> media_device_ioctl+0x278/0x430 drivers/media/mc/mc-device.c:465
> vfs_ioctl fs/ioctl.c:51 [inline]
> __do_sys_ioctl fs/ioctl.c:597 [inline]
> __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
> do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
> do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
> entry_SYSCALL_64_after_hwframe+0x77/0x7f
> page last free pid 5325 tgid 5325 stack trace:
> reset_page_owner include/linux/page_owner.h:25 [inline]
> free_pages_prepare mm/page_alloc.c:1395 [inline]
> __free_frozen_pages+0xbc8/0xd30 mm/page_alloc.c:2943
> __tlb_remove_table_free mm/mmu_gather.c:227 [inline]
> tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
> rcu_do_batch kernel/rcu/tree.c:2605 [inline]
> rcu_core+0xc8e/0x1720 kernel/rcu/tree.c:2857
> handle_softirqs+0x22b/0x7c0 kernel/softirq.c:622
> do_softirq+0x76/0xd0 kernel/softirq.c:523
> __local_bh_enable_ip+0xf8/0x130 kernel/softirq.c:450
> lock_sock include/net/sock.h:1700 [inline]
> tcp_sendmsg+0x21/0x50 net/ipv4/tcp.c:1411
> sock_sendmsg_nosec net/socket.c:727 [inline]
> __sock_sendmsg+0x19c/0x270 net/socket.c:742
> sock_write_iter+0x279/0x360 net/socket.c:1195
> new_sync_write fs/read_write.c:593 [inline]
> vfs_write+0x5c9/0xb30 fs/read_write.c:686
> ksys_write+0x145/0x250 fs/read_write.c:738
> do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
> do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
> entry_SYSCALL_64_after_hwframe+0x77/0x7f
>
> Memory state around the buggy address:
> ffff888042136b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
> ffff888042136b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
> >ffff888042136c00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
> ^
> ffff888042136c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
> ffff888042136d00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
> ==================================================================
^ permalink raw reply [flat|nested] 10+ messages in thread
* Forwarded: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b69053dd3ffbc0d2dedbbc86182cdef6f641fe1b
2026-01-02 3:38 [syzbot] [media?] KASAN: slab-use-after-free Write in media_request_alloc syzbot
2026-01-02 4:23 ` Hillf Danton
@ 2026-01-02 11:33 ` syzbot
2026-01-02 11:33 ` syzbot
` (3 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-01-02 11:33 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b69053dd3ffbc0d2dedbbc86182cdef6f641fe1b
Author: dmantipov@yandex.ru
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b69053dd3ffbc0d2dedbbc86182cdef6f641fe1b
^ permalink raw reply [flat|nested] 10+ messages in thread
* Forwarded: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b69053dd3ffbc0d2dedbbc86182cdef6f641fe1b
2026-01-02 3:38 [syzbot] [media?] KASAN: slab-use-after-free Write in media_request_alloc syzbot
2026-01-02 4:23 ` Hillf Danton
2026-01-02 11:33 ` Forwarded: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b69053dd3ffbc0d2dedbbc86182cdef6f641fe1b syzbot
@ 2026-01-02 11:33 ` syzbot
2026-02-26 15:06 ` Forwarded: KASAN: slab-use-after-free Write in media_request_alloc syzbot
` (2 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-01-02 11:33 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b69053dd3ffbc0d2dedbbc86182cdef6f641fe1b
Author: dmantipov@yandex.ru
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b69053dd3ffbc0d2dedbbc86182cdef6f641fe1b
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [syzbot] [media?] KASAN: slab-use-after-free Write in media_request_alloc
[not found] <20e6d0eef04a814e4b377b536f03e70565f492ac.camel@yandex.ru>
@ 2026-01-02 11:55 ` syzbot
0 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-01-02 11:55 UTC (permalink / raw)
To: dmantipov, linux-kernel, syzkaller-bugs
Hello,
syzbot has tested the proposed patch and the reproducer did not trigger any issue:
Reported-by: syzbot+2bf29e42be0666f2df70@syzkaller.appspotmail.com
Tested-by: syzbot+2bf29e42be0666f2df70@syzkaller.appspotmail.com
Tested on:
commit: b69053dd wifi: mt76: Remove blank line after mt792x fi..
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
console output: https://syzkaller.appspot.com/x/log.txt?x=14dcbfb4580000
kernel config: https://syzkaller.appspot.com/x/.config?x=513255d80ab78f2b
dashboard link: https://syzkaller.appspot.com/bug?extid=2bf29e42be0666f2df70
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
patch: https://syzkaller.appspot.com/x/patch.diff?x=15ccbfb4580000
Note: testing is done by a robot and is best-effort only.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Forwarded: KASAN: slab-use-after-free Write in media_request_alloc
2026-01-02 3:38 [syzbot] [media?] KASAN: slab-use-after-free Write in media_request_alloc syzbot
` (2 preceding siblings ...)
2026-01-02 11:33 ` syzbot
@ 2026-02-26 15:06 ` syzbot
2026-02-26 17:27 ` syzbot
2026-02-26 18:25 ` syzbot
5 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-02-26 15:06 UTC (permalink / raw)
To: linux-kernel
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.
***
Subject: KASAN: slab-use-after-free Write in media_request_alloc
Author: mfo@igalia.com
#syz test git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a260bd22a355
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [syzbot] [media?] KASAN: slab-use-after-free Write in media_request_alloc
[not found] <69a06176.050a0220.18f3f1.5d0dSMTPIN_ADDED_MISSING@gmr-mx.google.com>
@ 2026-02-26 15:43 ` syzbot
0 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-02-26 15:43 UTC (permalink / raw)
To: linux-kernel, mfo, syzkaller-bugs
Hello,
syzbot tried to test the proposed patch but the build/boot failed:
0c03 length: 249 > 1
[ 106.253750][ T4683] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 106.257543][ T4683] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 106.268568][ T4683] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 106.271990][ T4683] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 106.576059][ T951] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 106.580308][ T951] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 106.963685][ T5367] syz-executor (5367) used greatest stack depth: 18056 bytes left
[ 108.328157][ T4683] Bluetooth: hci0: command tx timeout
[ 109.621987][ T5393] chnl_net:caif_netlink_parms(): no params data found
[ 109.891390][ T5393] bridge0: port 1(bridge_slave_0) entered blocking state
[ 109.895644][ T5393] bridge0: port 1(bridge_slave_0) entered disabled state
[ 109.909027][ T5393] bridge_slave_0: entered allmulticast mode
[ 109.919263][ T5393] bridge_slave_0: entered promiscuous mode
[ 109.931659][ T5393] bridge0: port 2(bridge_slave_1) entered blocking state
[ 109.945562][ T5393] bridge0: port 2(bridge_slave_1) entered disabled state
[ 109.949131][ T5393] bridge_slave_1: entered allmulticast mode
[ 109.958653][ T5393] bridge_slave_1: entered promiscuous mode
[ 110.046797][ T5393] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 110.073157][ T5393] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 110.135915][ T5393] team0: Port device team_slave_0 added
[ 110.146251][ T5393] team0: Port device team_slave_1 added
[ 110.206774][ T5393] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 110.228265][ T5393] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[ 110.264469][ T5393] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 110.282476][ T5393] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 110.285647][ T5393] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[ 110.318910][ T5393] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 110.384477][ T5393] hsr_slave_0: entered promiscuous mode
[ 110.398136][ T4683] Bluetooth: hci0: command tx timeout
[ 110.401229][ T5393] hsr_slave_1: entered promiscuous mode
[ 110.714539][ T5393] netdevsim netdevsim4 netdevsim0: renamed from eth0
[ 110.750233][ T5393] netdevsim netdevsim4 netdevsim1: renamed from eth1
[ 110.769066][ T5393] netdevsim netdevsim4 netdevsim2: renamed from eth2
[ 110.782144][ T5393] netdevsim netdevsim4 netdevsim3: renamed from eth3
[ 110.922207][ T5393] 8021q: adding VLAN 0 to HW filter on device bond0
[ 110.963107][ T5393] 8021q: adding VLAN 0 to HW filter on device team0
[ 110.980705][ T1043] bridge0: port 1(bridge_slave_0) entered blocking state
[ 110.983983][ T1043] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 111.004797][ T1043] bridge0: port 2(bridge_slave_1) entered blocking state
[ 111.007951][ T1043] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 111.291338][ T5393] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 111.494424][ T5393] veth0_vlan: entered promiscuous mode
[ 111.504047][ T5393] veth1_vlan: entered promiscuous mode
[ 111.530824][ T5393] veth0_macvtap: entered promiscuous mode
[ 111.537212][ T5393] veth1_macvtap: entered promiscuous mode
[ 111.553943][ T5393] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 111.566659][ T5393] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 111.577390][ T1043] netdevsim netdevsim4 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 111.586923][ T1043] netdevsim netdevsim4 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 111.603357][ T1043] netdevsim netdevsim4 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 111.608797][ T31] netdevsim netdevsim4 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
2026/02/26 15:42:15 executed programs: 0
[ 111.847365][ T46] Bluetooth: hci1: unexpected cc 0x0c03 length: 249 > 1
[ 111.853330][ T46] Bluetooth: hci1: unexpected cc 0x1003 length: 249 > 9
[ 111.856528][ T46] Bluetooth: hci1: unexpected cc 0x1001 length: 249 > 9
[ 111.860446][ T46] Bluetooth: hci1: unexpected cc 0x0c23 length: 249 > 4
[ 111.863901][ T46] Bluetooth: hci1: unexpected cc 0x0c38 length: 249 > 2
[ 112.198358][ T5455] chnl_net:caif_netlink_parms(): no params data found
[ 112.267661][ T5455] bridge0: port 1(bridge_slave_0) entered blocking state
[ 112.271489][ T5455] bridge0: port 1(bridge_slave_0) entered disabled state
[ 112.274573][ T5455] bridge_slave_0: entered allmulticast mode
[ 112.279376][ T5455] bridge_slave_0: entered promiscuous mode
[ 112.283631][ T5455] bridge0: port 2(bridge_slave_1) entered blocking state
[ 112.286737][ T5455] bridge0: port 2(bridge_slave_1) entered disabled state
[ 112.290395][ T5455] bridge_slave_1: entered allmulticast mode
[ 112.294412][ T5455] bridge_slave_1: entered promiscuous mode
[ 112.316604][ T5455] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 112.341890][ T5455] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 112.393270][ T5455] team0: Port device team_slave_0 added
[ 112.409121][ T5455] team0: Port device team_slave_1 added
[ 112.458152][ T5455] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 112.461130][ T5455] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[ 112.478873][ T46] Bluetooth: hci0: command tx timeout
[ 112.488075][ T5455] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 112.499491][ T5455] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 112.502401][ T5455] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[ 112.529001][ T5455] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 112.605799][ T5455] hsr_slave_0: entered promiscuous mode
[ 112.609713][ T5455] hsr_slave_1: entered promiscuous mode
[ 112.612785][ T5455] debugfs: 'hsr0' already exists in 'hsr'
[ 112.615353][ T5455] Cannot create hsr debugfs directory
[ 112.771926][ T5455] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 112.783380][ T5455] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 112.791273][ T5455] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 112.797627][ T5455] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 112.875456][ T5455] 8021q: adding VLAN 0 to HW filter on device bond0
[ 112.896056][ T5455] 8021q: adding VLAN 0 to HW filter on device team0
[ 112.904713][ T3999] bridge0: port 1(bridge_slave_0) entered blocking state
[ 112.908134][ T3999] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 112.919758][ T951] bridge0: port 2(bridge_slave_1) entered blocking state
[ 112.923095][ T951] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 113.112452][ T5455] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 113.155690][ T5455] veth0_vlan: entered promiscuous mode
[ 113.164569][ T5455] veth1_vlan: entered promiscuous mode
[ 113.190733][ T5455] veth0_macvtap: entered promiscuous mode
[ 113.197471][ T5455] veth1_macvtap: entered promiscuous mode
[ 113.215022][ T5455] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 113.226089][ T5455] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 113.234855][ T31] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 113.244504][ T31] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 113.255609][ T31] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 113.292821][ T31] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 113.359090][ T951] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 113.362546][ T951] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 113.429892][ T31] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 113.433619][ T31] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
SYZFAIL: failed to recv rpc
fd=3 want=4 recv=0 n=0 (errno 9: Bad file descriptor)
[ 114.122967][ T1043] netdevsim netdevsim4 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 114.429752][ T1043] netdevsim netdevsim4 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 114.483912][ T1043] netdevsim netdevsim4 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 114.549421][ T1043] netdevsim netdevsim4 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 114.761462][ T1043] bridge_slave_1: left allmulticast mode
[ 114.764161][ T1043] bridge_slave_1: left promiscuous mode
[ 114.767497][ T1043] bridge0: port 2(bridge_slave_1) entered disabled state
[ 114.802242][ T1043] bridge_slave_0: left allmulticast mode
[ 114.804855][ T1043] bridge_slave_0: left promiscuous mode
[ 114.807653][ T1043] bridge0: port 1(bridge_slave_0) entered disabled state
[ 115.196541][ T1043] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 115.203611][ T1043] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 115.210418][ T1043] bond0 (unregistering): Released all slaves
[ 115.367021][ T1043] hsr_slave_0: left promiscuous mode
[ 115.388260][ T1043] hsr_slave_1: left promiscuous mode
[ 115.391568][ T1043] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 115.394769][ T1043] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 115.413510][ T1043] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 115.416877][ T1043] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 115.453664][ T1043] veth1_macvtap: left promiscuous mode
[ 115.456467][ T1043] veth0_macvtap: left promiscuous mode
[ 115.464776][ T1043] veth1_vlan: left promiscuous mode
[ 115.466936][ T1043] veth0_vlan: left promiscuous mode
[ 115.943578][ T1043] team0 (unregistering): Port device team_slave_1 removed
[ 115.984498][ T1043] team0 (unregistering): Port device team_slave_0 removed
[ 116.563465][ T1043] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 116.715509][ T1043] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 116.787744][ T1043] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 116.860315][ T1043] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 117.037674][ T1043] bridge_slave_1: left allmulticast mode
[ 117.051515][ T1043] bridge_slave_1: left promiscuous mode
[ 117.054331][ T1043] bridge0: port 2(bridge_slave_1) entered disabled state
[ 117.070719][ T1043] bridge_slave_0: left allmulticast mode
[ 117.073222][ T1043] bridge_slave_0: left promiscuous mode
[ 117.075883][ T1043] bridge0: port 1(bridge_slave_0) entered disabled state
[ 117.470534][ T1043] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 117.476031][ T1043] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 117.483636][ T1043] bond0 (unregistering): Released all slaves
[ 117.741781][ T1043] hsr_slave_0: left promiscuous mode
[ 117.744650][ T1043] hsr_slave_1: left promiscuous mode
[ 117.747513][ T1043] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 117.762774][ T1043] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 117.778823][ T1043] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 117.782013][ T1043] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 117.792752][ T1043] veth1_macvtap: left promiscuous mode
[ 117.795248][ T1043] veth0_macvtap: left promiscuous mode
[ 117.797711][ T1043] veth1_vlan: left promiscuous mode
[ 117.818197][ T1043] veth0_vlan: left promiscuous mode
[ 118.255958][ T1043] team0 (unregistering): Port device team_slave_1 removed
[ 118.280291][ T1043] team0 (unregistering): Port device team_slave_0 removed
syzkaller build log:
go env (err=<nil>)
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE='auto'
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3231907968=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mod'
GOMODCACHE='/syzkaller/jobs/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/syzkaller/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.24.4'
GOWORK=''
PKG_CONFIG='pkg-config'
git status (err=<nil>)
HEAD detached at d1b870e1003b
nothing to commit, working tree clean
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
go list -f '{{.Stale}}' -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=d1b870e1003b52891d2196c1e2ee42fe905010ba -X github.com/google/syzkaller/prog.gitRevisionDate=20251128-125159" ./sys/syz-sysgen | grep -q false || go install -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=d1b870e1003b52891d2196c1e2ee42fe905010ba -X github.com/google/syzkaller/prog.gitRevisionDate=20251128-125159" ./sys/syz-sysgen
make .descriptions
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=d1b870e1003b52891d2196c1e2ee42fe905010ba -X github.com/google/syzkaller/prog.gitRevisionDate=20251128-125159" -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
mkdir -p ./bin/linux_amd64
g++ -o ./bin/linux_amd64/syz-executor executor/executor.cc \
-m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"d1b870e1003b52891d2196c1e2ee42fe905010ba\"
/usr/bin/ld: /tmp/cczH2ZJp.o: in function `Connection::Connect(char const*, char const*)':
executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x386): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
./tools/check-syzos.sh 2>/dev/null
Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=1721a006580000
Tested on:
commit: a260bd22 media: mc: fix potential use-after-free in me..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel config: https://syzkaller.appspot.com/x/.config?x=42a29b5eebe67b17
dashboard link: https://syzkaller.appspot.com/bug?extid=2bf29e42be0666f2df70
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
Note: no patches were applied.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Forwarded: KASAN: slab-use-after-free Write in media_request_alloc
2026-01-02 3:38 [syzbot] [media?] KASAN: slab-use-after-free Write in media_request_alloc syzbot
` (3 preceding siblings ...)
2026-02-26 15:06 ` Forwarded: KASAN: slab-use-after-free Write in media_request_alloc syzbot
@ 2026-02-26 17:27 ` syzbot
2026-02-26 18:25 ` syzbot
5 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-02-26 17:27 UTC (permalink / raw)
To: linux-kernel
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.
***
Subject: KASAN: slab-use-after-free Write in media_request_alloc
Author: mfo@igalia.com
#syz test git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a260bd22a355
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [syzbot] [media?] KASAN: slab-use-after-free Write in media_request_alloc
[not found] <69a08273.a70a0220.1e4086.5f64SMTPIN_ADDED_MISSING@gmr-mx.google.com>
@ 2026-02-26 17:48 ` syzbot
0 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-02-26 17:48 UTC (permalink / raw)
To: linux-kernel, mfo, syzkaller-bugs
Hello,
syzbot has tested the proposed patch and the reproducer did not trigger any issue:
Reported-by: syzbot+2bf29e42be0666f2df70@syzkaller.appspotmail.com
Tested-by: syzbot+2bf29e42be0666f2df70@syzkaller.appspotmail.com
Tested on:
commit: a260bd22 media: mc: fix potential use-after-free in me..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
console output: https://syzkaller.appspot.com/x/log.txt?x=14274d5a580000
kernel config: https://syzkaller.appspot.com/x/.config?x=42a29b5eebe67b17
dashboard link: https://syzkaller.appspot.com/bug?extid=2bf29e42be0666f2df70
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
Note: no patches were applied.
Note: testing is done by a robot and is best-effort only.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Forwarded: KASAN: slab-use-after-free Write in media_request_alloc
2026-01-02 3:38 [syzbot] [media?] KASAN: slab-use-after-free Write in media_request_alloc syzbot
` (4 preceding siblings ...)
2026-02-26 17:27 ` syzbot
@ 2026-02-26 18:25 ` syzbot
5 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-02-26 18:25 UTC (permalink / raw)
To: linux-kernel
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.
***
Subject: KASAN: slab-use-after-free Write in media_request_alloc
Author: mfo@igalia.com
#syz dup: KASAN: slab-use-after-free Write in number
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2026-02-26 18:25 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-02 3:38 [syzbot] [media?] KASAN: slab-use-after-free Write in media_request_alloc syzbot
2026-01-02 4:23 ` Hillf Danton
2026-01-02 11:33 ` Forwarded: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b69053dd3ffbc0d2dedbbc86182cdef6f641fe1b syzbot
2026-01-02 11:33 ` syzbot
2026-02-26 15:06 ` Forwarded: KASAN: slab-use-after-free Write in media_request_alloc syzbot
2026-02-26 17:27 ` syzbot
2026-02-26 18:25 ` syzbot
[not found] <20e6d0eef04a814e4b377b536f03e70565f492ac.camel@yandex.ru>
2026-01-02 11:55 ` [syzbot] [media?] " syzbot
[not found] <69a06176.050a0220.18f3f1.5d0dSMTPIN_ADDED_MISSING@gmr-mx.google.com>
2026-02-26 15:43 ` syzbot
[not found] <69a08273.a70a0220.1e4086.5f64SMTPIN_ADDED_MISSING@gmr-mx.google.com>
2026-02-26 17:48 ` syzbot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox