microsoft 0003:045E:07DA.0024: unknown main item tag 0x0 microsoft 0003:045E:07DA.0024: ignoring exceeding usage max ================================================================== BUG: KASAN: slab-out-of-bounds in mon_copy_to_buff drivers/usb/mon/mon_bin.c:249 [inline] BUG: KASAN: slab-out-of-bounds in mon_bin_get_data drivers/usb/mon/mon_bin.c:417 [inline] BUG: KASAN: slab-out-of-bounds in mon_bin_event+0x1307/0x24e0 drivers/usb/mon/mon_bin.c:603 Read of size 2240 at addr ffff88813817cca9 by task kworker/1:1/25 CPU: 1 PID: 25 Comm: kworker/1:1 Not tainted 5.10.238-syzkaller-00008-g59e9a7228857 #0 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/0x24 lib/dump_stack.c:77 dump_stack_lvl+0x169/0x1d8 lib/dump_stack.c:118 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report+0xe2/0x130 mm/kasan/report.c:452 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x280/0x290 mm/kasan/generic.c:189 memcpy+0x2d/0x70 mm/kasan/shadow.c:65 mon_copy_to_buff drivers/usb/mon/mon_bin.c:249 [inline] mon_bin_get_data drivers/usb/mon/mon_bin.c:417 [inline] mon_bin_event+0x1307/0x24e0 drivers/usb/mon/mon_bin.c:603 mon_bin_submit+0x27/0x30 drivers/usb/mon/mon_bin.c:623 mon_bus_submit drivers/usb/mon/mon_main.c:91 [inline] mon_submit+0x185/0x200 drivers/usb/mon/mon_main.c:103 usbmon_urb_submit include/linux/usb/hcd.h:723 [inline] usb_hcd_submit_urb+0x117/0x1780 drivers/usb/core/hcd.c:1543 usb_submit_urb+0x10eb/0x1620 drivers/usb/core/urb.c:585 usb_start_wait_urb+0x117/0x2f0 drivers/usb/core/message.c:58 usb_internal_control_msg drivers/usb/core/message.c:102 [inline] usb_control_msg+0x241/0x3f0 drivers/usb/core/message.c:153 usbhid_set_raw_report drivers/hid/usbhid/hid-core.c:928 [inline] usbhid_raw_request+0x453/0x580 drivers/hid/usbhid/hid-core.c:1296 __hid_request+0x1d2/0x390 drivers/hid/hid-core.c:1737 hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1657 [inline] hidinput_connect+0x1d6d/0x2c30 drivers/hid/hid-input.c:1963 hid_connect+0x458/0xdf0 drivers/hid/hid-core.c:1968 hid_hw_start+0xaa/0x130 drivers/hid/hid-core.c:2075 ms_probe+0x190/0x460 drivers/hid/hid-microsoft.c:391 hid_device_probe+0x287/0x380 drivers/hid/hid-core.c:2303 really_probe+0x386/0xa90 drivers/base/dd.c:558 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 __device_attach_driver+0x282/0x3f0 drivers/base/dd.c:863 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:433 __device_attach+0x29a/0x400 drivers/base/dd.c:932 device_initial_probe+0x1a/0x20 drivers/base/dd.c:981 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:493 device_add+0x8b4/0xbf0 drivers/base/core.c:3273 hid_add_device+0x356/0x4b0 drivers/hid/hid-core.c:2455 usbhid_probe+0xb2e/0xee0 drivers/hid/usbhid/hid-core.c:1418 usb_probe_interface+0x5ff/0xae0 drivers/usb/core/driver.c:397 really_probe+0x3d8/0xa90 drivers/base/dd.c:562 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 __device_attach_driver+0x282/0x3f0 drivers/base/dd.c:863 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:433 __device_attach+0x29a/0x400 drivers/base/dd.c:932 device_initial_probe+0x1a/0x20 drivers/base/dd.c:981 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:493 device_add+0x8b4/0xbf0 drivers/base/core.c:3273 usb_set_configuration+0x1a47/0x1f80 drivers/usb/core/message.c:2160 usb_generic_driver_probe+0x91/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x148/0x260 drivers/usb/core/driver.c:294 really_probe+0x3d8/0xa90 drivers/base/dd.c:562 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 __device_attach_driver+0x282/0x3f0 drivers/base/dd.c:863 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:433 __device_attach+0x29a/0x400 drivers/base/dd.c:932 device_initial_probe+0x1a/0x20 drivers/base/dd.c:981 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:493 device_add+0x8b4/0xbf0 drivers/base/core.c:3273 usb_new_device+0xcd1/0x1450 drivers/usb/core/hub.c:2626 hub_port_connect drivers/usb/core/hub.c:5469 [inline] hub_port_connect_change drivers/usb/core/hub.c:5609 [inline] port_event drivers/usb/core/hub.c:5759 [inline] hub_event+0x2679/0x4120 drivers/usb/core/hub.c:5841 process_one_work+0x6e1/0xba0 kernel/workqueue.c:2301 worker_thread+0xa6a/0x13b0 kernel/workqueue.c:2447 kthread+0x346/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Allocated by task 25: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:430 [inline] ____kasan_kmalloc mm/kasan/common.c:509 [inline] __kasan_kmalloc+0xda/0x110 mm/kasan/common.c:518 kasan_kmalloc include/linux/kasan.h:254 [inline] __kmalloc+0x1a7/0x330 mm/slub.c:4033 kmalloc include/linux/slab.h:557 [inline] kzalloc include/linux/slab.h:664 [inline] hid_alloc_report_buf drivers/hid/hid-core.c:1663 [inline] __hid_request+0x9a/0x390 drivers/hid/hid-core.c:1728 hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1657 [inline] hidinput_connect+0x1d6d/0x2c30 drivers/hid/hid-input.c:1963 hid_connect+0x458/0xdf0 drivers/hid/hid-core.c:1968 hid_hw_start+0xaa/0x130 drivers/hid/hid-core.c:2075 ms_probe+0x190/0x460 drivers/hid/hid-microsoft.c:391 hid_device_probe+0x287/0x380 drivers/hid/hid-core.c:2303 really_probe+0x386/0xa90 drivers/base/dd.c:558 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 __device_attach_driver+0x282/0x3f0 drivers/base/dd.c:863 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:433 __device_attach+0x29a/0x400 drivers/base/dd.c:932 device_initial_probe+0x1a/0x20 drivers/base/dd.c:981 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:493 device_add+0x8b4/0xbf0 drivers/base/core.c:3273 hid_add_device+0x356/0x4b0 drivers/hid/hid-core.c:2455 usbhid_probe+0xb2e/0xee0 drivers/hid/usbhid/hid-core.c:1418 usb_probe_interface+0x5ff/0xae0 drivers/usb/core/driver.c:397 really_probe+0x3d8/0xa90 drivers/base/dd.c:562 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 __device_attach_driver+0x282/0x3f0 drivers/base/dd.c:863 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:433 __device_attach+0x29a/0x400 drivers/base/dd.c:932 device_initial_probe+0x1a/0x20 drivers/base/dd.c:981 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:493 device_add+0x8b4/0xbf0 drivers/base/core.c:3273 usb_set_configuration+0x1a47/0x1f80 drivers/usb/core/message.c:2160 usb_generic_driver_probe+0x91/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x148/0x260 drivers/usb/core/driver.c:294 really_probe+0x3d8/0xa90 drivers/base/dd.c:562 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 __device_attach_driver+0x282/0x3f0 drivers/base/dd.c:863 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:433 __device_attach+0x29a/0x400 drivers/base/dd.c:932 device_initial_probe+0x1a/0x20 drivers/base/dd.c:981 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:493 device_add+0x8b4/0xbf0 drivers/base/core.c:3273 usb_new_device+0xcd1/0x1450 drivers/usb/core/hub.c:2626 hub_port_connect drivers/usb/core/hub.c:5469 [inline] hub_port_connect_change drivers/usb/core/hub.c:5609 [inline] port_event drivers/usb/core/hub.c:5759 [inline] hub_event+0x2679/0x4120 drivers/usb/core/hub.c:5841 process_one_work+0x6e1/0xba0 kernel/workqueue.c:2301 worker_thread+0xa6a/0x13b0 kernel/workqueue.c:2447 kthread+0x346/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 The buggy address belongs to the object at ffff88813817cca8 which belongs to the cache kmalloc-8 of size 8 The buggy address is located 1 bytes inside of 8-byte region [ffff88813817cca8, ffff88813817ccb0) The buggy address belongs to the page: page:ffffea0004e05f00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x13817c flags: 0x4000000000000200(slab) raw: 4000000000000200 ffffea00042de540 0000001100000011 ffff888100043c80 raw: 0000000000000000 0000000080660066 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 278, ts 497383761875, free_ts 497383646752 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page+0x179/0x180 mm/page_alloc.c:2462 get_page_from_freelist+0x2235/0x23d0 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x268/0x5f0 mm/page_alloc.c:5357 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1808 [inline] new_slab+0x84/0x3f0 mm/slub.c:1869 new_slab_objects mm/slub.c:2627 [inline] ___slab_alloc+0x2a6/0x450 mm/slub.c:2791 __slab_alloc+0x63/0xa0 mm/slub.c:2831 slab_alloc_node mm/slub.c:2913 [inline] slab_alloc mm/slub.c:2955 [inline] __kmalloc+0x201/0x330 mm/slub.c:4029 __kmalloc_node include/linux/slab.h:418 [inline] kmalloc_node include/linux/slab.h:575 [inline] __vmalloc_area_node mm/vmalloc.c:2514 [inline] __vmalloc_node_range+0x29f/0x780 mm/vmalloc.c:2623 __vmalloc_node mm/vmalloc.c:2683 [inline] vzalloc+0x78/0x90 mm/vmalloc.c:2736 alloc_counters+0x66/0x530 net/ipv4/netfilter/ip_tables.c:800 copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:839 [inline] get_entries net/ipv6/netfilter/ip6_tables.c:1041 [inline] do_ip6t_get_ctl+0x9ed/0x1070 net/ipv6/netfilter/ip6_tables.c:1679 nf_getsockopt+0x26d/0x290 net/netfilter/nf_sockopt.c:116 ipv6_getsockopt+0x178f/0x1dd0 net/ipv6/ipv6_sockglue.c:1492 tcp_getsockopt+0x1c9/0x1df0 net/ipv4/tcp.c:4047 sock_common_getsockopt+0x98/0xb0 net/core/sock.c:3290 __sys_getsockopt+0x201/0x370 net/socket.c:2187 page last free stack trace: reset_page_owner include/linux/page_owner.h:28 [inline] free_pages_prepare mm/page_alloc.c:1349 [inline] free_pcp_prepare mm/page_alloc.c:1421 [inline] free_unref_page_prepare+0x2b7/0x2d0 mm/page_alloc.c:3336 free_unref_page mm/page_alloc.c:3391 [inline] free_the_page mm/page_alloc.c:5416 [inline] __free_pages+0x14b/0x380 mm/page_alloc.c:5427 __vunmap+0x84d/0x9d0 mm/vmalloc.c:2301 __vfree mm/vmalloc.c:2350 [inline] vfree+0x61/0x90 mm/vmalloc.c:2381 copy_entries_to_user net/ipv4/netfilter/ip_tables.c:867 [inline] get_entries net/ipv4/netfilter/ip_tables.c:1023 [inline] do_ipt_get_ctl+0xdf6/0x1060 net/ipv4/netfilter/ip_tables.c:1669 nf_getsockopt+0x26d/0x290 net/netfilter/nf_sockopt.c:116 ip_getsockopt+0x1040/0x1480 net/ipv4/ip_sockglue.c:1797 tcp_getsockopt+0x1c9/0x1df0 net/ipv4/tcp.c:4047 sock_common_getsockopt+0x98/0xb0 net/core/sock.c:3290 __sys_getsockopt+0x201/0x370 net/socket.c:2187 __do_sys_getsockopt net/socket.c:2202 [inline] __se_sys_getsockopt net/socket.c:2199 [inline] __x64_sys_getsockopt+0xbf/0xd0 net/socket.c:2199 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb Memory state around the buggy address: ffff88813817cb80: fc fc 04 fc fc fc fc 00 fc fc fc fc fa fc fc fc ffff88813817cc00: fc 04 fc fc fc fc fb fc fc fc fc fa fc fc fc fc >ffff88813817cc80: 00 fc fc fc fc 07 fc fc fc fc fa fc fc fc fc 00 ^ ffff88813817cd00: fc fc fc fc 00 fc fc fc fc fa fc fc fc fc fa fc ffff88813817cd80: fc fc fc 00 fc fc fc fc 00 fc fc fc fc fa fc fc ================================================================== microsoft 0003:045E:07DA.0024: No inputs registered, leaving microsoft 0003:045E:07DA.0024: hidraw0: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.9-1/input0 microsoft 0003:045E:07DA.0024: no inputs found microsoft 0003:045E:07DA.0024: could not initialize ff, continuing anyway usb 10-1: USB disconnect, device number 29