udc-core: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_probe_driver returned -16 ================================================================== BUG: KASAN: use-after-free in instrument_atomic_read_write include/linux/instrumented.h:101 [inline] BUG: KASAN: use-after-free in atomic64_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:1515 [inline] BUG: KASAN: use-after-free in atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] BUG: KASAN: use-after-free in __mutex_trylock_fast kernel/locking/mutex.c:173 [inline] BUG: KASAN: use-after-free in mutex_lock+0x7f/0xe0 kernel/locking/mutex.c:298 Write of size 8 at addr ffff88812cdb1440 by task syz.0.3619/13772 CPU: 1 PID: 13772 Comm: syz.0.3619 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:77 dump_stack_lvl+0x169/0x1d8 lib/dump_stack.c:118 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report+0xe2/0x130 mm/kasan/report.c:452 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] atomic64_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:1515 [inline] atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] __mutex_trylock_fast kernel/locking/mutex.c:173 [inline] mutex_lock+0x7f/0xe0 kernel/locking/mutex.c:298 steam_input_open+0x91/0x160 drivers/hid/hid-steam.c:297 input_open_device+0x14c/0x2a0 drivers/input/input.c:635 evdev_open_device drivers/input/evdev.c:400 [inline] evdev_open+0x4d2/0x5e0 drivers/input/evdev.c:487 chrdev_open+0x597/0x670 fs/char_dev.c:414 do_dentry_open+0x793/0x1090 fs/open.c:819 vfs_open+0x73/0x80 fs/open.c:942 do_open fs/namei.c:3391 [inline] path_openat+0x27ad/0x3160 fs/namei.c:3509 do_filp_open+0x1b3/0x3e0 fs/namei.c:3536 do_sys_openat2+0x14c/0x6d0 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1244 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9578166590 Code: 48 89 44 24 20 75 93 44 89 54 24 0c e8 49 94 02 00 44 8b 54 24 0c 89 da 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 89 44 24 0c e8 9c 94 02 00 8b 44 RSP: 002b:00007f9576bcfb70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9578166590 RDX: 0000000000000000 RSI: 00007f9576bcfc10 RDI: 00000000ffffff9c RBP: 00007f9576bcfc10 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: cccccccccccccccd R13: 00007f95783af038 R14: 00007f95783aefa0 R15: 00007ffdb4485c98 Allocated by task 13150: 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:430 [inline] __kasan_slab_alloc+0xbd/0xf0 mm/kasan/common.c:463 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook+0x5d/0x2f0 mm/slab.h:580 slab_alloc_node mm/slub.c:2952 [inline] slab_alloc mm/slub.c:2960 [inline] kmem_cache_alloc+0x165/0x2e0 mm/slub.c:2965 vm_area_dup+0x26/0x250 kernel/fork.c:366 __split_vma+0xbd/0x420 mm/mmap.c:2872 split_vma+0x7c/0xd0 mm/mmap.c:2931 mprotect_fixup+0x56c/0x850 mm/mprotect.c:474 do_mprotect_pkey+0x5f6/0x7e0 mm/mprotect.c:622 __do_sys_mprotect mm/mprotect.c:647 [inline] __se_sys_mprotect mm/mprotect.c:644 [inline] __x64_sys_mprotect+0x80/0x90 mm/mprotect.c:644 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb Freed by task 13152: 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:362 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1600 [inline] slab_free_freelist_hook+0xc5/0x190 mm/slub.c:1626 slab_free mm/slub.c:3208 [inline] kmem_cache_free+0x100/0x2d0 mm/slub.c:3224 vm_area_free+0x52/0xf0 kernel/fork.c:386 __free_vma mm/mmap.c:180 [inline] put_vma mm/mmap.c:187 [inline] remove_vma mm/mmap.c:205 [inline] exit_mmap+0x417/0x540 mm/mmap.c:3393 __mmput+0x93/0x2f0 kernel/fork.c:1153 mmput+0x4e/0x150 kernel/fork.c:1176 exit_mm kernel/exit.c:539 [inline] do_exit+0x9ae/0x2480 kernel/exit.c:859 do_group_exit+0x141/0x310 kernel/exit.c:986 get_signal+0xf7d/0x12e0 kernel/signal.c:2793 arch_do_signal_or_restart+0xbf/0x10f0 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop+0xa2/0xe0 kernel/entry/common.c:169 exit_to_user_mode_prepare+0x76/0xa0 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x1d/0x40 kernel/entry/common.c:274 ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:291 The buggy address belongs to the object at ffff88812cdb1378 which belongs to the cache vm_area_struct of size 232 The buggy address is located 200 bytes inside of 232-byte region [ffff88812cdb1378, ffff88812cdb1460) The buggy address belongs to the page: page:ffffea0004b36c40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x12cdb1 flags: 0x4000000000000200(slab) raw: 4000000000000200 ffffea000484ac40 0000000800000008 ffff888100189b00 raw: 0000000000000000 00000000000d000d 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 11445, ts 630893991056, free_ts 630867972779 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page+0x179/0x180 mm/page_alloc.c:2462 get_page_from_freelist+0x2235/0x23d0 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x268/0x5f0 mm/page_alloc.c:5370 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1813 [inline] new_slab+0x84/0x3f0 mm/slub.c:1874 new_slab_objects mm/slub.c:2632 [inline] ___slab_alloc+0x2a6/0x450 mm/slub.c:2796 __slab_alloc+0x63/0xa0 mm/slub.c:2836 slab_alloc_node mm/slub.c:2918 [inline] slab_alloc mm/slub.c:2960 [inline] kmem_cache_alloc+0x1af/0x2e0 mm/slub.c:2965 vm_area_dup+0x26/0x250 kernel/fork.c:366 __split_vma+0xbd/0x420 mm/mmap.c:2872 split_vma+0x7c/0xd0 mm/mmap.c:2931 mprotect_fixup+0x4ba/0x850 mm/mprotect.c:468 do_mprotect_pkey+0x5f6/0x7e0 mm/mprotect.c:622 __do_sys_mprotect mm/mprotect.c:647 [inline] __se_sys_mprotect mm/mprotect.c:644 [inline] __x64_sys_mprotect+0x80/0x90 mm/mprotect.c:644 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb page last free stack trace: reset_page_owner include/linux/page_owner.h:28 [inline] free_pages_prepare mm/page_alloc.c:1349 [inline] free_pcp_prepare mm/page_alloc.c:1421 [inline] free_unref_page_prepare+0x2b7/0x2d0 mm/page_alloc.c:3336 free_unref_page mm/page_alloc.c:3391 [inline] free_the_page mm/page_alloc.c:5429 [inline] __free_pages+0x14b/0x380 mm/page_alloc.c:5440 __vunmap+0x84d/0x9d0 mm/vmalloc.c:2307 free_work+0x5a/0x80 mm/vmalloc.c:69 process_one_work+0x6e1/0xba0 kernel/workqueue.c:2301 worker_thread+0xa6a/0x13b0 kernel/workqueue.c:2447 kthread+0x346/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Memory state around the buggy address: ffff88812cdb1300: fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc fa ffff88812cdb1380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88812cdb1400: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ^ ffff88812cdb1480: fc fc fc fc fa fb fb fb fb fb fb fb fb fb fb fb ffff88812cdb1500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== general protection fault, probably for non-canonical address 0xdffffc0000000213: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x0000000000001098-0x000000000000109f] CPU: 0 PID: 13772 Comm: syz.0.3619 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025 RIP: 0010:steam_send_report+0x66/0x310 drivers/hid/hid-steam.c:172 Code: 80 3c 18 00 74 12 4c 89 f7 e8 c6 34 3f fe 48 ba 00 00 00 00 00 fc ff df 4d 8b 26 49 8d 9c 24 98 10 00 00 48 89 d8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 9c 34 3f fe 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90001117668 EFLAGS: 00010202 RAX: 0000000000000213 RBX: 0000000000001098 RCX: 0000000000000282 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff88812cdb1430 RBP: ffffc900011176b0 R08: dffffc0000000000 R09: fffff52000222ec9 R10: fffff52000222ec9 R11: 1ffff92000222ec8 R12: 0000000000000000 R13: 1ffff92000222ed8 R14: ffff88812cdb1430 R15: ffffc900011176e0 FS: 00007f9576bd06c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000120b64000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: steam_send_report_byte drivers/hid/hid-steam.c:212 [inline] steam_set_lizard_mode drivers/hid/hid-steam.c:285 [inline] steam_input_open+0xde/0x160 drivers/hid/hid-steam.c:299 input_open_device+0x14c/0x2a0 drivers/input/input.c:635 evdev_open_device drivers/input/evdev.c:400 [inline] evdev_open+0x4d2/0x5e0 drivers/input/evdev.c:487 chrdev_open+0x597/0x670 fs/char_dev.c:414 do_dentry_open+0x793/0x1090 fs/open.c:819 vfs_open+0x73/0x80 fs/open.c:942 do_open fs/namei.c:3391 [inline] path_openat+0x27ad/0x3160 fs/namei.c:3509 do_filp_open+0x1b3/0x3e0 fs/namei.c:3536 do_sys_openat2+0x14c/0x6d0 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1244 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9578166590 Code: 48 89 44 24 20 75 93 44 89 54 24 0c e8 49 94 02 00 44 8b 54 24 0c 89 da 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 89 44 24 0c e8 9c 94 02 00 8b 44 RSP: 002b:00007f9576bcfb70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9578166590 RDX: 0000000000000000 RSI: 00007f9576bcfc10 RDI: 00000000ffffff9c RBP: 00007f9576bcfc10 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: cccccccccccccccd R13: 00007f95783af038 R14: 00007f95783aefa0 R15: 00007ffdb4485c98 Modules linked in: ---[ end trace 7d2ef8733bbf1640 ]--- RIP: 0010:steam_send_report+0x66/0x310 drivers/hid/hid-steam.c:172 Code: 80 3c 18 00 74 12 4c 89 f7 e8 c6 34 3f fe 48 ba 00 00 00 00 00 fc ff df 4d 8b 26 49 8d 9c 24 98 10 00 00 48 89 d8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 9c 34 3f fe 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90001117668 EFLAGS: 00010202 RAX: 0000000000000213 RBX: 0000000000001098 RCX: 0000000000000282 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff88812cdb1430 RBP: ffffc900011176b0 R08: dffffc0000000000 R09: fffff52000222ec9 R10: fffff52000222ec9 R11: 1ffff92000222ec8 R12: 0000000000000000 R13: 1ffff92000222ed8 R14: ffff88812cdb1430 R15: ffffc900011176e0 FS: 00007f9576bd06c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8261b23358 CR3: 0000000120b64000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 4: 74 12 je 0x18 6: 4c 89 f7 mov %r14,%rdi 9: e8 c6 34 3f fe call 0xfe3f34d4 e: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 15: fc ff df 18: 4d 8b 26 mov (%r14),%r12 1b: 49 8d 9c 24 98 10 00 lea 0x1098(%r12),%rbx 22: 00 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) <-- trapping instruction 2e: 74 12 je 0x42 30: 48 89 df mov %rbx,%rdi 33: e8 9c 34 3f fe call 0xfe3f34d4 38: 48 rex.W 39: ba 00 00 00 00 mov $0x0,%edx 3e: 00 fc add %bh,%ah