syzbot |
sign-in | mailing list | source | docs |
================================================================== BUG: KASAN: use-after-free in __mutex_waiter_is_first kernel/locking/mutex.c:199 [inline] BUG: KASAN: use-after-free in __mutex_lock_common kernel/locking/mutex.c:694 [inline] BUG: KASAN: use-after-free in __mutex_lock+0x1861/0x1b90 kernel/locking/mutex.c:776 Read of size 8 at addr ffff888136699b60 by task v4l_id/24515 CPU: 1 UID: 0 PID: 24515 Comm: v4l_id Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x156/0x4c9 mm/kasan/report.c:482 kasan_report+0xdf/0x1a0 mm/kasan/report.c:595 __mutex_waiter_is_first kernel/locking/mutex.c:199 [inline] __mutex_lock_common kernel/locking/mutex.c:694 [inline] __mutex_lock+0x1861/0x1b90 kernel/locking/mutex.c:776 em28xx_v4l2_open+0xfc/0x570 drivers/media/usb/em28xx/em28xx-video.c:2150 v4l2_open+0x1d2/0x490 drivers/media/v4l2-core/v4l2-dev.c:433 chrdev_open+0x234/0x6a0 fs/char_dev.c:414 do_dentry_open+0x71a/0x1400 fs/open.c:962 vfs_open+0x82/0x3f0 fs/open.c:1094 do_open fs/namei.c:4637 [inline] path_openat+0x21dc/0x3120 fs/namei.c:4796 do_filp_open+0x1f7/0x420 fs/namei.c:4823 do_sys_openat2+0x12e/0x220 fs/open.c:1430 do_sys_open fs/open.c:1436 [inline] __do_sys_openat fs/open.c:1452 [inline] __se_sys_openat fs/open.c:1447 [inline] __x64_sys_openat+0x12d/0x210 fs/open.c:1447 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc9/0x570 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fea01147407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffe4033c730 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fea01059880 RCX: 00007fea01147407 RDX: 0000000000000000 RSI: 00007ffe4033df22 RDI: ffffffffffffff9c RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 00007ffe4033c980 R14: 00007fea018dd000 R15: 00005608f55f94d8 </TASK> The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888136699b40 pfn:0x136699 flags: 0x200000000000000(node=0|zone=2) raw: 0200000000000000 0000000000000000 00000000ffffffff 0000000000000000 raw: ffff888136699b40 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as freed page last allocated via order 2, migratetype Unmovable, gfp_mask 0x40dc0(GFP_KERNEL|__GFP_ZERO|__GFP_COMP), pid 5234, tgid 5234 (kworker/1:3), ts 2261051200008, free_ts 2262501793377 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1e1/0x250 mm/page_alloc.c:1884 prep_new_page mm/page_alloc.c:1892 [inline] get_page_from_freelist+0xd57/0x3b20 mm/page_alloc.c:3945 __alloc_frozen_pages_noprof+0x269/0x2230 mm/page_alloc.c:5240 alloc_pages_mpol+0xe8/0x410 mm/mempolicy.c:2486 ___kmalloc_large_node+0x104/0x150 mm/slub.c:5598 __kmalloc_large_noprof+0x1c/0x70 mm/slub.c:5619 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1094 [inline] em28xx_usb_probe+0x1eb/0xd30 drivers/media/usb/em28xx/em28xx-cards.c:3908 usb_probe_interface+0x303/0x8f0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:581 [inline] really_probe+0x241/0xa60 drivers/base/dd.c:659 __driver_probe_device+0x1de/0x400 drivers/base/dd.c:801 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:831 __device_attach_driver+0x1df/0x340 drivers/base/dd.c:959 bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500 __device_attach+0x1e4/0x4d0 drivers/base/dd.c:1031 device_initial_probe+0xaf/0xd0 drivers/base/dd.c:1086 bus_probe_device+0x64/0x160 drivers/base/bus.c:574 page last free pid 5234 tgid 5234 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1433 [inline] __free_frozen_pages+0x7d1/0x1010 mm/page_alloc.c:2973 kref_put.constprop.0.isra.0+0x4d/0x6d include/linux/kref.h:65 em28xx_usb_disconnect.cold+0x1e8/0x253 drivers/media/usb/em28xx/em28xx-cards.c:4207 usb_unbind_interface+0x1dd/0x9e0 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:571 [inline] device_remove+0x12a/0x180 drivers/base/dd.c:563 __device_release_driver drivers/base/dd.c:1282 [inline] device_release_driver_internal+0x42e/0x600 drivers/base/dd.c:1305 bus_remove_device+0x22f/0x440 drivers/base/bus.c:616 device_del+0x376/0x9b0 drivers/base/core.c:3878 usb_disable_device+0x367/0x810 drivers/usb/core/message.c:1418 usb_disconnect+0x2e2/0x9a0 drivers/usb/core/hub.c:2345 hub_port_connect drivers/usb/core/hub.c:5407 [inline] hub_port_connect_change drivers/usb/core/hub.c:5707 [inline] port_event drivers/usb/core/hub.c:5871 [inline] hub_event+0x1d0c/0x4af0 drivers/usb/core/hub.c:5953 process_one_work+0x9c2/0x1840 kernel/workqueue.c:3257 process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x5da/0xe40 kernel/workqueue.c:3421 kthread+0x3b3/0x730 kernel/kthread.c:463 ret_from_fork+0x6c3/0xa20 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246 Memory state around the buggy address: ffff888136699a00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888136699a80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888136699b00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888136699b80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888136699c00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================
| Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2026/02/14 08:09 | https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing | da87d45b1951 | 1e62d198 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-usb | KASAN: use-after-free Read in em28xx_v4l2_open | ||
| 2026/02/07 05:43 | https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing | da87d45b1951 | f20fc9f9 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-usb | KASAN: use-after-free Read in em28xx_v4l2_open | ||
| 2025/11/14 04:09 | https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing | 18514fd70ea4 | 07e030de | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-upstream-usb | KASAN: use-after-free Read in em28xx_v4l2_open |