================================================================== BUG: KASAN: use-after-free in instrument_atomic_read_write include/linux/instrumented.h:102 [inline] BUG: KASAN: use-after-free in atomic_long_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1779 [inline] BUG: KASAN: use-after-free in __mutex_trylock_fast kernel/locking/mutex.c:176 [inline] BUG: KASAN: use-after-free in mutex_lock+0x86/0x1b0 kernel/locking/mutex.c:295 Write of size 8 at addr ffff8881106a4c50 by task acpid/88 CPU: 1 PID: 88 Comm: acpid Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 print_address_description+0x71/0x200 mm/kasan/report.c:316 print_report+0x4a/0x60 mm/kasan/report.c:420 kasan_report+0x122/0x150 mm/kasan/report.c:524 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x249/0x2a0 mm/kasan/generic.c:189 __kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37 instrument_atomic_read_write include/linux/instrumented.h:102 [inline] atomic_long_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1779 [inline] __mutex_trylock_fast kernel/locking/mutex.c:176 [inline] mutex_lock+0x86/0x1b0 kernel/locking/mutex.c:295 steam_input_open+0x91/0x170 drivers/hid/hid-steam.c:297 input_open_device+0x17b/0x300 drivers/input/input.c:650 evdev_open_device drivers/input/evdev.c:400 [inline] evdev_open+0x4b1/0x5c0 drivers/input/evdev.c:487 chrdev_open+0x5d3/0x6b0 fs/char_dev.c:414 do_dentry_open+0x88e/0x1260 fs/open.c:884 vfs_open+0x73/0x80 fs/open.c:1015 do_open fs/namei.c:3633 [inline] path_openat+0x2700/0x2f80 fs/namei.c:3790 do_filp_open+0x1f1/0x430 fs/namei.c:3817 do_sys_openat2+0x15e/0x810 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_openat fs/open.c:1373 [inline] __se_sys_openat fs/open.c:1368 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1368 x64_sys_call+0x783/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258 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 RIP: 0033:0x7f2453664407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffe6019b910 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f24535da740 RCX: 00007f2453664407 RDX: 0000000000080800 RSI: 00007ffe6019bb20 RDI: ffffffffffffff9c RBP: 00007ffe6019bb20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000020 R13: 00007ffe6019bc20 R14: 00005583da2487fe R15: 00007ffe6019bc20 Allocated by task 529: 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_node_track_caller+0xb1/0x1e0 mm/slab_common.c:958 alloc_dr drivers/base/devres.c:116 [inline] devm_kmalloc+0x55/0x160 drivers/base/devres.c:833 devm_kzalloc include/linux/device.h:211 [inline] steam_probe+0x11b/0xb60 drivers/hid/hid-steam.c:741 hid_device_probe+0x268/0x390 drivers/hid/hid-core.c:2635 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+0x192/0x220 drivers/base/bus.c:429 __device_attach+0x2b0/0x420 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:2787 usbhid_probe+0xbb6/0xfa0 drivers/hid/usbhid/hid-core.c:1427 usb_probe_interface+0x63f/0xb20 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+0x192/0x220 drivers/base/bus.c:429 __device_attach+0x2b0/0x420 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+0x192/0x220 drivers/base/bus.c:429 __device_attach+0x2b0/0x420 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+0xa81/0x1550 drivers/usb/core/hub.c:2684 hub_port_connect drivers/usb/core/hub.c:5594 [inline] hub_port_connect_change drivers/usb/core/hub.c:5734 [inline] port_event drivers/usb/core/hub.c:5898 [inline] hub_event+0x2aca/0x46b0 drivers/usb/core/hub.c:5980 process_one_work+0x71f/0xc40 kernel/workqueue.c:2302 worker_thread+0xa29/0x11e0 kernel/workqueue.c:2449 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Freed by task 529: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x31/0x50 mm/kasan/generic.c:516 ____kasan_slab_free+0x132/0x180 mm/kasan/common.c:241 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:249 kasan_slab_free include/linux/kasan.h:178 [inline] slab_free_hook mm/slub.c:1750 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1776 slab_free mm/slub.c:3712 [inline] __kmem_cache_free+0xb7/0x1b0 mm/slub.c:3728 kfree+0x6f/0xf0 mm/slab_common.c:990 release_nodes+0xf9/0x230 drivers/base/devres.c:503 devres_release_all+0x150/0x1b0 drivers/base/devres.c:532 device_unbind_cleanup drivers/base/dd.c:530 [inline] __device_release_driver drivers/base/dd.c:1288 [inline] device_release_driver_internal+0x581/0x820 drivers/base/dd.c:1309 device_release_driver+0x19/0x20 drivers/base/dd.c:1332 bus_remove_device+0x2ee/0x350 drivers/base/bus.c:531 device_del+0x6bc/0xec0 drivers/base/core.c:3886 hid_remove_device drivers/hid/hid-core.c:2835 [inline] hid_destroy_device+0x6a/0x110 drivers/hid/hid-core.c:2854 usbhid_disconnect+0x9f/0xc0 drivers/hid/usbhid/hid-core.c:1454 usb_unbind_interface+0x223/0x8d0 drivers/usb/core/driver.c:459 device_remove drivers/base/dd.c:550 [inline] __device_release_driver drivers/base/dd.c:1283 [inline] device_release_driver_internal+0x508/0x820 drivers/base/dd.c:1309 device_release_driver+0x19/0x20 drivers/base/dd.c:1332 bus_remove_device+0x2ee/0x350 drivers/base/bus.c:531 device_del+0x6bc/0xec0 drivers/base/core.c:3886 usb_disable_device+0x3a8/0x750 drivers/usb/core/message.c:1414 usb_disconnect+0x31e/0x860 drivers/usb/core/hub.c:2339 hub_port_connect drivers/usb/core/hub.c:5433 [inline] hub_port_connect_change drivers/usb/core/hub.c:5734 [inline] port_event drivers/usb/core/hub.c:5898 [inline] hub_event+0x1c1b/0x46b0 drivers/usb/core/hub.c:5980 process_one_work+0x71f/0xc40 kernel/workqueue.c:2302 worker_thread+0xa29/0x11e0 kernel/workqueue.c:2449 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 ffff8881106a4c00 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 80 bytes inside of 512-byte region [ffff8881106a4c00, ffff8881106a4e00) The buggy address belongs to the physical page: page:ffffea000441a900 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1106a4 head:ffffea000441a900 order:2 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=1) raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100042f00 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 104, tgid 104 (udevadm), ts 4187548668, free_ts 4139296582 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2643 prep_new_page+0x1c/0x110 mm/page_alloc.c:2650 get_page_from_freelist+0x2d12/0x2d80 mm/page_alloc.c:4554 __alloc_pages+0x1d9/0x480 mm/page_alloc.c:5868 alloc_slab_page+0x6e/0xf0 include/linux/gfp.h:-1 allocate_slab mm/slub.c:1967 [inline] new_slab+0x98/0x3d0 mm/slub.c:2020 ___slab_alloc+0x6bd/0xb20 mm/slub.c:3177 __slab_alloc+0x5e/0xa0 mm/slub.c:3263 slab_alloc_node mm/slub.c:3348 [inline] __kmem_cache_alloc_node+0x203/0x2c0 mm/slub.c:3423 __do_kmalloc_node mm/slab_common.c:937 [inline] __kmalloc_node_track_caller+0xa0/0x1e0 mm/slab_common.c:958 kmalloc_reserve net/core/skbuff.c:449 [inline] __alloc_skb+0x236/0x4b0 net/core/skbuff.c:518 alloc_skb include/linux/skbuff.h:1290 [inline] alloc_uevent_skb+0x85/0x240 lib/kobject_uevent.c:290 uevent_net_broadcast_untagged lib/kobject_uevent.c:326 [inline] kobject_uevent_net_broadcast+0x343/0x5b0 lib/kobject_uevent.c:409 kobject_uevent_env+0x54f/0x730 lib/kobject_uevent.c:608 kobject_synth_uevent+0x57e/0xbc0 lib/kobject_uevent.c:208 bus_uevent_store+0x4f/0x70 drivers/base/bus.c:765 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1551 [inline] free_pcp_prepare mm/page_alloc.c:1625 [inline] free_unref_page_prepare+0x742/0x750 mm/page_alloc.c:3589 free_unref_page+0x95/0x540 mm/page_alloc.c:3687 free_the_page mm/page_alloc.c:836 [inline] __free_pages+0x67/0x100 mm/page_alloc.c:5957 free_pages+0x82/0x90 mm/page_alloc.c:5968 __stack_depot_save+0x457/0x480 lib/stackdepot.c:506 kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x60/0x70 mm/kasan/common.c:52 kasan_save_alloc_info+0x25/0x30 mm/kasan/generic.c:505 __kasan_slab_alloc+0x72/0x80 mm/kasan/common.c:333 kasan_slab_alloc include/linux/kasan.h:202 [inline] slab_post_alloc_hook+0x4f/0x2d0 mm/slab.h:768 slab_alloc_node mm/slub.c:3382 [inline] slab_alloc mm/slub.c:3392 [inline] __kmem_cache_alloc_lru mm/slub.c:3399 [inline] kmem_cache_alloc+0x16e/0x330 mm/slub.c:3408 getname_flags+0xb9/0x500 fs/namei.c:139 user_path_at_empty+0x30/0x1c0 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] do_utimes_path fs/utimes.c:94 [inline] do_utimes+0x12e/0x2a0 fs/utimes.c:144 __do_sys_utimensat fs/utimes.c:163 [inline] __se_sys_utimensat fs/utimes.c:147 [inline] __x64_sys_utimensat+0x15b/0x240 fs/utimes.c:147 x64_sys_call+0x3e0/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:281 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 Memory state around the buggy address: ffff8881106a4b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8881106a4b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8881106a4c00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881106a4c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881106a4d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== hid 0003:28DE:1102.001F: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001F: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001F: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001F: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001F: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001F: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001F: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001F: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001F: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001F: No HID_FEATURE_REPORT submitted - nothing to read