microsoft 0003:045E:07DA.000A: 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+0x1320/0x24f0 drivers/usb/mon/mon_bin.c:603 Read of size 768 at addr ffff88811f884119 by task kworker/1:0/24 CPU: 1 PID: 24 Comm: kworker/1:0 Not tainted 6.1.145-syzkaller-00015-g2ff414a09808 #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:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 print_address_description+0x71/0x210 mm/kasan/report.c:316 print_report+0x4a/0x60 mm/kasan/report.c:427 kasan_report+0x122/0x150 mm/kasan/report.c:531 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+0x1320/0x24f0 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+0x1a1/0x210 drivers/usb/mon/mon_main.c:103 usbmon_urb_submit include/linux/usb/hcd.h:721 [inline] usb_hcd_submit_urb+0x129/0x1830 drivers/usb/core/hcd.c:1545 usb_submit_urb+0x122d/0x1900 drivers/usb/core/urb.c:596 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:926 [inline] usbhid_raw_request+0x453/0x580 drivers/hid/usbhid/hid-core.c:1297 __hid_request+0x1e0/0x3a0 drivers/hid/hid-core.c:1951 hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1955 [inline] hidinput_connect+0x22c4/0x31b0 drivers/hid/hid-input.c:2332 hid_connect+0x496/0x1960 drivers/hid/hid-core.c:2182 hid_hw_start+0xbf/0x150 drivers/hid/hid-core.c:2295 ms_probe+0x190/0x460 drivers/hid/hid-microsoft.c:391 hid_device_probe+0x268/0x390 drivers/hid/hid-core.c:2626 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cb/0x960 drivers/base/dd.c:639 __driver_probe_device+0x198/0x280 drivers/base/dd.c:808 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:838 __device_attach_driver+0x2e9/0x4a0 drivers/base/dd.c:966 bus_for_each_drv+0x183/0x210 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:1038 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1087 bus_probe_device+0xc0/0x1f0 drivers/base/bus.c:489 device_add+0xb4d/0xef0 drivers/base/core.c:3698 hid_add_device+0x38f/0x540 drivers/hid/hid-core.c:2778 usbhid_probe+0xbb6/0xfa0 drivers/hid/usbhid/hid-core.c:1427 usb_probe_interface+0x610/0xaf0 drivers/usb/core/driver.c:397 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cb/0x960 drivers/base/dd.c:639 __driver_probe_device+0x198/0x280 drivers/base/dd.c:808 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:838 __device_attach_driver+0x2e9/0x4a0 drivers/base/dd.c:966 bus_for_each_drv+0x183/0x210 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:1038 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1087 bus_probe_device+0xc0/0x1f0 drivers/base/bus.c:489 device_add+0xb4d/0xef0 drivers/base/core.c:3698 usb_set_configuration+0x19c2/0x1f10 drivers/usb/core/message.c:2165 usb_generic_driver_probe+0x91/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x159/0x270 drivers/usb/core/driver.c:294 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cb/0x960 drivers/base/dd.c:639 __driver_probe_device+0x198/0x280 drivers/base/dd.c:808 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:838 __device_attach_driver+0x2e9/0x4a0 drivers/base/dd.c:966 bus_for_each_drv+0x183/0x210 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:1038 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1087 bus_probe_device+0xc0/0x1f0 drivers/base/bus.c:489 device_add+0xb4d/0xef0 drivers/base/core.c:3698 usb_new_device+0xa70/0x1520 drivers/usb/core/hub.c:2656 hub_port_connect drivers/usb/core/hub.c:5566 [inline] hub_port_connect_change drivers/usb/core/hub.c:5706 [inline] port_event drivers/usb/core/hub.c:5866 [inline] hub_event+0x2a5d/0x4680 drivers/usb/core/hub.c:5948 process_one_work+0x71f/0xc40 kernel/workqueue.c:2299 worker_thread+0xa29/0x11f0 kernel/workqueue.c:2446 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Allocated by task 24: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_alloc_info+0x25/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:379 [inline] __kasan_kmalloc+0x95/0xb0 mm/kasan/common.c:388 kasan_kmalloc include/linux/kasan.h:212 [inline] __do_kmalloc_node mm/slab_common.c:938 [inline] __kmalloc+0xb1/0x1e0 mm/slab_common.c:951 kmalloc include/linux/slab.h:568 [inline] kzalloc include/linux/slab.h:699 [inline] hid_alloc_report_buf drivers/hid/hid-core.c:1877 [inline] __hid_request+0x9a/0x3a0 drivers/hid/hid-core.c:1942 hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1955 [inline] hidinput_connect+0x22c4/0x31b0 drivers/hid/hid-input.c:2332 hid_connect+0x496/0x1960 drivers/hid/hid-core.c:2182 hid_hw_start+0xbf/0x150 drivers/hid/hid-core.c:2295 ms_probe+0x190/0x460 drivers/hid/hid-microsoft.c:391 hid_device_probe+0x268/0x390 drivers/hid/hid-core.c:2626 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cb/0x960 drivers/base/dd.c:639 __driver_probe_device+0x198/0x280 drivers/base/dd.c:808 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:838 __device_attach_driver+0x2e9/0x4a0 drivers/base/dd.c:966 bus_for_each_drv+0x183/0x210 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:1038 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1087 bus_probe_device+0xc0/0x1f0 drivers/base/bus.c:489 device_add+0xb4d/0xef0 drivers/base/core.c:3698 hid_add_device+0x38f/0x540 drivers/hid/hid-core.c:2778 usbhid_probe+0xbb6/0xfa0 drivers/hid/usbhid/hid-core.c:1427 usb_probe_interface+0x610/0xaf0 drivers/usb/core/driver.c:397 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cb/0x960 drivers/base/dd.c:639 __driver_probe_device+0x198/0x280 drivers/base/dd.c:808 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:838 __device_attach_driver+0x2e9/0x4a0 drivers/base/dd.c:966 bus_for_each_drv+0x183/0x210 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:1038 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1087 bus_probe_device+0xc0/0x1f0 drivers/base/bus.c:489 device_add+0xb4d/0xef0 drivers/base/core.c:3698 usb_set_configuration+0x19c2/0x1f10 drivers/usb/core/message.c:2165 usb_generic_driver_probe+0x91/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x159/0x270 drivers/usb/core/driver.c:294 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2cb/0x960 drivers/base/dd.c:639 __driver_probe_device+0x198/0x280 drivers/base/dd.c:808 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:838 __device_attach_driver+0x2e9/0x4a0 drivers/base/dd.c:966 bus_for_each_drv+0x183/0x210 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:1038 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1087 bus_probe_device+0xc0/0x1f0 drivers/base/bus.c:489 device_add+0xb4d/0xef0 drivers/base/core.c:3698 usb_new_device+0xa70/0x1520 drivers/usb/core/hub.c:2656 hub_port_connect drivers/usb/core/hub.c:5566 [inline] hub_port_connect_change drivers/usb/core/hub.c:5706 [inline] port_event drivers/usb/core/hub.c:5866 [inline] hub_event+0x2a5d/0x4680 drivers/usb/core/hub.c:5948 process_one_work+0x71f/0xc40 kernel/workqueue.c:2299 worker_thread+0xa29/0x11f0 kernel/workqueue.c:2446 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 The buggy address belongs to the object at ffff88811f884118 which belongs to the cache kmalloc-8 of size 8 The buggy address is located 1 bytes inside of 8-byte region [ffff88811f884118, ffff88811f884120) The buggy address belongs to the physical page: page:ffffea00047e2100 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11f884 flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 ffffea000469efc0 dead000000000002 ffff888100042300 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 2313, tgid 2306 (syz.3.577), ts 141405994273, free_ts 141404592164 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2637 prep_new_page+0x1c/0x110 mm/page_alloc.c:2644 get_page_from_freelist+0x2c7b/0x2cf0 mm/page_alloc.c:4539 __alloc_pages+0x19e/0x3a0 mm/page_alloc.c:5850 alloc_slab_page+0x6e/0xf0 include/linux/gfp.h:-1 allocate_slab mm/slub.c:1962 [inline] new_slab+0x98/0x3d0 mm/slub.c:2015 ___slab_alloc+0x6f6/0xb50 mm/slub.c:3203 __slab_alloc+0x5e/0xa0 mm/slub.c:3302 slab_alloc_node mm/slub.c:3387 [inline] __kmem_cache_alloc_node+0x203/0x2c0 mm/slub.c:3462 __do_kmalloc_node mm/slab_common.c:937 [inline] __kmalloc_node_track_caller+0xa0/0x1e0 mm/slab_common.c:958 kstrdup mm/util.c:66 [inline] kstrdup_const+0x5a/0xa0 mm/util.c:89 __kernfs_new_node+0x99/0x680 fs/kernfs/dir.c:610 kernfs_new_node+0x150/0x260 fs/kernfs/dir.c:690 kernfs_create_dir_ns+0x47/0x130 fs/kernfs/dir.c:1046 sysfs_create_dir_ns+0x11c/0x280 fs/sysfs/dir.c:59 create_dir lib/kobject.c:63 [inline] kobject_add_internal+0x6fc/0xc20 lib/kobject.c:231 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1545 [inline] free_pcp_prepare mm/page_alloc.c:1619 [inline] free_unref_page_prepare+0x742/0x750 mm/page_alloc.c:3581 free_unref_page+0x8f/0x530 mm/page_alloc.c:3677 __folio_put_small mm/swap.c:97 [inline] __folio_put+0xac/0xe0 mm/swap.c:120 folio_put include/linux/mm.h:1431 [inline] put_page include/linux/mm.h:1483 [inline] generic_pipe_buf_release+0xaf/0xd0 fs/pipe.c:210 pipe_buf_release include/linux/pipe_fs_i.h:199 [inline] splice_direct_to_actor+0x788/0xb10 fs/splice.c:915 do_splice_direct+0x1b3/0x2c0 fs/splice.c:973 do_sendfile+0x5c6/0xeb0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64 fs/read_write.c:1309 [inline] __x64_sys_sendfile64+0x18f/0x1f0 fs/read_write.c:1309 x64_sys_call+0x62c/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Memory state around the buggy address: ffff88811f884000: fa fc fc fc fc fa fc fc fc fc 00 fc fc fc fc fa ffff88811f884080: fc fc fc fc fb fc fc fc fc fb fc fc fc fc fa fc >ffff88811f884100: fc fc fc 07 fc fc fc fc fa fc fc fc fc fa fc fc ^ ffff88811f884180: fc fc fa fc fc fc fc fb fc fc fc fc fa fc fc fc ffff88811f884200: fc 04 fc fc fc fc fa fc fc fc fc fb fc fc fc fc ================================================================== 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.2-1/input0 microsoft 0003:045E:07DA.000A: no inputs found microsoft 0003:045E:07DA.000A: could not initialize ff, continuing anyway usb 3-1: USB disconnect, device number 107