microsoft 0003:045E:07DA.001C: 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 3904 at addr ffff8881065bfc59 by task kworker/1:9/673 CPU: 1 PID: 673 Comm: kworker/1:9 Tainted: G W 5.10.240-syzkaller-00225-g1154f779f3f3 #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+0xde/0x200 drivers/usb/mon/mon_main.c:102 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:1299 __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:1421 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 673: 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:1421 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 ffff8881065bfc58 which belongs to the cache kmalloc-8 of size 8 The buggy address is located 1 bytes inside of 8-byte region [ffff8881065bfc58, ffff8881065bfc60) The buggy address belongs to the page: page:ffffea0004196fc0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1065bf flags: 0x4000000000000200(slab) raw: 4000000000000200 ffffea00044715c0 0000001700000017 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 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, ts 1608540542, free_ts 1600992678 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 include/linux/slab.h:557 [inline] acpi_os_allocate include/acpi/platform/aclinuxex.h:52 [inline] acpi_ex_allocate_name_string drivers/acpi/acpica/exnames.c:66 [inline] acpi_ex_get_name_string+0x561/0xc60 drivers/acpi/acpica/exnames.c:367 acpi_ds_create_operand+0x156/0x890 drivers/acpi/acpica/dsutils.c:446 acpi_ds_evaluate_name_path+0x14e/0x410 drivers/acpi/acpica/dsutils.c:778 acpi_ds_exec_end_op+0x225/0x10d0 drivers/acpi/acpica/dswexec.c:374 acpi_ps_parse_loop+0xc0a/0x1aa0 drivers/acpi/acpica/psloop.c:526 acpi_ps_parse_aml+0x214/0x9a0 drivers/acpi/acpica/psparse.c:475 acpi_ps_execute_method+0x7a3/0x900 drivers/acpi/acpica/psxface.c:190 acpi_ns_evaluate+0x629/0xa00 drivers/acpi/acpica/nseval.c:205 acpi_ut_evaluate_object+0x123/0x4b0 drivers/acpi/acpica/uteval.c:60 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_pages_ok+0x7fc/0x820 mm/page_alloc.c:1629 free_the_page mm/page_alloc.c:5418 [inline] __free_pages+0xdd/0x380 mm/page_alloc.c:5427 free_pages+0x82/0x90 mm/page_alloc.c:5438 __stack_depot_save+0x48b/0x4c0 lib/stackdepot.c:359 kasan_save_stack mm/kasan/common.c:39 [inline] kasan_set_track+0x5b/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:362 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1595 [inline] slab_free_freelist_hook+0xc5/0x190 mm/slub.c:1621 slab_free mm/slub.c:3203 [inline] kfree+0xc0/0x270 mm/slub.c:4191 acpi_os_free include/acpi/platform/aclinuxex.h:62 [inline] acpi_ds_delete_walk_state+0x27e/0x2b0 drivers/acpi/acpica/dswstate.c:726 acpi_ps_parse_aml+0x1df/0x9a0 drivers/acpi/acpica/psparse.c:677 acpi_ds_execute_arguments+0x146/0x2b0 drivers/acpi/acpica/dsargs.c:86 acpi_ds_get_package_arguments+0xbd/0x130 drivers/acpi/acpica/dsargs.c:312 acpi_ns_init_one_package drivers/acpi/acpica/nsinit.c:279 [inline] acpi_ns_init_one_object+0x1ce/0x3f0 drivers/acpi/acpica/nsinit.c:403 acpi_ns_walk_namespace+0x23e/0x680 drivers/acpi/acpica/nswalk.c:-1 Memory state around the buggy address: ffff8881065bfb00: fc fc fc 00 fc fc fc fc 00 fc fc fc fc fa fc fc ffff8881065bfb80: fc fc fb fc fc fc fc fa fc fc fc fc fa fc fc fc >ffff8881065bfc00: fc fa fc fc fc fc fb fc fc fc fc 07 fc fc fc fc ^ ffff8881065bfc80: 00 fc fc fc fc 00 fc fc fc fc fb fc fc fc fc fb ffff8881065bfd00: fc fc fc fc 00 fc fc fc fc 00 fc fc fc fc 00 fc ================================================================== microsoft 0003:045E:07DA.001C: No inputs registered, leaving microsoft 0003:045E:07DA.001C: hidraw0: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.6-1/input0 microsoft 0003:045E:07DA.001C: no inputs found microsoft 0003:045E:07DA.001C: could not initialize ff, continuing anyway usb 7-1: USB disconnect, device number 54