syzbot |
sign-in | mailing list | source | docs |
xpad 4-1:179.65: xpad_irq_in - usb_submit_urb failed with result -19 xpad 4-1:179.65: xpad_irq_out - usb_submit_urb failed with result -19 ================================================================== BUG: KASAN: use-after-free in debug_spin_lock_before kernel/locking/spinlock_debug.c:85 [inline] BUG: KASAN: use-after-free in do_raw_spin_lock+0x283/0x2f0 kernel/locking/spinlock_debug.c:114 Read of size 4 at addr ffff8880239dd05c by task syz.4.5786/16633 CPU: 0 PID: 16633 Comm: syz.4.5786 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Call Trace: <IRQ> dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 debug_spin_lock_before kernel/locking/spinlock_debug.c:85 [inline] do_raw_spin_lock+0x283/0x2f0 kernel/locking/spinlock_debug.c:114 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:117 [inline] _raw_spin_lock_irqsave+0xbc/0x100 kernel/locking/spinlock.c:162 __wake_up_common_lock kernel/sched/wait.c:137 [inline] __wake_up+0xf4/0x180 kernel/sched/wait.c:157 __usb_hcd_giveback_urb+0x396/0x520 drivers/usb/core/hcd.c:1677 dummy_timer+0x8a8/0x31e0 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648 expire_timers kernel/time/timer.c:1699 [inline] __run_timers+0x53e/0x800 kernel/time/timer.c:1970 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983 handle_softirqs+0x339/0x830 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 </IRQ> <TASK> asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:lock_acquire+0x208/0x400 kernel/locking/lockdep.c:5627 Code: f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 3d 04 f8 0f 85 f1 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 43 c7 44 3d 08 00 00 00 00 65 48 8b 04 RSP: 0018:ffffc900041ff6e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: c08af696e293a800 RDX: 0000000000000000 RSI: ffffffff8a2b3a20 RDI: ffffffff8a79f980 RBP: ffffc900041ff7e8 R08: dffffc0000000000 R09: 1ffffffff203a818 R10: dffffc0000000000 R11: fffffbfff203a819 R12: ffffffff8c31eaa0 R13: 1ffff9200083fee8 R14: 0000000000000246 R15: dffffc0000000000 rcu_lock_acquire+0x20/0x30 include/linux/rcupdate.h:313 rcu_read_lock include/linux/rcupdate.h:740 [inline] __mod_lruvec_page_state+0x98/0x330 mm/memcontrol.c:778 __dec_lruvec_page_state include/linux/vmstat.h:543 [inline] page_remove_rmap+0x6b8/0x10f0 mm/rmap.c:1372 zap_pte_range mm/memory.c:1384 [inline] zap_pmd_range mm/memory.c:1505 [inline] zap_pud_range mm/memory.c:1534 [inline] zap_p4d_range mm/memory.c:1555 [inline] unmap_page_range+0xf96/0x2500 mm/memory.c:1576 unmap_vmas+0x131/0x250 mm/memory.c:1653 exit_mmap+0x3b9/0x640 mm/mmap.c:3216 __mmput+0x115/0x3b0 kernel/fork.c:1127 exit_mm+0x588/0x6e0 kernel/exit.c:550 do_exit+0x5a9/0x20c0 kernel/exit.c:870 do_group_exit+0x12e/0x300 kernel/exit.c:997 __do_sys_exit_group kernel/exit.c:1008 [inline] __se_sys_exit_group kernel/exit.c:1006 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1006 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f1ee5601799 Code: Unable to access opcode bytes at RIP 0x7f1ee560176f. RSP: 002b:00007ffdcdcfca08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1ee5601799 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffdcdcfca6c R08: 0000000000000000 R09: 00000000000927c0 R10: 00007f1ee587b038 R11: 0000000000000246 R12: 000000000000047c R13: 00000000000927c0 R14: 000000000005c7ce R15: 00007ffdcdcfcac0 </TASK> Allocated by task 13: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] __kasan_kmalloc+0xb5/0xf0 mm/kasan/common.c:522 kmalloc include/linux/slab.h:607 [inline] kzalloc include/linux/slab.h:738 [inline] xpad_probe+0x3f6/0x1b20 drivers/input/joystick/xpad.c:1790 usb_probe_interface+0x5c5/0xb20 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x284/0xc80 drivers/base/dd.c:595 __driver_probe_device+0x18c/0x330 drivers/base/dd.c:755 driver_probe_device+0x4f/0x420 drivers/base/dd.c:785 __device_attach_driver+0x2b0/0x500 drivers/base/dd.c:907 bus_for_each_drv+0x184/0x210 drivers/base/bus.c:429 __device_attach+0x2a8/0x480 drivers/base/dd.c:979 bus_probe_device+0xbc/0x1e0 drivers/base/bus.c:489 device_add+0xa00/0xfb0 drivers/base/core.c:3412 usb_set_configuration+0x1991/0x1fd0 drivers/usb/core/message.c:2165 usb_generic_driver_probe+0x89/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x139/0x270 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x284/0xc80 drivers/base/dd.c:595 __driver_probe_device+0x18c/0x330 drivers/base/dd.c:755 driver_probe_device+0x4f/0x420 drivers/base/dd.c:785 __device_attach_driver+0x2b0/0x500 drivers/base/dd.c:907 bus_for_each_drv+0x184/0x210 drivers/base/bus.c:429 __device_attach+0x2a8/0x480 drivers/base/dd.c:979 bus_probe_device+0xbc/0x1e0 drivers/base/bus.c:489 device_add+0xa00/0xfb0 drivers/base/core.c:3412 usb_new_device+0xd65/0x1660 drivers/usb/core/hub.c:2632 hub_port_connect drivers/usb/core/hub.c:5497 [inline] hub_port_connect_change drivers/usb/core/hub.c:5637 [inline] port_event drivers/usb/core/hub.c:5799 [inline] hub_event+0x2e4a/0x55e0 drivers/usb/core/hub.c:5881 process_one_work+0x85f/0x1010 kernel/workqueue.c:2310 worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Freed by task 4635: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd5/0x110 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1710 [inline] slab_free_freelist_hook+0xea/0x170 mm/slub.c:1736 slab_free mm/slub.c:3504 [inline] kfree+0xef/0x2a0 mm/slub.c:4564 xpad_disconnect+0x34c/0x470 drivers/input/joystick/xpad.c:1938 usb_unbind_interface+0x1ee/0x860 drivers/usb/core/driver.c:458 __device_release_driver drivers/base/dd.c:1229 [inline] device_release_driver_internal+0x4b4/0x750 drivers/base/dd.c:1262 bus_remove_device+0x2e2/0x400 drivers/base/bus.c:531 device_del+0x6af/0xaf0 drivers/base/core.c:3600 usb_disable_device+0x3e2/0x890 drivers/usb/core/message.c:1414 usb_disconnect+0x348/0x8a0 drivers/usb/core/hub.c:2287 hub_port_connect drivers/usb/core/hub.c:5341 [inline] hub_port_connect_change drivers/usb/core/hub.c:5637 [inline] port_event drivers/usb/core/hub.c:5799 [inline] hub_event+0x1ecb/0x55e0 drivers/usb/core/hub.c:5881 process_one_work+0x85f/0x1010 kernel/workqueue.c:2310 worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 The buggy address belongs to the object at ffff8880239dd000 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 92 bytes inside of 1024-byte region [ffff8880239dd000, ffff8880239dd400) The buggy address belongs to the page: page:ffffea00008e7600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x239d8 head:ffffea00008e7600 order:3 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 dead000000000100 dead000000000122 ffff888016c41dc0 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 9, ts 73614953584, free_ts 73589407631 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1bbd/0x1ca0 mm/page_alloc.c:4192 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501 alloc_slab_page mm/slub.c:1780 [inline] allocate_slab mm/slub.c:1917 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1980 ___slab_alloc+0x80a/0xdd0 mm/slub.c:3013 __slab_alloc mm/slub.c:3100 [inline] slab_alloc_node mm/slub.c:3191 [inline] __kmalloc_node_track_caller+0x1fc/0x3a0 mm/slub.c:4963 kmalloc_reserve net/core/skbuff.c:356 [inline] __alloc_skb+0x22c/0x750 net/core/skbuff.c:427 alloc_skb include/linux/skbuff.h:1162 [inline] nlmsg_new include/net/netlink.h:953 [inline] inet6_rt_notify+0xdd/0x290 net/ipv6/route.c:6181 fib6_add_rt2node net/ipv6/ip6_fib.c:1255 [inline] fib6_add+0x1d4d/0x3d40 net/ipv6/ip6_fib.c:1484 __ip6_ins_rt net/ipv6/route.c:1305 [inline] ip6_route_add+0x86/0x130 net/ipv6/route.c:3869 addrconf_add_mroute net/ipv6/addrconf.c:2510 [inline] addrconf_add_dev+0x295/0x3c0 net/ipv6/addrconf.c:2528 addrconf_dev_config net/ipv6/addrconf.c:3405 [inline] addrconf_init_auto_addrs+0x6a0/0xb00 net/ipv6/addrconf.c:3493 addrconf_notify+0xa6b/0xf00 net/ipv6/addrconf.c:3662 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:391 netdev_state_change+0xe0/0x160 net/core/dev.c:1453 linkwatch_do_dev+0x10d/0x160 net/core/link_watch.c:167 __linkwatch_run_queue+0x4b1/0x7c0 net/core/link_watch.c:213 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x8f/0x2a0 mm/page_alloc.c:3396 free_slab mm/slub.c:2020 [inline] discard_slab mm/slub.c:2026 [inline] __unfreeze_partials+0x1a5/0x200 mm/slub.c:2512 put_cpu_partial+0x12d/0x190 mm/slub.c:2592 qlist_free_all+0x35/0x90 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x150/0x160 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xd0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3225 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc_trace+0x103/0x2a0 mm/slub.c:3250 kmalloc include/linux/slab.h:607 [inline] kzalloc include/linux/slab.h:738 [inline] nsim_fib4_rt_create drivers/net/netdevsim/fib.c:278 [inline] nsim_fib4_rt_insert drivers/net/netdevsim/fib.c:424 [inline] nsim_fib4_event drivers/net/netdevsim/fib.c:462 [inline] nsim_fib_event drivers/net/netdevsim/fib.c:882 [inline] nsim_fib_event_work+0x88d/0x33e0 drivers/net/netdevsim/fib.c:1483 process_one_work+0x85f/0x1010 kernel/workqueue.c:2310 process_scheduled_works kernel/workqueue.c:2373 [inline] worker_thread+0xd60/0x1290 kernel/workqueue.c:2459 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Memory state around the buggy address: ffff8880239dcf00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880239dcf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880239dd000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880239dd080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880239dd100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ---------------- Code disassembly (best guess): 0: f7 84 24 80 00 00 00 testl $0x200,0x80(%rsp) 7: 00 02 00 00 b: 43 c6 44 3d 04 f8 movb $0xf8,0x4(%r13,%r15,1) 11: 0f 85 f1 00 00 00 jne 0x108 17: 41 f7 c6 00 02 00 00 test $0x200,%r14d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp) 28: e0 45 * 2a: 4b c7 44 3d 00 00 00 movq $0x0,0x0(%r13,%r15,1) <-- trapping instruction 31: 00 00 33: 43 c7 44 3d 08 00 00 movl $0x0,0x8(%r13,%r15,1) 3a: 00 00 3c: 65 gs 3d: 48 rex.W 3e: 8b .byte 0x8b 3f: 04 .byte 0x4
| Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2026/03/17 08:06 | linux-5.15.y | 91d48252ad4b | c01bca74 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/03/11 21:04 | linux-5.15.y | 91d48252ad4b | 2d88ab01 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/03/06 02:53 | linux-5.15.y | 91d48252ad4b | 31e9c887 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/02/26 02:50 | linux-5.15.y | 3330a8d33e08 | e0f78d93 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/02/25 23:13 | linux-5.15.y | 3330a8d33e08 | e0f78d93 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/02/24 11:52 | linux-5.15.y | 3330a8d33e08 | 96b1aa46 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/02/19 17:22 | linux-5.15.y | 3330a8d33e08 | 746545b8 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/02/17 04:13 | linux-5.15.y | e45d5d41c134 | e439b951 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/02/11 12:16 | linux-5.15.y | 7b232985052f | 75707236 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/02/06 04:52 | linux-5.15.y | 9eec9a14ee10 | f03c4191 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/02/05 11:01 | linux-5.15.y | 9eec9a14ee10 | 4936e85c | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/01/31 14:06 | linux-5.15.y | 9eec9a14ee10 | afc0c4d4 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/01/28 01:24 | linux-5.15.y | 9eec9a14ee10 | 3029c699 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/01/20 12:50 | linux-5.15.y | 9eec9a14ee10 | 06648d9c | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2026/01/17 01:58 | linux-5.15.y | 68efe5a6c16a | 20d37d28 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2025/12/31 18:38 | linux-5.15.y | 68efe5a6c16a | d6526ea3 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2025/12/22 07:21 | linux-5.15.y | 68efe5a6c16a | d6526ea3 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2025/12/17 00:18 | linux-5.15.y | 68efe5a6c16a | d6526ea3 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2025/12/03 11:36 | linux-5.15.y | cc5ec8769306 | d6526ea3 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2025/11/30 06:54 | linux-5.15.y | cc5ec8769306 | d6526ea3 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2025/11/01 12:22 | linux-5.15.y | cc5ec8769306 | 2c50b6a9 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2025/10/21 12:11 | linux-5.15.y | ac56c046adf4 | 9832ed61 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2025/10/21 03:35 | linux-5.15.y | ac56c046adf4 | 9832ed61 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb | ||
| 2025/10/17 22:12 | linux-5.15.y | 29e53a5b1c4f | 1c8c8cd8 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | KASAN: use-after-free Read in __usb_hcd_giveback_urb |