microsoft 0003:045E:07DA.0004: unknown main item tag 0x0 microsoft 0003:045E:07DA.0004: 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+0x1237/0x2300 drivers/usb/mon/mon_bin.c:606 Read of size 3776 at addr ffff88811e478521 by task kworker/1:2/311 CPU: 1 UID: 0 PID: 311 Comm: kworker/1:2 Not tainted 6.16.0-rc4-syzkaller #0 PREEMPT 8c7f24bdd82d3cade691c8a7b6352ed2d5718f5a 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+0x10b/0x180 lib/dump_stack.c:120 print_address_description+0x72/0x230 mm/kasan/report.c:408 print_report+0x67/0x90 mm/kasan/report.c:521 kasan_report+0x163/0x1a0 mm/kasan/report.c:634 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x2bc/0x2d0 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+0x1237/0x2300 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+0x1b3/0x230 drivers/usb/mon/mon_main.c:100 usbmon_urb_submit include/linux/usb/hcd.h:724 [inline] usb_hcd_submit_urb+0x130/0x1a20 drivers/usb/core/hcd.c:1518 usb_submit_urb+0x1163/0x17e0 drivers/usb/core/urb.c:581 usb_start_wait_urb+0x11a/0x2f0 drivers/usb/core/message.c:59 usb_internal_control_msg drivers/usb/core/message.c:103 [inline] usb_control_msg+0x259/0x490 drivers/usb/core/message.c:154 usbhid_set_raw_report drivers/hid/usbhid/hid-core.c:928 [inline] usbhid_raw_request+0x45d/0x590 drivers/hid/usbhid/hid-core.c:1299 __hid_request+0x1e5/0x410 drivers/hid/hid-core.c:1989 hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1950 [inline] hidinput_connect+0x2427/0x3340 drivers/hid/hid-input.c:2327 hid_connect+0x499/0x1a20 drivers/hid/hid-core.c:2239 hid_hw_start+0xcb/0x160 drivers/hid/hid-core.c:2354 ms_probe+0x197/0x470 drivers/hid/hid-microsoft.c:391 __hid_device_probe drivers/hid/hid-core.c:2724 [inline] hid_device_probe+0x3b6/0x750 drivers/hid/hid-core.c:2761 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cf/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+0x25b/0x2f0 drivers/base/bus.c:462 __device_attach+0x2b5/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:537 device_add+0x803/0xbf0 drivers/base/core.c:3692 hid_add_device+0x39b/0x560 drivers/hid/hid-core.c:2907 usbhid_probe+0xdf0/0x12c0 drivers/hid/usbhid/hid-core.c:1435 usb_probe_interface+0x63d/0xb60 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cf/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+0x25b/0x2f0 drivers/base/bus.c:462 __device_attach+0x2b5/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:537 device_add+0x803/0xbf0 drivers/base/core.c:3692 usb_set_configuration+0x1ae2/0x20c0 drivers/usb/core/message.c:2210 usb_generic_driver_probe+0x95/0x160 drivers/usb/core/generic.c:250 usb_probe_device+0x1cb/0x370 drivers/usb/core/driver.c:291 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cf/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+0x25b/0x2f0 drivers/base/bus.c:462 __device_attach+0x2b5/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:537 device_add+0x803/0xbf0 drivers/base/core.c:3692 usb_new_device+0x9f0/0x1590 drivers/usb/core/hub.c:2663 hub_port_connect drivers/usb/core/hub.c:5535 [inline] hub_port_connect_change drivers/usb/core/hub.c:5675 [inline] port_event drivers/usb/core/hub.c:5835 [inline] hub_event+0x265a/0x41a0 drivers/usb/core/hub.c:5917 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0x7d5/0x1040 kernel/workqueue.c:3321 worker_thread+0xc4e/0x1270 kernel/workqueue.c:3402 kthread+0x6f4/0x880 kernel/kthread.c:464 ret_from_fork+0x147/0x1f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 311: 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:562 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0x9a/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4328 [inline] __kmalloc_noprof+0x1e1/0x440 mm/slub.c:4340 kmalloc_noprof include/linux/slab.h:909 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] hid_alloc_report_buf drivers/hid/hid-core.c:1890 [inline] __hid_request+0xa9/0x410 drivers/hid/hid-core.c:1980 hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1950 [inline] hidinput_connect+0x2427/0x3340 drivers/hid/hid-input.c:2327 hid_connect+0x499/0x1a20 drivers/hid/hid-core.c:2239 hid_hw_start+0xcb/0x160 drivers/hid/hid-core.c:2354 ms_probe+0x197/0x470 drivers/hid/hid-microsoft.c:391 __hid_device_probe drivers/hid/hid-core.c:2724 [inline] hid_device_probe+0x3b6/0x750 drivers/hid/hid-core.c:2761 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cf/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+0x25b/0x2f0 drivers/base/bus.c:462 __device_attach+0x2b5/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:537 device_add+0x803/0xbf0 drivers/base/core.c:3692 hid_add_device+0x39b/0x560 drivers/hid/hid-core.c:2907 usbhid_probe+0xdf0/0x12c0 drivers/hid/usbhid/hid-core.c:1435 usb_probe_interface+0x63d/0xb60 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cf/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+0x25b/0x2f0 drivers/base/bus.c:462 __device_attach+0x2b5/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:537 device_add+0x803/0xbf0 drivers/base/core.c:3692 usb_set_configuration+0x1ae2/0x20c0 drivers/usb/core/message.c:2210 usb_generic_driver_probe+0x95/0x160 drivers/usb/core/generic.c:250 usb_probe_device+0x1cb/0x370 drivers/usb/core/driver.c:291 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cf/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+0x25b/0x2f0 drivers/base/bus.c:462 __device_attach+0x2b5/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:537 device_add+0x803/0xbf0 drivers/base/core.c:3692 usb_new_device+0x9f0/0x1590 drivers/usb/core/hub.c:2663 hub_port_connect drivers/usb/core/hub.c:5535 [inline] hub_port_connect_change drivers/usb/core/hub.c:5675 [inline] port_event drivers/usb/core/hub.c:5835 [inline] hub_event+0x265a/0x41a0 drivers/usb/core/hub.c:5917 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0x7d5/0x1040 kernel/workqueue.c:3321 worker_thread+0xc4e/0x1270 kernel/workqueue.c:3402 kthread+0x6f4/0x880 kernel/kthread.c:464 ret_from_fork+0x147/0x1f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff88811e478520 which belongs to the cache kmalloc-8 of size 8 The buggy address is located 1 bytes inside of allocated 7-byte region [ffff88811e478520, ffff88811e478527) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11e478 flags: 0x4000000000000000(zone=1) page_type: f5(slab) raw: 4000000000000000 ffff888100041500 dead000000000122 0000000000000000 raw: 0000000000000000 0000000080800080 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 0x152c00(GFP_NOIO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_HARDWALL), pid 470, tgid 470 (kworker/1:3), ts 58328787537, free_ts 58328000775 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x262/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x2056/0x2120 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x2bb/0x510 mm/page_alloc.c:4959 alloc_slab_page+0x26/0xc0 mm/slub.c:-1 allocate_slab+0x69/0x460 mm/slub.c:2619 new_slab mm/slub.c:2673 [inline] ___slab_alloc+0x598/0x920 mm/slub.c:3859 __slab_alloc mm/slub.c:3949 [inline] __slab_alloc_node mm/slub.c:4024 [inline] slab_alloc_node mm/slub.c:4185 [inline] __kmalloc_cache_noprof+0x21b/0x350 mm/slub.c:4354 kmalloc_noprof include/linux/slab.h:905 [inline] usb_control_msg+0x82/0x490 drivers/usb/core/message.c:144 usbhid_set_raw_report drivers/hid/usbhid/hid-core.c:928 [inline] usbhid_raw_request+0x45d/0x590 drivers/hid/usbhid/hid-core.c:1299 __hid_request+0x1e5/0x410 drivers/hid/hid-core.c:1989 hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1950 [inline] hidinput_connect+0x2427/0x3340 drivers/hid/hid-input.c:2327 hid_connect+0x499/0x1a20 drivers/hid/hid-core.c:2239 hid_hw_start+0xcb/0x160 drivers/hid/hid-core.c:2354 ms_probe+0x197/0x470 drivers/hid/hid-microsoft.c:391 __hid_device_probe drivers/hid/hid-core.c:2724 [inline] hid_device_probe+0x3b6/0x750 drivers/hid/hid-core.c:2761 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cf/0x880 drivers/base/dd.c:657 page last free pid 470 tgid 470 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1248 [inline] __free_frozen_pages+0xa97/0xb70 mm/page_alloc.c:2706 ___free_pages+0x6d/0x3e0 mm/page_alloc.c:5061 __free_pages+0xf/0x30 mm/page_alloc.c:5071 vfree+0x325/0x4e0 mm/vmalloc.c:3426 hid_open_report+0xa4e/0x1140 drivers/hid/hid-core.c:1352 hid_parse include/linux/hid.h:1133 [inline] ms_probe+0x170/0x470 drivers/hid/hid-microsoft.c:385 __hid_device_probe drivers/hid/hid-core.c:2724 [inline] hid_device_probe+0x3b6/0x750 drivers/hid/hid-core.c:2761 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cf/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+0x25b/0x2f0 drivers/base/bus.c:462 __device_attach+0x2b5/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:537 device_add+0x803/0xbf0 drivers/base/core.c:3692 Memory state around the buggy address: ffff88811e478400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88811e478480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88811e478500: fc fc fc fc 07 fc fc fc fc fc fc fc fc fc fc fc ^ ffff88811e478580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88811e478600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== microsoft 0003:045E:07DA.0004: hidraw0: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.2-1/input0 microsoft 0003:045E:07DA.0004: no inputs found microsoft 0003:045E:07DA.0004: could not initialize ff, continuing anyway usb 3-1: USB disconnect, device number 2 usb 3-1: new high-speed USB device number 3 using dummy_hcd usb 3-1: Using ep0 maxpacket: 16 usb 3-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7 usb 3-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0 usb 3-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9 usb 3-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00 usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 3-1: config 0 descriptor?? microsoft 0003:045E:07DA.0008: unknown main item tag 0x0 microsoft 0003:045E:07DA.0008: ignoring exceeding usage max microsoft 0003:045E:07DA.0008: hidraw2: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.2-1/input0 microsoft 0003:045E:07DA.0008: no inputs found microsoft 0003:045E:07DA.0008: could not initialize ff, continuing anyway usb 3-1: USB disconnect, device number 3 usb 3-1: new high-speed USB device number 4 using dummy_hcd usb 3-1: Using ep0 maxpacket: 16 usb 3-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7 usb 3-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0 usb 3-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9 usb 3-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00 usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 3-1: config 0 descriptor?? microsoft 0003:045E:07DA.000B: unknown main item tag 0x0 microsoft 0003:045E:07DA.000B: ignoring exceeding usage max microsoft 0003:045E:07DA.000B: hidraw0: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.2-1/input0 microsoft 0003:045E:07DA.000B: no inputs found microsoft 0003:045E:07DA.000B: could not initialize ff, continuing anyway usb 3-1: USB disconnect, device number 4 usb 3-1: new high-speed USB device number 5 using dummy_hcd usb 3-1: Using ep0 maxpacket: 16 usb 3-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7 usb 3-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0 usb 3-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9 usb 3-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00 usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 3-1: config 0 descriptor?? microsoft 0003:045E:07DA.000F: unknown main item tag 0x0 microsoft 0003:045E:07DA.000F: ignoring exceeding usage max microsoft 0003:045E:07DA.000F: hidraw0: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.2-1/input0 microsoft 0003:045E:07DA.000F: no inputs found microsoft 0003:045E:07DA.000F: could not initialize ff, continuing anyway usb 3-1: USB disconnect, device number 5 usb 3-1: new high-speed USB device number 6 using dummy_hcd usb 3-1: Using ep0 maxpacket: 16 usb 3-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7 usb 3-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0 usb 3-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9 usb 3-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00 usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 3-1: config 0 descriptor?? microsoft 0003:045E:07DA.0013: unknown main item tag 0x0 microsoft 0003:045E:07DA.0013: ignoring exceeding usage max microsoft 0003:045E:07DA.0013: hidraw0: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.2-1/input0 microsoft 0003:045E:07DA.0013: no inputs found microsoft 0003:045E:07DA.0013: could not initialize ff, continuing anyway usb 3-1: USB disconnect, device number 6 usb 3-1: new high-speed USB device number 7 using dummy_hcd usb 3-1: Using ep0 maxpacket: 16 usb 3-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7 usb 3-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0 usb 3-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9 usb 3-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00 usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 3-1: config 0 descriptor??