microsoft 0003:045E:07DA.000E: unknown main item tag 0x0
microsoft 0003:045E:07DA.000E: 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 3008 at addr ffff88810c6cca51 by task kworker/1:2/60
CPU: 1 PID: 60 Comm: kworker/1:2 Tainted: G W 5.15.185-syzkaller-00032-g0d918fa8e88d #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/0x30 lib/dump_stack.c:88
dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
print_address_description+0x7f/0x2c0 mm/kasan/report.c:248
__kasan_report mm/kasan/report.c:427 [inline]
kasan_report+0xf1/0x140 mm/kasan/report.c:444
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:733 [inline]
usb_hcd_submit_urb+0x117/0x1780 drivers/usb/core/hcd.c:1544
usb_submit_urb+0x1226/0x1900 drivers/usb/core/urb.c:594
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+0x1d2/0x390 drivers/hid/hid-core.c:1737
hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1711 [inline]
hidinput_connect+0x1e20/0x2ce0 drivers/hid/hid-input.c:2027
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
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x285/0x970 drivers/base/dd.c:595
__driver_probe_device+0x198/0x280 drivers/base/dd.c:755
driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785
__device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907
bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429
__device_attach+0x2a2/0x400 drivers/base/dd.c:979
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028
bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489
device_add+0xb31/0xed0 drivers/base/core.c:3422
hid_add_device+0x356/0x4b0 drivers/hid/hid-core.c:2453
usbhid_probe+0xb2e/0xee0 drivers/hid/usbhid/hid-core.c:1424
usb_probe_interface+0x5ff/0xae0 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x285/0x970 drivers/base/dd.c:595
__driver_probe_device+0x198/0x280 drivers/base/dd.c:755
driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785
__device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907
bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429
__device_attach+0x2a2/0x400 drivers/base/dd.c:979
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028
bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489
device_add+0xb31/0xed0 drivers/base/core.c:3422
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+0x148/0x260 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x285/0x970 drivers/base/dd.c:595
__driver_probe_device+0x198/0x280 drivers/base/dd.c:755
driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785
__device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907
bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429
__device_attach+0x2a2/0x400 drivers/base/dd.c:979
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028
bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489
device_add+0xb31/0xed0 drivers/base/core.c:3422
usb_new_device+0xd06/0x1620 drivers/usb/core/hub.c:2610
hub_port_connect drivers/usb/core/hub.c:5525 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5665 [inline]
port_event drivers/usb/core/hub.c:5815 [inline]
hub_event+0x27d8/0x42c0 drivers/usb/core/hub.c:5897
process_one_work+0x6be/0xba0 kernel/workqueue.c:2325
worker_thread+0xa59/0x1200 kernel/workqueue.c:2472
kthread+0x411/0x500 kernel/kthread.c:337
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>
Allocated by task 60:
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:433 [inline]
____kasan_kmalloc mm/kasan/common.c:512 [inline]
__kasan_kmalloc+0xda/0x110 mm/kasan/common.c:521
kasan_kmalloc include/linux/kasan.h:227 [inline]
__kmalloc+0x13d/0x2c0 mm/slub.c:4431
kmalloc include/linux/slab.h:621 [inline]
kzalloc include/linux/slab.h:747 [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:1711 [inline]
hidinput_connect+0x1e20/0x2ce0 drivers/hid/hid-input.c:2027
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
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x285/0x970 drivers/base/dd.c:595
__driver_probe_device+0x198/0x280 drivers/base/dd.c:755
driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785
__device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907
bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429
__device_attach+0x2a2/0x400 drivers/base/dd.c:979
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028
bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489
device_add+0xb31/0xed0 drivers/base/core.c:3422
hid_add_device+0x356/0x4b0 drivers/hid/hid-core.c:2453
usbhid_probe+0xb2e/0xee0 drivers/hid/usbhid/hid-core.c:1424
usb_probe_interface+0x5ff/0xae0 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x285/0x970 drivers/base/dd.c:595
__driver_probe_device+0x198/0x280 drivers/base/dd.c:755
driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785
__device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907
bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429
__device_attach+0x2a2/0x400 drivers/base/dd.c:979
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028
bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489
device_add+0xb31/0xed0 drivers/base/core.c:3422
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+0x148/0x260 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x285/0x970 drivers/base/dd.c:595
__driver_probe_device+0x198/0x280 drivers/base/dd.c:755
driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785
__device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907
bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429
__device_attach+0x2a2/0x400 drivers/base/dd.c:979
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028
bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489
device_add+0xb31/0xed0 drivers/base/core.c:3422
usb_new_device+0xd06/0x1620 drivers/usb/core/hub.c:2610
hub_port_connect drivers/usb/core/hub.c:5525 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5665 [inline]
port_event drivers/usb/core/hub.c:5815 [inline]
hub_event+0x27d8/0x42c0 drivers/usb/core/hub.c:5897
process_one_work+0x6be/0xba0 kernel/workqueue.c:2325
worker_thread+0xa59/0x1200 kernel/workqueue.c:2472
kthread+0x411/0x500 kernel/kthread.c:337
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
The buggy address belongs to the object at ffff88810c6cca50
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 1 bytes inside of
8-byte region [ffff88810c6cca50, ffff88810c6cca58)
The buggy address belongs to the page:
page:ffffea000431b300 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88810c6ccdc0 pfn:0x10c6cc
flags: 0x4000000000000200(slab|zone=1)
raw: 4000000000000200 ffffea000431ad80 0000001300000013 ffff888100042300
raw: ffff88810c6ccdc0 0000000080660065 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 0x12a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY), pid 1, ts 3583881445, free_ts 0
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x192/0x1b0 mm/page_alloc.c:2605
prep_new_page+0x1c/0x110 mm/page_alloc.c:2611
get_page_from_freelist+0x2cc5/0x2d50 mm/page_alloc.c:4485
__alloc_pages+0x18f/0x440 mm/page_alloc.c:5795
alloc_slab_page mm/slub.c:-1 [inline]
allocate_slab mm/slub.c:1932 [inline]
new_slab+0xa1/0x4d0 mm/slub.c:1995
___slab_alloc+0x381/0x810 mm/slub.c:3028
__slab_alloc+0x49/0x90 mm/slub.c:3115
slab_alloc_node mm/slub.c:3206 [inline]
slab_alloc mm/slub.c:3250 [inline]
__kmalloc_track_caller+0x169/0x2c0 mm/slub.c:4949
kstrdup+0x36/0x70 mm/util.c:64
get_permissions_callback+0x46/0xa0 security/selinux/ss/services.c:3449
hashtab_map+0xf4/0x1f0 security/selinux/ss/hashtab.c:96
security_get_permissions+0x105/0x330 security/selinux/ss/services.c:3480
sel_make_perm_files security/selinux/selinuxfs.c:1876 [inline]
sel_make_class_dir_entries security/selinux/selinuxfs.c:1937 [inline]
sel_make_classes security/selinux/selinuxfs.c:1968 [inline]
sel_make_policy_nodes+0xd37/0x12f0 security/selinux/selinuxfs.c:572
sel_write_load+0x3c2/0x5e0 security/selinux/selinuxfs.c:652
vfs_write+0x3ee/0xf70 fs/read_write.c:592
ksys_write+0x140/0x240 fs/read_write.c:647
page_owner free stack trace missing
Memory state around the buggy address:
ffff88810c6cc900: fc fc fb fc fc fc fc fb fc fc fc fc fa fc fc fc
ffff88810c6cc980: fc fb fc fc fc fc fb fc fc fc fc fb fc fc fc fc
>ffff88810c6cca00: fb fc fc fc fc fa fc fc fc fc 07 fc fc fc fc fb
^
ffff88810c6cca80: fc fc fc fc fb fc fc fc fc fa fc fc fc fc fa fc
ffff88810c6ccb00: fc fc fc 05 fc fc fc fc fb fc fc fc fc fb fc fc
==================================================================
microsoft 0003:045E:07DA.000E: No inputs registered, leaving
microsoft 0003:045E:07DA.000E: hidraw0: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.4-1/input0
microsoft 0003:045E:07DA.000E: no inputs found
microsoft 0003:045E:07DA.000E: could not initialize ff, continuing anyway
usb 5-1: USB disconnect, device number 4