================================================================== BUG: KASAN: use-after-free in instrument_atomic_read_write include/linux/instrumented.h:101 [inline] BUG: KASAN: use-after-free in atomic_long_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1667 [inline] BUG: KASAN: use-after-free in __mutex_trylock_fast kernel/locking/mutex.c:169 [inline] BUG: KASAN: use-after-free in mutex_lock+0x88/0x1a0 kernel/locking/mutex.c:288 Write of size 8 at addr ffff88812a060450 by task acpid/86 CPU: 1 PID: 86 Comm: acpid Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Call Trace: __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 __kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37 instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_long_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1667 [inline] __mutex_trylock_fast kernel/locking/mutex.c:169 [inline] mutex_lock+0x88/0x1a0 kernel/locking/mutex.c:288 steam_input_open+0x91/0x160 drivers/hid/hid-steam.c:297 input_open_device+0x16d/0x2f0 drivers/input/input.c:640 evdev_open_device drivers/input/evdev.c:404 [inline] evdev_open+0x4b1/0x5c0 drivers/input/evdev.c:491 chrdev_open+0x597/0x670 fs/char_dev.c:414 do_dentry_open+0x834/0x1010 fs/open.c:828 vfs_open+0x73/0x80 fs/open.c:958 do_open fs/namei.c:3608 [inline] path_openat+0x2646/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_openat fs/open.c:1266 [inline] __se_sys_openat fs/open.c:1261 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1261 x64_sys_call+0x219/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5545b9d407 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:00007ffccd825eb0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5545b13740 RCX: 00007f5545b9d407 RDX: 0000000000080800 RSI: 00007ffccd8260c0 RDI: ffffffffffffff9c RBP: 00007ffccd8260c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000020 R13: 00007ffccd8261c0 R14: 000055c8901f57fe R15: 00007ffccd8261c0 Allocated by task 8203: 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_track_caller+0x13c/0x2c0 mm/slub.c:4959 alloc_dr drivers/base/devres.c:116 [inline] devm_kmalloc+0x50/0x150 drivers/base/devres.c:831 devm_kzalloc include/linux/device.h:209 [inline] steam_probe+0x129/0xb10 drivers/hid/hid-steam.c:741 hid_device_probe+0x287/0x380 drivers/hid/hid-core.c:2312 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:2462 usbhid_probe+0xb2e/0xee0 drivers/hid/usbhid/hid-core.c:1427 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:2638 hub_port_connect drivers/usb/core/hub.c:5555 [inline] hub_port_connect_change drivers/usb/core/hub.c:5695 [inline] port_event drivers/usb/core/hub.c:5861 [inline] hub_event+0x29c4/0x4480 drivers/usb/core/hub.c:5943 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 Freed by task 8203: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4a/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:365 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:373 kasan_slab_free include/linux/kasan.h:193 [inline] slab_free_hook mm/slub.c:1728 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1754 slab_free mm/slub.c:3526 [inline] kfree+0xc4/0x270 mm/slub.c:4588 release_nodes+0xe8/0x220 drivers/base/devres.c:501 devres_release_all+0x149/0x1b0 drivers/base/devres.c:530 __device_release_driver drivers/base/dd.c:1231 [inline] device_release_driver_internal+0x4d0/0x760 drivers/base/dd.c:1262 device_release_driver+0x19/0x20 drivers/base/dd.c:1285 bus_remove_device+0x2dd/0x340 drivers/base/bus.c:531 device_del+0x696/0xe90 drivers/base/core.c:3610 hid_remove_device drivers/hid/hid-core.c:2510 [inline] hid_destroy_device+0x6a/0x110 drivers/hid/hid-core.c:2529 usbhid_disconnect+0x9f/0xc0 drivers/hid/usbhid/hid-core.c:1454 usb_unbind_interface+0x212/0x8c0 drivers/usb/core/driver.c:458 __device_release_driver drivers/base/dd.c:1229 [inline] device_release_driver_internal+0x4c1/0x760 drivers/base/dd.c:1262 device_release_driver+0x19/0x20 drivers/base/dd.c:1285 bus_remove_device+0x2dd/0x340 drivers/base/bus.c:531 device_del+0x696/0xe90 drivers/base/core.c:3610 usb_disable_device+0x3a8/0x750 drivers/usb/core/message.c:1414 usb_disconnect+0x31e/0x850 drivers/usb/core/hub.c:2288 hub_port_connect drivers/usb/core/hub.c:5394 [inline] hub_port_connect_change drivers/usb/core/hub.c:5695 [inline] port_event drivers/usb/core/hub.c:5861 [inline] hub_event+0x1a96/0x4480 drivers/usb/core/hub.c:5943 process_one_work+0x6be/0xba0 kernel/workqueue.c:2325 process_scheduled_works kernel/workqueue.c:2388 [inline] worker_thread+0xd7b/0x1200 kernel/workqueue.c:2474 kthread+0x411/0x500 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:38 __kasan_record_aux_stack+0xd2/0x100 mm/kasan/generic.c:348 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:358 __call_rcu_common kernel/rcu/tree.c:3011 [inline] call_rcu+0x105/0xfe0 kernel/rcu/tree.c:3129 fib6_info_release include/net/ip6_fib.h:349 [inline] fib6_del_route net/ipv6/ip6_fib.c:1998 [inline] fib6_del+0xc50/0xf60 net/ipv6/ip6_fib.c:2031 fib6_clean_node+0x296/0x520 net/ipv6/ip6_fib.c:2193 fib6_walk_continue+0x4fc/0x700 net/ipv6/ip6_fib.c:2115 fib6_walk+0x153/0x290 net/ipv6/ip6_fib.c:2163 fib6_clean_tree net/ipv6/ip6_fib.c:2243 [inline] __fib6_clean_all net/ipv6/ip6_fib.c:2259 [inline] fib6_clean_all+0x16a/0x230 net/ipv6/ip6_fib.c:2270 rt6_sync_down_dev net/ipv6/route.c:4907 [inline] rt6_disable_ip+0x119/0x700 net/ipv6/route.c:4912 addrconf_ifdown+0x144/0x1880 net/ipv6/addrconf.c:3799 addrconf_notify+0x3bd/0xde0 net/ipv6/addrconf.c:-1 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0x90/0x100 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2057 [inline] call_netdevice_notifiers_extack net/core/dev.c:2069 [inline] call_netdevice_notifiers net/core/dev.c:2083 [inline] dev_close_many+0x32d/0x4d0 net/core/dev.c:1658 unregister_netdevice_many+0x44c/0x1990 net/core/dev.c:11126 unregister_netdevice_queue+0x31c/0x360 net/core/dev.c:11083 unregister_netdevice include/linux/netdevice.h:3057 [inline] __tun_detach+0xca6/0x1450 drivers/net/tun.c:686 tun_detach drivers/net/tun.c:702 [inline] tun_chr_close+0x92/0x140 drivers/net/tun.c:3440 __fput+0x20b/0x8b0 fs/file_table.c:311 ____fput+0x15/0x20 fs/file_table.c:339 task_work_run+0x127/0x190 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0xd0/0xe0 kernel/entry/common.c:181 exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Second to last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:38 __kasan_record_aux_stack+0xd2/0x100 mm/kasan/generic.c:348 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:358 kvfree_call_rcu+0xae/0x7e0 kernel/rcu/tree.c:3648 drop_sysctl_table+0x2ef/0x410 fs/proc/proc_sysctl.c:1687 drop_sysctl_table+0x2de/0x410 fs/proc/proc_sysctl.c:1690 unregister_sysctl_table+0x7a/0x120 fs/proc/proc_sysctl.c:1725 unregister_net_sysctl_table+0x15/0x20 net/sysctl_net.c:175 neigh_sysctl_unregister+0x78/0x90 net/core/neighbour.c:3737 addrconf_sysctl_unregister net/ipv6/addrconf.c:7221 [inline] addrconf_ifdown+0x15c0/0x1880 net/ipv6/addrconf.c:3952 addrconf_notify+0x3bd/0xde0 net/ipv6/addrconf.c:-1 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0x90/0x100 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2057 [inline] call_netdevice_notifiers_extack net/core/dev.c:2069 [inline] call_netdevice_notifiers net/core/dev.c:2083 [inline] unregister_netdevice_many+0xfb8/0x1990 net/core/dev.c:11150 default_device_exit_batch+0x330/0x390 net/core/dev.c:11683 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x602/0xad0 net/core/net_namespace.c:599 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 ffff88812a060400 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 80 bytes inside of 512-byte region [ffff88812a060400, ffff88812a060600) The buggy address belongs to the page: page:ffffea0004a81800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x12a060 head:ffffea0004a81800 order:2 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=1) raw: 4000000000010200 ffffea0004954900 0000000500000005 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 0x52a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 284, ts 24063396977, 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:5808 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1937 [inline] new_slab+0xa1/0x4d0 mm/slub.c:2000 ___slab_alloc+0x381/0x810 mm/slub.c:3033 __slab_alloc+0x49/0x90 mm/slub.c:3120 slab_alloc_node mm/slub.c:3211 [inline] slab_alloc mm/slub.c:3255 [inline] __kmalloc+0x16a/0x2c0 mm/slub.c:4432 kmalloc include/linux/slab.h:621 [inline] kzalloc include/linux/slab.h:747 [inline] fib6_info_alloc+0x34/0xe0 net/ipv6/ip6_fib.c:155 ip6_route_info_create+0x526/0x1510 net/ipv6/route.c:3784 ip6_route_add+0x27/0x130 net/ipv6/route.c:3880 addrconf_prefix_route net/ipv6/addrconf.c:2468 [inline] fixup_permanent_addr net/ipv6/addrconf.c:3548 [inline] addrconf_permanent_addr+0x5e8/0x8c0 net/ipv6/addrconf.c:3572 addrconf_notify+0x752/0xde0 net/ipv6/addrconf.c:3640 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0x90/0x100 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2057 [inline] call_netdevice_notifiers_extack net/core/dev.c:2069 [inline] call_netdevice_notifiers net/core/dev.c:2083 [inline] __dev_notify_flags+0x28f/0x500 net/core/dev.c:-1 dev_change_flags+0xe8/0x1a0 net/core/dev.c:8937 page_owner free stack trace missing Memory state around the buggy address: ffff88812a060300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88812a060380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88812a060400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88812a060480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88812a060500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read