microsoft 0003:045E:07DA.0052: unknown main item tag 0x0
microsoft 0003:045E:07DA.0052: 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 3200 at addr ffff888121bd7d99 by task kworker/1:3/29166
CPU: 1 PID: 29166 Comm: kworker/1:3 Tainted: G W 6.1.141-syzkaller-00038-ge2deb0b42a3a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: usb_hub_wq hub_event
Call Trace:
<TASK>
__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:1294
__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:1424
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
</TASK>
Allocated by task 29166:
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:1424
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 ffff888121bd7d98
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 1 bytes inside of
8-byte region [ffff888121bd7d98, ffff888121bd7da0)
The buggy address belongs to the physical page:
page:ffffea000486f5c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x121bd7
flags: 0x4000000000000200(slab|zone=1)
raw: 4000000000000200 dead000000000100 dead000000000122 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 4467, tgid 4464 (syz.5.1014), ts 270964684535, free_ts 270850800610
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
kmalloc_trace+0x29/0xb0 mm/slab_common.c:1028
kmalloc include/linux/slab.h:563 [inline]
kzalloc include/linux/slab.h:699 [inline]
selinux_bpf_prog_alloc+0x51/0x140 security/selinux/hooks.c:6938
security_bpf_prog_alloc+0x73/0xa0 security/security.c:2662
bpf_prog_load+0x9ab/0x15a0 kernel/bpf/syscall.c:2584
__sys_bpf+0x504/0x780 kernel/bpf/syscall.c:5002
__do_sys_bpf kernel/bpf/syscall.c:5106 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5104 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5104
x64_sys_call+0x488/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:322
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_list+0xba/0x7c0 mm/page_alloc.c:3729
release_pages+0xad1/0xb20 mm/swap.c:1043
free_pages_and_swap_cache+0x86/0xa0 mm/swap_state.c:315
tlb_batch_pages_flush mm/mmu_gather.c:59 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:254 [inline]
tlb_flush_mmu mm/mmu_gather.c:261 [inline]
tlb_finish_mmu+0x1aa/0x370 mm/mmu_gather.c:361
exit_mmap+0x3c7/0xa40 mm/mmap.c:3359
__mmput+0x93/0x320 kernel/fork.c:1297
mmput+0x4b/0x150 kernel/fork.c:1320
exit_mm kernel/exit.c:568 [inline]
do_exit+0x979/0x2650 kernel/exit.c:864
do_group_exit+0x210/0x2d0 kernel/exit.c:1027
__do_sys_exit_group kernel/exit.c:1038 [inline]
__se_sys_exit_group kernel/exit.c:1036 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1036
x64_sys_call+0x7b4/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232
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:
ffff888121bd7c80: 06 fc fc fc fc fa fc fc fc fc fa fc fc fc fc fb
ffff888121bd7d00: fc fc fc fc fb fc fc fc fc fa fc fc fc fc fa fc
>ffff888121bd7d80: fc fc fc 07 fc fc fc fc fa fc fc fc fc fa fc fc
^
ffff888121bd7e00: fc fc 04 fc fc fc fc fa fc fc fc fc fa fc fc fc
ffff888121bd7e80: fc 07 fc fc fc fc 05 fc fc fc fc fa fc fc fc fc
==================================================================
microsoft 0003:045E:07DA.0052: No inputs registered, leaving
microsoft 0003:045E:07DA.0052: hidraw0: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.6-1/input0
microsoft 0003:045E:07DA.0052: no inputs found
microsoft 0003:045E:07DA.0052: could not initialize ff, continuing anyway