usb 4-1: USB disconnect, device number 4 ================================================================== BUG: KASAN: slab-out-of-bounds in __lock_acquire+0x10c/0x7d80 kernel/locking/lockdep.c:5005 Read of size 8 at addr ffff88802e0e9cd0 by task kworker/0:3/5811 CPU: 0 PID: 5811 Comm: kworker/0:3 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: usb_hub_wq hub_event Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0xa8/0x210 mm/kasan/report.c:468 kasan_report+0x117/0x150 mm/kasan/report.c:581 __lock_acquire+0x10c/0x7d80 kernel/locking/lockdep.c:5005 lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb4/0x100 kernel/locking/spinlock.c:162 steelseries_remove+0x84/0x180 drivers/hid/hid-steelseries.c:564 hid_device_remove+0x222/0x360 drivers/hid/hid-core.c:-1 device_remove drivers/base/dd.c:626 [inline] __device_release_driver drivers/base/dd.c:1351 [inline] device_release_driver_internal+0x408/0x6f0 drivers/base/dd.c:1374 bus_remove_device+0x43b/0x520 drivers/base/bus.c:624 device_del+0x51f/0x910 drivers/base/core.c:3889 hid_remove_device drivers/hid/hid-core.c:2915 [inline] hid_destroy_device+0x6a/0x100 drivers/hid/hid-core.c:2935 usbhid_disconnect+0x9f/0xc0 drivers/hid/usbhid/hid-core.c:1474 usb_unbind_interface+0x207/0x870 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:628 [inline] __device_release_driver drivers/base/dd.c:1351 [inline] device_release_driver_internal+0x458/0x6f0 drivers/base/dd.c:1374 bus_remove_device+0x43b/0x520 drivers/base/bus.c:624 device_del+0x51f/0x910 drivers/base/core.c:3889 usb_disable_device+0x3ee/0x8a0 drivers/usb/core/message.c:1474 usb_disconnect+0x340/0x8a0 drivers/usb/core/hub.c:2320 hub_port_connect drivers/usb/core/hub.c:5374 [inline] hub_port_connect_change drivers/usb/core/hub.c:5674 [inline] port_event drivers/usb/core/hub.c:5838 [inline] hub_event+0x1d69/0x4a80 drivers/usb/core/hub.c:5920 process_one_work kernel/workqueue.c:2657 [inline] process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Allocated by task 27: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4e/0x70 mm/kasan/common.c:53 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:384 kmalloc include/linux/slab.h:600 [inline] kzalloc include/linux/slab.h:721 [inline] steelseries_srws1_probe drivers/hid/hid-steelseries.c:253 [inline] steelseries_probe+0x1e1/0xe00 drivers/hid/hid-steelseries.c:528 __hid_device_probe drivers/hid/hid-core.c:2681 [inline] hid_device_probe+0x290/0x5a0 drivers/hid/hid-core.c:2718 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x247/0xae0 drivers/base/dd.c:717 __driver_probe_device+0x1f5/0x390 drivers/base/dd.c:879 driver_probe_device+0x4f/0x420 drivers/base/dd.c:909 __device_attach_driver+0x2ca/0x510 drivers/base/dd.c:1037 bus_for_each_drv+0x252/0x2e0 drivers/base/bus.c:459 __device_attach+0x2c1/0x420 drivers/base/dd.c:1109 bus_probe_device+0x180/0x260 drivers/base/bus.c:580 device_add+0x87c/0xc40 drivers/base/core.c:3700 hid_add_device+0x365/0x500 drivers/hid/hid-core.c:2864 usbhid_probe+0xe43/0x1260 drivers/hid/usbhid/hid-core.c:1447 usb_probe_interface+0x5c2/0xaf0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x247/0xae0 drivers/base/dd.c:717 __driver_probe_device+0x1f5/0x390 drivers/base/dd.c:879 driver_probe_device+0x4f/0x420 drivers/base/dd.c:909 __device_attach_driver+0x2ca/0x510 drivers/base/dd.c:1037 bus_for_each_drv+0x252/0x2e0 drivers/base/bus.c:459 __device_attach+0x2c1/0x420 drivers/base/dd.c:1109 bus_probe_device+0x180/0x260 drivers/base/bus.c:580 device_add+0x87c/0xc40 drivers/base/core.c:3700 usb_set_configuration+0x1ad0/0x2150 drivers/usb/core/message.c:2265 usb_generic_driver_probe+0x8d/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x12a/0x260 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x247/0xae0 drivers/base/dd.c:717 __driver_probe_device+0x1f5/0x390 drivers/base/dd.c:879 driver_probe_device+0x4f/0x420 drivers/base/dd.c:909 __device_attach_driver+0x2ca/0x510 drivers/base/dd.c:1037 bus_for_each_drv+0x252/0x2e0 drivers/base/bus.c:459 __device_attach+0x2c1/0x420 drivers/base/dd.c:1109 bus_probe_device+0x180/0x260 drivers/base/bus.c:580 device_add+0x87c/0xc40 drivers/base/core.c:3700 usb_new_device+0x995/0x1550 drivers/usb/core/hub.c:2665 hub_port_connect drivers/usb/core/hub.c:5534 [inline] hub_port_connect_change drivers/usb/core/hub.c:5674 [inline] port_event drivers/usb/core/hub.c:5838 [inline] hub_event+0x29d5/0x4a80 drivers/usb/core/hub.c:5920 process_one_work kernel/workqueue.c:2657 [inline] process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 The buggy address belongs to the object at ffff88802e0e9c00 which belongs to the cache kmalloc-192 of size 192 The buggy address is located 72 bytes to the right of allocated 136-byte region [ffff88802e0e9c00, ffff88802e0e9c88) The buggy address belongs to the physical page: page:ffffea0000b83a40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2e0e9 flags: 0xfff00000000800(slab|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000800 ffff888017c41a00 ffffea0000977b40 0000000000000002 raw: 0000000000000000 0000000000100010 00000001ffffffff 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 0x112cc0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY), pid 5852, tgid 5850 (syz.3.4), ts 90277386704, free_ts 90261573180 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1582 prep_new_page mm/page_alloc.c:1589 [inline] get_page_from_freelist+0x2181/0x22a0 mm/page_alloc.c:3221 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4501 __alloc_pages_node include/linux/gfp.h:237 [inline] alloc_slab_page+0x4f/0x180 mm/slub.c:1883 allocate_slab mm/slub.c:2028 [inline] new_slab+0x87/0x2d0 mm/slub.c:2081 ___slab_alloc+0xc5c/0x12f0 mm/slub.c:3253 __slab_alloc mm/slub.c:3339 [inline] __slab_alloc_node mm/slub.c:3392 [inline] slab_alloc_node mm/slub.c:3485 [inline] __kmem_cache_alloc_node+0x11f/0x250 mm/slub.c:3534 __do_kmalloc_node mm/slab_common.c:1006 [inline] __kmalloc_node+0xa6/0x240 mm/slab_common.c:1014 kmalloc_array_node include/linux/slab.h:698 [inline] kcalloc_node include/linux/slab.h:703 [inline] memcg_alloc_slab_cgroups+0x85/0x120 mm/memcontrol.c:2928 memcg_slab_post_alloc_hook mm/slab.h:535 [inline] slab_post_alloc_hook+0xec/0x4d0 mm/slab.h:778 slab_alloc_node mm/slub.c:3495 [inline] slab_alloc mm/slub.c:3503 [inline] __kmem_cache_alloc_lru mm/slub.c:3510 [inline] kmem_cache_alloc+0x17e/0x2c0 mm/slub.c:3519 vma_lock_alloc kernel/fork.c:461 [inline] vm_area_alloc+0x10e/0x1d0 kernel/fork.c:492 __mmap_region mm/mmap.c:2770 [inline] mmap_region+0xcfa/0x2090 mm/mmap.c:2941 do_mmap+0x98f/0x10a0 mm/mmap.c:1385 vm_mmap_pgoff+0x1c4/0x3f0 mm/util.c:556 ksys_mmap_pgoff+0x4c9/0x720 mm/mmap.c:1431 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1182 [inline] free_unref_page_prepare+0x7d7/0x8f0 mm/page_alloc.c:2366 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2459 discard_slab mm/slub.c:2127 [inline] __unfreeze_partials+0x1cf/0x210 mm/slub.c:2667 put_cpu_partial+0x17c/0x250 mm/slub.c:2743 __slab_free+0x319/0x400 mm/slub.c:3700 qlink_free mm/kasan/quarantine.c:166 [inline] qlist_free_all+0x75/0xd0 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x6a/0x4d0 mm/slab.h:770 slab_alloc_node mm/slub.c:3495 [inline] __kmem_cache_alloc_node+0x194/0x250 mm/slub.c:3534 __do_kmalloc_node mm/slab_common.c:1006 [inline] __kmalloc+0xa7/0x240 mm/slab_common.c:1020 kmalloc_array include/linux/slab.h:637 [inline] iovec_from_user+0x87/0x240 lib/iov_iter.c:1416 __import_iovec+0x13d/0x850 lib/iov_iter.c:1470 io_msg_copy_hdr+0x122/0x310 io_uring/net.c:280 io_recvmsg_copy_hdr+0x1b3/0x620 io_uring/net.c:596 io_recvmsg+0x1dc/0x2530 io_uring/net.c:839 Memory state around the buggy address: ffff88802e0e9b80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ffff88802e0e9c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88802e0e9c80: 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88802e0e9d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88802e0e9d80: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc ==================================================================