================================================================== 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:171 [inline] BUG: KASAN: use-after-free in mutex_lock+0x85/0xf0 kernel/locking/mutex.c:285 Write of size 8 at addr ffff8881143d8450 by task acpid/173 CPU: 0 PID: 173 Comm: acpid Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 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:171 [inline] mutex_lock+0x85/0xf0 kernel/locking/mutex.c:285 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+0x4ae/0x5c0 drivers/input/evdev.c:487 chrdev_open+0x5d3/0x6b0 fs/char_dev.c:414 do_dentry_open+0x884/0x1150 fs/open.c:882 vfs_open+0x73/0x80 fs/open.c:1015 do_open fs/namei.c:3634 [inline] path_openat+0x2700/0x2f80 fs/namei.c:3791 do_filp_open+0x1f1/0x430 fs/namei.c:3818 do_sys_openat2+0x150/0x4b0 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1347 x64_sys_call+0x783/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd414e06407 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:00007ffcb865c920 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fd414d7c740 RCX: 00007fd414e06407 RDX: 0000000000080800 RSI: 00007ffcb865cb30 RDI: ffffffffffffff9c RBP: 00007ffcb865cb30 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000020 R13: 00007ffcb865cc30 R14: 00005582c9df97fe R15: 00007ffcb865cc30 Allocated by task 572: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_alloc_info+0x25/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0x95/0xb0 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:936 [inline] __kmalloc_node_track_caller+0xb1/0x1e0 mm/slab_common.c:956 alloc_dr drivers/base/devres.c:116 [inline] devm_kmalloc+0x55/0x160 drivers/base/devres.c:833 devm_kzalloc include/linux/device.h:210 [inline] steam_probe+0x11b/0xb50 drivers/hid/hid-steam.c:741 hid_device_probe+0x25c/0x380 drivers/hid/hid-core.c:2646 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2c2/0x950 drivers/base/dd.c:639 __driver_probe_device+0x195/0x280 drivers/base/dd.c:785 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:815 __device_attach_driver+0x2e9/0x4a0 drivers/base/dd.c:943 bus_for_each_drv+0x190/0x220 drivers/base/bus.c:429 __device_attach+0x2a7/0x410 drivers/base/dd.c:1015 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1064 bus_probe_device+0xbd/0x1e0 drivers/base/bus.c:489 device_add+0xb3e/0xee0 drivers/base/core.c:3697 hid_add_device+0x38f/0x540 drivers/hid/hid-core.c:2798 usbhid_probe+0xbb3/0xfa0 drivers/hid/usbhid/hid-core.c:1442 usb_probe_interface+0x639/0xb20 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2c2/0x950 drivers/base/dd.c:639 __driver_probe_device+0x195/0x280 drivers/base/dd.c:785 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:815 __device_attach_driver+0x2e9/0x4a0 drivers/base/dd.c:943 bus_for_each_drv+0x190/0x220 drivers/base/bus.c:429 __device_attach+0x2a7/0x410 drivers/base/dd.c:1015 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1064 bus_probe_device+0xbd/0x1e0 drivers/base/bus.c:489 device_add+0xb3e/0xee0 drivers/base/core.c:3697 usb_set_configuration+0x19bf/0x1f10 drivers/usb/core/message.c:2165 usb_generic_driver_probe+0x91/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x153/0x270 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2c2/0x950 drivers/base/dd.c:639 __driver_probe_device+0x195/0x280 drivers/base/dd.c:785 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:815 __device_attach_driver+0x2e9/0x4a0 drivers/base/dd.c:943 bus_for_each_drv+0x190/0x220 drivers/base/bus.c:429 __device_attach+0x2a7/0x410 drivers/base/dd.c:1015 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1064 bus_probe_device+0xbd/0x1e0 drivers/base/bus.c:489 device_add+0xb3e/0xee0 drivers/base/core.c:3697 usb_new_device+0xa81/0x1550 drivers/usb/core/hub.c:2659 hub_port_connect drivers/usb/core/hub.c:5517 [inline] hub_port_connect_change drivers/usb/core/hub.c:5657 [inline] port_event drivers/usb/core/hub.c:5817 [inline] hub_event+0x2b4d/0x4d40 drivers/usb/core/hub.c:5899 process_one_work+0x71f/0xc40 kernel/workqueue.c:2292 worker_thread+0xa26/0x11e0 kernel/workqueue.c:2439 kthread+0x281/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Freed by task 572: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_free_info+0x31/0x50 mm/kasan/generic.c:516 ____kasan_slab_free+0x132/0x180 mm/kasan/common.c:237 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:245 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1729 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1755 slab_free mm/slub.c:3687 [inline] __kmem_cache_free+0xb7/0x160 mm/slub.c:3700 kfree+0x6f/0xf0 mm/slab_common.c:988 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:1265 [inline] device_release_driver_internal+0x575/0x800 drivers/base/dd.c:1286 device_release_driver+0x19/0x20 drivers/base/dd.c:1309 bus_remove_device+0x2de/0x340 drivers/base/bus.c:531 device_del+0x661/0xe70 drivers/base/core.c:3885 hid_remove_device drivers/hid/hid-core.c:2847 [inline] hid_destroy_device+0x6a/0x110 drivers/hid/hid-core.c:2866 usbhid_disconnect+0x9f/0xc0 drivers/hid/usbhid/hid-core.c:1469 usb_unbind_interface+0x21d/0x8c0 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:550 [inline] __device_release_driver drivers/base/dd.c:1260 [inline] device_release_driver_internal+0x4fc/0x800 drivers/base/dd.c:1286 device_release_driver+0x19/0x20 drivers/base/dd.c:1309 bus_remove_device+0x2de/0x340 drivers/base/bus.c:531 device_del+0x661/0xe70 drivers/base/core.c:3885 usb_disable_device+0x3a8/0x750 drivers/usb/core/message.c:1414 usb_disconnect+0x31e/0x860 drivers/usb/core/hub.c:2314 hub_port_connect drivers/usb/core/hub.c:5361 [inline] hub_port_connect_change drivers/usb/core/hub.c:5657 [inline] port_event drivers/usb/core/hub.c:5817 [inline] hub_event+0x1c11/0x4d40 drivers/usb/core/hub.c:5899 process_one_work+0x71f/0xc40 kernel/workqueue.c:2292 worker_thread+0xa26/0x11e0 kernel/workqueue.c:2439 kthread+0x281/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 The buggy address belongs to the object at ffff8881143d8400 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 80 bytes inside of 512-byte region [ffff8881143d8400, ffff8881143d8600) The buggy address belongs to the physical page: page:ffffea000450f600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1143d8 head:ffffea000450f600 order:2 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=1) raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100041c80 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 198, tgid 198 (udevd), ts 4908498513, free_ts 0 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1d0/0x1f0 mm/page_alloc.c:2559 prep_new_page mm/page_alloc.c:2566 [inline] get_page_from_freelist+0x2e56/0x2ee0 mm/page_alloc.c:4357 __alloc_pages+0x242/0x4c0 mm/page_alloc.c:5657 alloc_slab_page include/linux/gfp.h:-1 [inline] allocate_slab mm/slub.c:1944 [inline] new_slab+0xec/0x4b0 mm/slub.c:1997 ___slab_alloc+0x6bd/0xb20 mm/slub.c:3154 __slab_alloc+0x5e/0xa0 mm/slub.c:3240 slab_alloc_node mm/slub.c:3325 [inline] __kmem_cache_alloc_node+0x1b1/0x260 mm/slub.c:3398 __do_kmalloc_node mm/slab_common.c:935 [inline] __kmalloc_node_track_caller+0xa0/0x1e0 mm/slab_common.c:956 kmalloc_reserve net/core/skbuff.c:446 [inline] __alloc_skb+0x224/0x7e0 net/core/skbuff.c:515 alloc_skb include/linux/skbuff.h:1303 [inline] alloc_skb_with_frags+0xa8/0x620 net/core/skbuff.c:6164 sock_alloc_send_pskb+0x87f/0x9a0 net/core/sock.c:2755 unix_dgram_sendmsg+0x539/0x16f0 net/unix/af_unix.c:1945 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] sock_write_iter+0x2ee/0x3f0 net/socket.c:1143 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x59e/0xc50 fs/read_write.c:584 ksys_write+0x149/0x250 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:646 page_owner free stack trace missing Memory state around the buggy address: ffff8881143d8300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8881143d8380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8881143d8400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881143d8480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881143d8500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0015: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.001C: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0033: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0033: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0033: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0033: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0033: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0033: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0033: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0033: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0033: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0033: No HID_FEATURE_REPORT submitted - nothing to read