microsoft 0003:045E:07DA.0002: ignoring exceeding usage max ================================================================== BUG: KASAN: slab-out-of-bounds in mon_copy_to_buff drivers/usb/mon/mon_bin.c:252 [inline] BUG: KASAN: slab-out-of-bounds in mon_bin_get_data drivers/usb/mon/mon_bin.c:420 [inline] BUG: KASAN: slab-out-of-bounds in mon_bin_event+0x12c1/0x23e0 drivers/usb/mon/mon_bin.c:606 Read of size 3648 at addr ffff88811d5eabc1 by task kworker/0:1/10 CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Not tainted 6.12.30-syzkaller #0 488566d8de834cacfabce4a6ba58e045276cfe8b Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: usb_hub_wq hub_event Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:94 dump_stack_lvl+0x10c/0x190 lib/dump_stack.c:120 print_address_description+0x71/0x220 mm/kasan/report.c:377 print_report+0x4a/0x70 mm/kasan/report.c:488 kasan_report+0x163/0x1a0 mm/kasan/report.c:601 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x299/0x2a0 mm/kasan/generic.c:189 __asan_memcpy+0x31/0x80 mm/kasan/shadow.c:105 mon_copy_to_buff drivers/usb/mon/mon_bin.c:252 [inline] mon_bin_get_data drivers/usb/mon/mon_bin.c:420 [inline] mon_bin_event+0x12c1/0x23e0 drivers/usb/mon/mon_bin.c:606 mon_bin_submit+0x2b/0x40 drivers/usb/mon/mon_bin.c:626 mon_bus_submit drivers/usb/mon/mon_main.c:89 [inline] mon_submit+0x1b6/0x230 drivers/usb/mon/mon_main.c:100 usbmon_urb_submit include/linux/usb/hcd.h:724 [inline] usb_hcd_submit_urb+0x12d/0x1960 drivers/usb/core/hcd.c:1518 usb_submit_urb+0x111b/0x1800 drivers/usb/core/urb.c:581 usb_start_wait_urb+0x11b/0x2f0 drivers/usb/core/message.c:59 usb_internal_control_msg drivers/usb/core/message.c:103 [inline] usb_control_msg+0x2b5/0x450 drivers/usb/core/message.c:154 usbhid_set_raw_report drivers/hid/usbhid/hid-core.c:928 [inline] usbhid_raw_request+0x457/0x590 drivers/hid/usbhid/hid-core.c:1296 __hid_request+0x245/0x3e0 drivers/hid/hid-core.c:1979 hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1950 [inline] hidinput_connect+0x23d8/0x3300 drivers/hid/hid-input.c:2327 hid_connect+0x49a/0x19e0 drivers/hid/hid-core.c:2236 hid_hw_start+0xcb/0x160 drivers/hid/hid-core.c:2351 ms_probe+0x194/0x460 drivers/hid/hid-microsoft.c:391 __hid_device_probe drivers/hid/hid-core.c:2702 [inline] hid_device_probe+0x2b5/0x5d0 drivers/hid/hid-core.c:2739 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cc/0x880 drivers/base/dd.c:657 __driver_probe_device+0x195/0x280 drivers/base/dd.c:799 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829 __device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957 bus_for_each_drv+0x25c/0x2f0 drivers/base/bus.c:459 __device_attach+0x2b7/0x3a0 drivers/base/dd.c:1029 device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078 bus_probe_device+0x188/0x270 drivers/base/bus.c:534 device_add+0x82a/0xb60 drivers/base/core.c:3692 hid_add_device+0x39b/0x560 drivers/hid/hid-core.c:2885 usbhid_probe+0xe15/0x1230 drivers/hid/usbhid/hid-core.c:1432 usb_probe_interface+0x68d/0xbf0 drivers/usb/core/driver.c:399 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cc/0x880 drivers/base/dd.c:657 __driver_probe_device+0x195/0x280 drivers/base/dd.c:799 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829 __device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957 bus_for_each_drv+0x25c/0x2f0 drivers/base/bus.c:459 __device_attach+0x2b7/0x3a0 drivers/base/dd.c:1029 device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078 bus_probe_device+0x188/0x270 drivers/base/bus.c:534 device_add+0x82a/0xb60 drivers/base/core.c:3692 usb_set_configuration+0x1ad1/0x2030 drivers/usb/core/message.c:2210 usb_generic_driver_probe+0x95/0x160 drivers/usb/core/generic.c:254 usb_probe_device+0x1ce/0x370 drivers/usb/core/driver.c:294 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cc/0x880 drivers/base/dd.c:657 __driver_probe_device+0x195/0x280 drivers/base/dd.c:799 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829 __device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957 bus_for_each_drv+0x25c/0x2f0 drivers/base/bus.c:459 __device_attach+0x2b7/0x3a0 drivers/base/dd.c:1029 device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078 bus_probe_device+0x188/0x270 drivers/base/bus.c:534 device_add+0x82a/0xb60 drivers/base/core.c:3692 usb_new_device+0x9ed/0x1590 drivers/usb/core/hub.c:2662 hub_port_connect drivers/usb/core/hub.c:5533 [inline] hub_port_connect_change drivers/usb/core/hub.c:5673 [inline] port_event drivers/usb/core/hub.c:5833 [inline] hub_event+0x26a9/0x4150 drivers/usb/core/hub.c:5915 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x7d5/0x1020 kernel/workqueue.c:3310 worker_thread+0x99f/0xd90 kernel/workqueue.c:3391 kthread+0x2c7/0x370 kernel/kthread.c:389 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Allocated by task 10: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:68 kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:565 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0x96/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4283 [inline] __kmalloc_noprof+0x1e2/0x480 mm/slub.c:4295 kmalloc_noprof include/linux/slab.h:882 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] hid_alloc_report_buf drivers/hid/hid-core.c:1880 [inline] __hid_request+0xdb/0x3e0 drivers/hid/hid-core.c:1970 hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1950 [inline] hidinput_connect+0x23d8/0x3300 drivers/hid/hid-input.c:2327 hid_connect+0x49a/0x19e0 drivers/hid/hid-core.c:2236 hid_hw_start+0xcb/0x160 drivers/hid/hid-core.c:2351 ms_probe+0x194/0x460 drivers/hid/hid-microsoft.c:391 __hid_device_probe drivers/hid/hid-core.c:2702 [inline] hid_device_probe+0x2b5/0x5d0 drivers/hid/hid-core.c:2739 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cc/0x880 drivers/base/dd.c:657 __driver_probe_device+0x195/0x280 drivers/base/dd.c:799 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829 __device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957 bus_for_each_drv+0x25c/0x2f0 drivers/base/bus.c:459 __device_attach+0x2b7/0x3a0 drivers/base/dd.c:1029 device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078 bus_probe_device+0x188/0x270 drivers/base/bus.c:534 device_add+0x82a/0xb60 drivers/base/core.c:3692 hid_add_device+0x39b/0x560 drivers/hid/hid-core.c:2885 usbhid_probe+0xe15/0x1230 drivers/hid/usbhid/hid-core.c:1432 usb_probe_interface+0x68d/0xbf0 drivers/usb/core/driver.c:399 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cc/0x880 drivers/base/dd.c:657 __driver_probe_device+0x195/0x280 drivers/base/dd.c:799 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829 __device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957 bus_for_each_drv+0x25c/0x2f0 drivers/base/bus.c:459 __device_attach+0x2b7/0x3a0 drivers/base/dd.c:1029 device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078 bus_probe_device+0x188/0x270 drivers/base/bus.c:534 device_add+0x82a/0xb60 drivers/base/core.c:3692 usb_set_configuration+0x1ad1/0x2030 drivers/usb/core/message.c:2210 usb_generic_driver_probe+0x95/0x160 drivers/usb/core/generic.c:254 usb_probe_device+0x1ce/0x370 drivers/usb/core/driver.c:294 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cc/0x880 drivers/base/dd.c:657 __driver_probe_device+0x195/0x280 drivers/base/dd.c:799 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829 __device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957 bus_for_each_drv+0x25c/0x2f0 drivers/base/bus.c:459 __device_attach+0x2b7/0x3a0 drivers/base/dd.c:1029 device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078 bus_probe_device+0x188/0x270 drivers/base/bus.c:534 device_add+0x82a/0xb60 drivers/base/core.c:3692 usb_new_device+0x9ed/0x1590 drivers/usb/core/hub.c:2662 hub_port_connect drivers/usb/core/hub.c:5533 [inline] hub_port_connect_change drivers/usb/core/hub.c:5673 [inline] port_event drivers/usb/core/hub.c:5833 [inline] hub_event+0x26a9/0x4150 drivers/usb/core/hub.c:5915 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x7d5/0x1020 kernel/workqueue.c:3310 worker_thread+0x99f/0xd90 kernel/workqueue.c:3391 kthread+0x2c7/0x370 kernel/kthread.c:389 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 The buggy address belongs to the object at ffff88811d5eabc0 which belongs to the cache kmalloc-8 of size 8 The buggy address is located 1 bytes inside of allocated 7-byte region [ffff88811d5eabc0, ffff88811d5eabc7) The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11d5ea flags: 0x4000000000000000(zone=1) page_type: f5(slab) raw: 4000000000000000 ffff888100041500 dead000000000122 0000000000000000 raw: 0000000000000000 0000000080800080 00000001f5000000 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 0x152c00(GFP_NOIO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_HARDWALL), pid 368, tgid 368 (kworker/0:3), ts 56881490537, free_ts 56563439695 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x249/0x3a0 mm/page_alloc.c:1558 prep_new_page mm/page_alloc.c:1566 [inline] get_page_from_freelist+0x3d2c/0x3dd0 mm/page_alloc.c:3511 __alloc_pages_noprof+0x23a/0x4e0 mm/page_alloc.c:4789 alloc_slab_page include/linux/sched.h:-1 [inline] allocate_slab+0xbe/0x540 mm/slub.c:2595 new_slab mm/slub.c:2649 [inline] ___slab_alloc+0x59a/0x920 mm/slub.c:3837 __slab_alloc mm/slub.c:3927 [inline] __slab_alloc_node mm/slub.c:3980 [inline] slab_alloc_node mm/slub.c:4141 [inline] __kmalloc_cache_noprof+0x21d/0x380 mm/slub.c:4309 kmalloc_noprof include/linux/slab.h:878 [inline] usb_control_msg+0xaf/0x450 drivers/usb/core/message.c:144 usb_clear_port_feature drivers/usb/core/hub.c:453 [inline] hub_port_reset+0x389/0x1570 drivers/usb/core/hub.c:3074 hub_port_init+0x9e5/0x2690 drivers/usb/core/hub.c:5022 hub_port_connect drivers/usb/core/hub.c:5462 [inline] hub_port_connect_change drivers/usb/core/hub.c:5673 [inline] port_event drivers/usb/core/hub.c:5833 [inline] hub_event+0x226c/0x4150 drivers/usb/core/hub.c:5915 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x7d5/0x1020 kernel/workqueue.c:3310 worker_thread+0x99f/0xd90 kernel/workqueue.c:3391 kthread+0x2c7/0x370 kernel/kthread.c:389 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 page last free pid 485 tgid 485 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_unref_page+0x9d6/0xbd0 mm/page_alloc.c:2692 __free_pages+0x6b/0x1c0 mm/page_alloc.c:4876 __free_slab+0xc5/0x120 mm/slub.c:2666 free_slab+0x18/0xf0 mm/slub.c:2689 discard_slab+0x23/0x40 mm/slub.c:2695 __slab_free+0x201/0x2b0 mm/slub.c:4509 do_slab_free mm/slub.c:4550 [inline] ___cache_free+0xc9/0xe0 mm/slub.c:4656 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0xb5/0x130 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x180 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x28/0x90 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4104 [inline] slab_alloc_node mm/slub.c:4153 [inline] kmem_cache_alloc_noprof+0x127/0x360 mm/slub.c:4160 getname_flags+0xee/0x650 fs/namei.c:139 vfs_fstatat+0xcb/0x1d0 fs/stat.c:340 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat+0xcd/0x340 fs/stat.c:499 __x64_sys_newfstatat+0x9f/0xc0 fs/stat.c:499 x64_sys_call+0x1821/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:263 Memory state around the buggy address: ffff88811d5eaa80: fc fc fc fc fc fc fc fc fc fc fc fc fa fc fc fc ffff88811d5eab00: 04 fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88811d5eab80: fc fc fc fc fc fc fc fc 07 fc fc fc fa fc fc fc ^ ffff88811d5eac00: fc fc fc fc 00 fc fc fc fa fc fc fc fc fc fc fc ffff88811d5eac80: fa fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== microsoft 0003:045E:07DA.0002: No inputs registered, leaving microsoft 0003:045E:07DA.0002: hidraw2: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.5-1/input0 microsoft 0003:045E:07DA.0002: no inputs found microsoft 0003:045E:07DA.0002: could not initialize ff, continuing anyway usb 6-1: USB disconnect, device number 2 usb 6-1: new high-speed USB device number 3 using dummy_hcd usb 6-1: Using ep0 maxpacket: 16 usb 6-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7 usb 6-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0 usb 6-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9 usb 6-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00 usb 6-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 6-1: config 0 descriptor?? microsoft 0003:045E:07DA.0006: unknown main item tag 0x0 microsoft 0003:045E:07DA.0006: ignoring exceeding usage max microsoft 0003:045E:07DA.0006: No inputs registered, leaving microsoft 0003:045E:07DA.0006: hidraw0: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.5-1/input0 microsoft 0003:045E:07DA.0006: no inputs found microsoft 0003:045E:07DA.0006: could not initialize ff, continuing anyway usb 6-1: USB disconnect, device number 3 usb 6-1: new high-speed USB device number 4 using dummy_hcd usb 6-1: Using ep0 maxpacket: 16 usb 6-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7 usb 6-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0 usb 6-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9 usb 6-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00 usb 6-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 6-1: config 0 descriptor?? microsoft 0003:045E:07DA.000A: unknown main item tag 0x0 microsoft 0003:045E:07DA.000A: ignoring exceeding usage max microsoft 0003:045E:07DA.000A: No inputs registered, leaving microsoft 0003:045E:07DA.000A: hidraw0: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.5-1/input0 microsoft 0003:045E:07DA.000A: no inputs found microsoft 0003:045E:07DA.000A: could not initialize ff, continuing anyway usb 6-1: USB disconnect, device number 4 usb 6-1: new high-speed USB device number 5 using dummy_hcd usb 6-1: Using ep0 maxpacket: 16 usb 6-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7 usb 6-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0 usb 6-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9 usb 6-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00 usb 6-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 6-1: config 0 descriptor?? microsoft 0003:045E:07DA.000E: unknown main item tag 0x0 microsoft 0003:045E:07DA.000E: ignoring exceeding usage max microsoft 0003:045E:07DA.000E: No inputs registered, leaving microsoft 0003:045E:07DA.000E: hidraw0: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.5-1/input0 microsoft 0003:045E:07DA.000E: no inputs found microsoft 0003:045E:07DA.000E: could not initialize ff, continuing anyway usb 6-1: USB disconnect, device number 5 usb 6-1: new high-speed USB device number 6 using dummy_hcd usb 6-1: Using ep0 maxpacket: 16 usb 6-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7 usb 6-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0 usb 6-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9 usb 6-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00 usb 6-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 6-1: config 0 descriptor?? microsoft 0003:045E:07DA.0012: unknown main item tag 0x0 microsoft 0003:045E:07DA.0012: ignoring exceeding usage max microsoft 0003:045E:07DA.0012: No inputs registered, leaving microsoft 0003:045E:07DA.0012: hidraw0: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.5-1/input0 microsoft 0003:045E:07DA.0012: no inputs found microsoft 0003:045E:07DA.0012: could not initialize ff, continuing anyway usb 6-1: USB disconnect, device number 6 usb 6-1: new high-speed USB device number 7 using dummy_hcd usb 6-1: Using ep0 maxpacket: 16 usb 6-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7 usb 6-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0 usb 6-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9 usb 6-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00 usb 6-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 6-1: config 0 descriptor??