ci2-upstream-fs/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-upstream-fs/syz-executor1860478971 <...> Warning: Permanently added '10.128.0.110' (ED25519) to the list of known hosts. execve("ci2-upstream-fs/syz-executor1860478971", ["ci2-upstream-fs/syz-executor1860478971"], 0x7fff65512080 /* 10 vars */) = 0 brk(NULL) = 0x555576738000 brk(0x555576738d80) = 0x555576738d80 arch_prctl(ARCH_SET_FS, 0x555576738400) = 0 set_tid_address(0x5555767386d0) = 5607 set_robust_list(0x5555767386e0, 24) = 0 rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 33, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlinkat(AT_FDCWD, "/proc/self/exe", "/root/ci2-upstream-fs/syz-executor1860478971", 4096) = 44 getrandom("\xb4\xf9\x95\x11\x1f\x58\x18\xbf", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555576738d80 brk(0x555576759d80) = 0x555576759d80 brk(0x55557675a000) = 0x55557675a000 mprotect(0x7f3c3e508000, 20480, PROT_READ) = 0 mmap(0x1ffffffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffffffff000 mmap(0x200000000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200000000000 mmap(0x200001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200001000000 mkdir("/syzcgroup", 0777) = 0 mkdir("/syzcgroup/unified", 0777) = 0 mount("none", "/syzcgroup/unified", "cgroup2", 0, NULL) = 0 chmod("/syzcgroup/unified", 0777) = 0 openat(AT_FDCWD, "/syzcgroup/unified/cgroup.subtree_control", O_WRONLY) = 3 write(3, "+cpu", 4) = 4 write(3, "+io", 3) = 3 write(3, "+pids", 5) = 5 close(3) = 0 mkdir("/syzcgroup/net", 0777) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "net") = -1 EINVAL (Invalid argument) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio") = 0 [ 98.888212][ T5607] cgroup: Unknown subsys name 'net' umount2("/syzcgroup/net", 0) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "devices") = 0 umount2("/syzcgroup/net", 0) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "blkio") = 0 umount2("/syzcgroup/net", 0) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "freezer") = 0 umount2("/syzcgroup/net", 0) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = 0 chmod("/syzcgroup/net", 0777) = 0 mkdir("/syzcgroup/cpu", 0777) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset") = -1 EINVAL (Invalid argument) mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuacct") = 0 umount2("/syzcgroup/cpu", 0) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "hugetlb") = 0 [ 99.127207][ T5607] cgroup: Unknown subsys name 'cpuset' umount2("/syzcgroup/cpu", 0) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "rlimit") = -1 EINVAL (Invalid argument) mount("none", "/syzcgroup/cpu", "cgroup", 0, "memory") = 0 umount2("/syzcgroup/cpu", 0) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuacct,hugetlb,memory") = ? ERESTARTNOINTR (To be restarted) [ 99.211432][ T5607] cgroup: Unknown subsys name 'rlimit' mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuacct,hugetlb,memory") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuacct,hugetlb,memory") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuacct,hugetlb,memory") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuacct,hugetlb,memory") = 0 chmod("/syzcgroup/cpu", 0777) = 0 openat(AT_FDCWD, "/syzcgroup/cpu/cgroup.clone_children", O_WRONLY|O_CLOEXEC) = 3 write(3, "1", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/syzcgroup/cpu/cpuset.memory_pressure_enabled", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) getrandom("\xb2\x1e\x20\x22\x03\x5c\x96\x2b", 8, GRND_NONBLOCK) = 8 mkdir("./syzkaller.83HGk8", 0700) = 0 chmod("./syzkaller.83HGk8", 0777) = 0 chdir("./syzkaller.83HGk8") = 0 unshare(CLONE_NEWPID) = 0 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-upstream-fs/strace-static-x86_64: Process 5608 attached [pid 5608] set_robust_list(0x5555767386e0, 24 [pid 5607] <... clone resumed>, child_tidptr=0x5555767386d0) = 5608 [pid 5608] <... set_robust_list resumed>) = 0 [pid 5608] rt_sigprocmask(SIG_SETMASK, [] [pid 5607] rt_sigprocmask(SIG_SETMASK, [] [pid 5608] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 5607] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 5608] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5608] getppid() = 0 [pid 5608] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5608] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5608] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5608] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5608] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5608] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5608] unshare(CLONE_NEWNS) = 0 [pid 5608] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5608] unshare(CLONE_NEWIPC) = 0 [pid 5608] unshare(CLONE_NEWCGROUP) = 0 [pid 5608] unshare(CLONE_NEWUTS) = 0 [pid 5608] unshare(CLONE_SYSVSEM) = 0 [pid 5608] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5608] write(3, "16777216", 8) = 8 [pid 5608] close(3) = 0 [pid 5608] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5608] write(3, "536870912", 9) = 9 [pid 5608] close(3) = 0 [pid 5608] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5608] write(3, "1024", 4) = 4 [pid 5608] close(3) = 0 [pid 5608] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5608] write(3, "8192", 4) = 4 [pid 5608] close(3) = 0 [pid 5608] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5608] write(3, "1024", 4) = 4 [pid 5608] close(3) = 0 [pid 5608] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5608] write(3, "1024", 4) = 4 [pid 5608] close(3) = 0 [pid 5608] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5608] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5608] close(3) = 0 [pid 5608] getpid() = 1 [pid 5608] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [pid 5610] set_robust_list(0x5555767386e0, 24 [pid 5608] <... clone resumed>, child_tidptr=0x5555767386d0) = 2 [pid 5610] <... set_robust_list resumed>) = 0 [ 99.746872][ T5608] soft_limit_in_bytes is deprecated and will be removed. Writing any value to this file has no effect. Please report your usecase to linux-mm@kvack.org if you depend on this functionality. [pid 5610] rt_sigprocmask(SIG_SETMASK, [] [pid 5608] rt_sigprocmask(SIG_SETMASK, [] [pid 5610] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 5608] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 5610] chdir("./0") = 0 [pid 5610] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5610] setpgid(0, 0) = 0 [pid 5610] symlink("/syzcgroup/unified/syz0", "./cgroup") = 0 [pid 5610] symlink("/syzcgroup/cpu/syz0", "./cgroup.cpu") = 0 [pid 5610] symlink("/syzcgroup/net/syz0", "./cgroup.net") = 0 [pid 5610] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5610] write(3, "1000", 4) = 4 [pid 5610] close(3) = 0 [pid 5610] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5610] write(1, "executing program\n", 18) = 18 executing program [pid 5610] mkdirat(AT_FDCWD, "./gadget", 0777) = 0 [pid 5610] mount(NULL, "./gadget", "gadgetfs", 0, NULL) = 0 [pid 5610] openat(AT_FDCWD, "./gadget/dummy_udc", O_RDWR|O_NONBLOCK) = 3 [pid 5610] mkdirat(AT_FDCWD, "./cgroup.cpu/test", 03567) = 0 [pid 5610] openat(AT_FDCWD, "./cgroup.cpu/test/memory.limit_in_bytes", O_RDWR) = 4 [pid 5610] write(4, "1", 1) = 1 [pid 5610] openat(AT_FDCWD, "./cgroup.cpu/test/cgroup.procs", O_RDWR) = 5 [pid 5610] write(5, "0", 1) = 1 [ 99.898709][ T5610] syz-executor186 invoked oom-killer: gfp_mask=0xcc0(GFP_KERNEL), order=0, oom_score_adj=1000 [ 99.898749][ T5610] CPU: 0 UID: 0 PID: 5610 Comm: syz-executor186 Not tainted syzkaller #0 PREEMPT_{RT,(full)} [ 99.898773][ T5610] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 [ 99.898787][ T5610] Call Trace: [ 99.898793][ T5610] [ 99.898800][ T5610] dump_stack_lvl+0xe8/0x150 [ 99.898838][ T5610] dump_header+0xd3/0x4b0 [ 99.898861][ T5610] oom_kill_process+0x3ab/0x9e0 [ 99.898889][ T5610] out_of_memory+0x1064/0x1480 [ 99.898922][ T5610] ? __pfx_out_of_memory+0x10/0x10 [ 99.898947][ T5610] ? _raw_spin_unlock_irqrestore+0x4c/0x80 [ 99.898972][ T5610] ? _mutex_lock_killable+0x152/0x1d0 [ 99.898988][ T5610] ? try_charge_memcg+0xcc3/0x16f0 [ 99.899015][ T5610] try_charge_memcg+0xd82/0x16f0 [ 99.899052][ T5610] ? __pfx_try_charge_memcg+0x10/0x10 [ 99.899080][ T5610] ? percpu_ref_tryget+0x15/0x180 [ 99.899097][ T5610] ? __memcg_slab_post_alloc_hook+0x7d0/0xfe0 [ 99.899124][ T5610] ? __memcg_slab_post_alloc_hook+0x7d0/0xfe0 [ 99.899145][ T5610] ? __memcg_slab_post_alloc_hook+0x7d0/0xfe0 [ 99.899168][ T5610] __memcg_slab_post_alloc_hook+0x968/0xfe0 [ 99.899204][ T5610] ? alloc_inode+0xb8/0x1b0 [ 99.899228][ T5610] kmem_cache_alloc_lru_noprof+0x41c/0x680 [ 99.899248][ T5610] ? alloc_inode+0xb8/0x1b0 [ 99.899271][ T5610] ? alloc_inode+0xb8/0x1b0 [ 99.899299][ T5610] alloc_inode+0xb8/0x1b0 [ 99.899324][ T5610] new_inode+0x1f/0x170 [ 99.899342][ T5610] gadgetfs_bind+0x4b4/0xae0 [ 99.899379][ T5610] ? __pfx_gadgetfs_bind+0x10/0x10 [ 99.899400][ T5610] gadget_bind_driver+0x2ca/0x9e0 [ 99.899428][ T5610] ? __pfx_gadget_bind_driver+0x10/0x10 [ 99.899446][ T5610] really_probe+0x254/0xae0 [ 99.899464][ T5610] __driver_probe_device+0x1e8/0x360 [ 99.899490][ T5610] driver_probe_device+0x4f/0x240 [ 99.899507][ T5610] __driver_attach+0x339/0x600 [ 99.899532][ T5610] bus_for_each_dev+0x23e/0x2c0 [ 99.899550][ T5610] ? __pfx___driver_attach+0x10/0x10 [ 99.899573][ T5610] ? __pfx_bus_for_each_dev+0x10/0x10 [ 99.899589][ T5610] ? rt_spin_unlock+0x159/0x200 [ 99.899608][ T5610] ? rt_spin_unlock+0x165/0x200 [ 99.899626][ T5610] bus_add_driver+0x348/0x670 [ 99.899650][ T5610] driver_register+0x23a/0x320 [ 99.899668][ T5610] usb_gadget_register_driver_owner+0xf9/0x270 [ 99.899690][ T5610] dev_config+0xe4e/0x12c0 [ 99.899717][ T5610] ? __pfx_dev_config+0x10/0x10 [ 99.899744][ T5610] ? __pfx_dev_config+0x10/0x10 [ 99.899768][ T5610] vfs_write+0x29f/0xbb0 [ 99.899788][ T5610] ? reacquire_held_locks+0x117/0x1a0 [ 99.899814][ T5610] ? __pfx_vfs_write+0x10/0x10 [ 99.899834][ T5610] ? rt_spin_unlock+0x159/0x200 [ 99.899853][ T5610] ? rt_spin_unlock+0x165/0x200 [ 99.899875][ T5610] ksys_write+0x156/0x270 [ 99.899894][ T5610] ? __pfx_ksys_write+0x10/0x10 [ 99.899920][ T5610] do_syscall_64+0x166/0x520 [ 99.899940][ T5610] ? trace_irq_disable+0x3b/0x140 [ 99.899960][ T5610] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 99.899975][ T5610] ? clear_bhb_loop+0x70/0xc0 [ 99.899994][ T5610] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 99.900009][ T5610] RIP: 0033 ** replaying previous printk message ** [ 99.900009][ T5610] RIP: 0033:0x7f3c3e4758e9 [ 99.900028][ T5610] Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 d8 ff ff ff f7 d8 64 89 01 48 [ 99.900041][ T5610] RSP: 002b:00007ffc05065d48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 99.900057][ T5610] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f3c3e4758e9 [ 99.900068][ T5610] RDX: 000000000000001f RSI: 0000200000000400 RDI: 0000000000000003 [ 99.900078][ T5610] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 99.900086][ T5610] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3c3e4dc042 [ 99.900096][ T5610] R13: 00007ffc05065d80 R14: 00007ffc05065dc0 R15: 0000000000000000 [ 99.900119][ T5610] [ 99.931542][ T5610] memory: usage 0kB, limit 0kB, failcnt 19 [ 99.931582][ T5610] memory+swap: usage 0kB, limit 9007199254740988kB, failcnt 0 [ 99.931676][ T5610] kmem: usage 0kB, limit 9007199254740988kB, failcnt 0 [ 99.931711][ T5610] Memory cgroup stats for /syz0/test: [ 99.944823][ T5610] cache 0 [ 99.944863][ T5610] rss 0 [ 99.944882][ T5610] shmem 0 [ 99.944900][ T5610] mapped_file 0 [ 99.944912][ T5610] dirty 0 [ 99.944931][ T5610] writeback 0 [ 99.944950][ T5610] workingset_refault_anon 0 [ 99.944970][ T5610] workingset_refault_file 0 [ 99.944988][ T5610] swap 0 [ 99.945006][ T5610] swapcached 0 [ 99.947268][ T5610] pgpgin 0 [ 99.947298][ T5610] pgpgout 0 [ 99.947317][ T5610] pgfault 0 [ 99.947338][ T5610] pgmajfault 0 [ 99.947357][ T5610] inactive_anon 0 [ 99.947371][ T5610] active_anon 0 [ 99.947397][ T5610] inactive_file 0 [ 99.947436][ T5610] active_file 0 [ 99.947450][ T5610] unevictable 0 [ 99.947464][ T5610] hierarchical_memory_limit 0 [ 99.947485][ T5610] hierarchical_memsw_limit 9223372036854771712 [ 99.947508][ T5610] total_cache 0 [ 99.947529][ T5610] total_rss 0 [ 99.947550][ T5610] total_shmem 0 [ 99.947569][ T5610] total_mapped_file 0 [ 99.947577][ T5610] total_dirty 0 [ 99.947585][ T5610] total_writeback 0 [ 99.947616][ T5610] total_workingset_refault_anon 0 [ 99.947653][ T5610] total_workingset_refault_file 0 [ 99.947682][ T5610] total_swap 0 [ 99.947702][ T5610] total_swapcached 0 [ 99.947733][ T5610] total_pgpgin 0 [ 99.947754][ T5610] total_pgpgout 0 [ 99.947785][ T5610] total_pgfault 0 [ 99.947805][ T5610] total_pgmajfault 0 [ 99.947827][ T5610] total_inactive_anon 0 [ 99.947854][ T5610] total_active_anon 0 [ 99.953384][ T5610] total_inactive_file 0 [ 99.953415][ T5610] total_active_file 0 [ 99.953435][ T5610] total_unevictable 0 [ 99.953456][ T5610] anon_cost 0 [ 99.953476][ T5610] file_cost 0 [ 99.953511][ T5610] Tasks state (memory values in pages): [ 99.954454][ T5610] [ pid ] uid tgid total_vm rss rss_anon rss_file rss_shmem pgtables_bytes swapents oom_score_adj name [ 99.954555][ T5610] [ 5610] 0 5610 4360 112 17 95 0 49152 0 1000 syz-executor186 [ 99.954658][ T5610] oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=/,mems_allowed=0-1,oom_memcg=/syz0/test,task_memcg=/syz0/test,task=syz-executor186,pid=5610,uid=0 [ 99.982779][ T5610] Memory cgroup out of memory: Killed process 5610 (syz-executor186) total-vm:17440kB, anon-rss:68kB, file-rss:380kB, shmem-rss:0kB, UID:0 pgtables:48kB oom_score_adj:1000 [ 100.064747][ T5610] udc dummy_udc.0: failed to start USB Gadget filesystem: -12 [ 100.064808][ T5610] gadgetfs gadget.0: probe with driver gadgetfs failed with error -12 [ 100.191349][ T5610] udc dummy_udc.1: failed to start USB Gadget filesystem: -12 [ 100.191422][ T5610] gadgetfs gadget.1: probe with driver gadgetfs failed with error -12 [ 100.192480][ T5610] ================================================================== [ 100.192512][ T5610] BUG: KASAN: slab-use-after-free in gadgetfs_bind+0xd8/0xae0 [ 100.192608][ T5610] Write of size 8 at addr ffff888038731100 by task syz-executor186/5610 [ 100.192658][ T5610] [ 100.192689][ T5610] CPU: 1 UID: 0 PID: 5610 Comm: syz-executor186 Not tainted syzkaller #0 PREEMPT_{RT,(full)} [ 100.192739][ T5610] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 [ 100.192779][ T5610] Call Trace: [ 100.192800][ T5610] [ 100.192822][ T5610] dump_stack_lvl+0xe8/0x150 [ 100.192906][ T5610] print_address_description+0x55/0x1e0 [ 100.193010][ T5610] ? gadgetfs_bind+0xd8/0xae0 [ 100.193090][ T5610] print_report+0x58/0x70 [ 100.193162][ T5610] kasan_report+0x117/0x150 [ 100.193247][ T5610] ? gadgetfs_bind+0xd8/0xae0 [ 100.193331][ T5610] gadgetfs_bind+0xd8/0xae0 [ 100.193415][ T5610] ? __pfx_gadgetfs_bind+0x10/0x10 [ 100.193497][ T5610] gadget_bind_driver+0x2ca/0x9e0 [ 100.193585][ T5610] ? __pfx_gadget_bind_driver+0x10/0x10 [ 100.193650][ T5610] really_probe+0x254/0xae0 [ 100.193705][ T5610] __driver_probe_device+0x1e8/0x360 [ 100.193792][ T5610] driver_probe_device+0x4f/0x240 [ 100.193856][ T5610] __driver_attach+0x339/0x600 [ 100.193940][ T5610] bus_for_each_dev+0x23e/0x2c0 [ 100.194004][ T5610] ? __pfx___driver_attach+0x10/0x10 [ 100.194087][ T5610] ? __pfx_bus_for_each_dev+0x10/0x10 [ 100.194150][ T5610] ? rt_spin_unlock+0x159/0x200 [ 100.194215][ T5610] ? rt_spin_unlock+0x165/0x200 [ 100.194288][ T5610] bus_add_driver+0x348/0x670 [ 100.194370][ T5610] driver_register+0x23a/0x320 [ 100.194446][ T5610] usb_gadget_register_driver_owner+0xf9/0x270 [ 100.194521][ T5610] dev_config+0xe4e/0x12c0 [ 100.194606][ T5610] ? __pfx_dev_config+0x10/0x10 [ 100.194691][ T5610] ? __pfx_dev_config+0x10/0x10 [ 100.194760][ T5610] vfs_write+0x29f/0xbb0 [ 100.194826][ T5610] ? reacquire_held_locks+0x117/0x1a0 [ 100.194919][ T5610] ? __pfx_vfs_write+0x10/0x10 [ 100.194984][ T5610] ? rt_spin_unlock+0x159/0x200 [ 100.195047][ T5610] ? rt_spin_unlock+0x165/0x200 [ 100.195113][ T5610] ksys_write+0x156/0x270 [ 100.195176][ T5610] ? __pfx_ksys_write+0x10/0x10 [ 100.195259][ T5610] do_syscall_64+0x166/0x520 [ 100.195334][ T5610] ? trace_irq_disable+0x3b/0x140 [ 100.195411][ T5610] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 100.195472][ T5610] ? clear_bhb_loop+0x70/0xc0 [ 100.195537][ T5610] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 100.195593][ T5610] RIP: 0033:0x7f3c3e4758e9 [ 100.195645][ T5610] Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 d8 ff ff ff f7 d8 64 89 01 48 [ 100.195692][ T5610] RSP: 002b:00007ffc05065d48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 100.195753][ T5610] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f3c3e4758e9 [ 100.195795][ T5610] RDX: 000000000000001f RSI: 0000200000000400 RDI: 0000000000000003 [ 100.195829][ T5610] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 100.195868][ T5610] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3c3e4dc042 [ 100.195902][ T5610] R13: 00007ffc05065d80 R14: 00007ffc05065dc0 R15: 0000000000000000 [ 100.195965][ T5610] [ 100.195985][ T5610] [ 100.195996][ T5610] Allocated by task 5608: [ 100.196026][ T5610] kasan_save_track+0x3e/0x80 [ 100.196091][ T5610] __kasan_kmalloc+0x93/0xb0 [ 100.196179][ T5610] __kmalloc_cache_noprof+0x3d5/0x680 [ 100.196264][ T5610] gadgetfs_fill_super+0x27b/0x7a0 [ 100.196349][ T5610] get_tree_single+0xc0/0x150 [ 100.196410][ T5610] vfs_get_tree+0x92/0x2a0 [ 100.196472][ T5610] do_new_mount+0x319/0xdc0 [ 100.196519][ T5610] __se_sys_mount+0x31d/0x420 [ 100.196571][ T5610] do_syscall_64+0x166/0x520 [ 100.196638][ T5610] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 100.196693][ T5610] [ 100.196706][ T5610] Freed by task 5610: [ 100.196738][ T5610] kasan_save_track+0x3e/0x80 [ 100.196802][ T5610] kasan_save_free_info+0x40/0x50 [ 100.196856][ T5610] __kasan_slab_free+0x5c/0x80 [ 100.196928][ T5610] kfree+0x1c5/0x6d0 [ 100.196982][ T5610] gadgetfs_bind+0x942/0xae0 [ 100.197060][ T5610] gadget_bind_driver+0x2ca/0x9e0 [ 100.197124][ T5610] really_probe+0x254/0xae0 [ 100.197166][ T5610] __driver_probe_device+0x1e8/0x360 [ 100.197239][ T5610] driver_probe_device+0x4f/0x240 [ 100.197282][ T5610] __driver_attach+0x339/0x600 [ 100.197355][ T5610] bus_for_each_dev+0x23e/0x2c0 [ 100.197417][ T5610] bus_add_driver+0x348/0x670 [ 100.197470][ T5610] driver_register+0x23a/0x320 [ 100.197514][ T5610] usb_gadget_register_driver_owner+0xf9/0x270 [ 100.197578][ T5610] dev_config+0xe4e/0x12c0 [ 100.197643][ T5610] vfs_write+0x29f/0xbb0 [ 100.197710][ T5610] ksys_write+0x156/0x270 [ 100.197780][ T5610] do_syscall_64+0x166/0x520 [ 100.197872][ T5610] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 100.197924][ T5610] [ 100.197943][ T5610] The buggy address belongs to the object at ffff888038731000 [ 100.197943][ T5610] which belongs to the cache kmalloc-1k of size 1024 [ 100.197999][ T5610] The buggy address is located 256 bytes inside of [ 100.197999][ T5610] freed 1024-byte region [ffff888038731000, ffff888038731400) [ 100.198058][ T5610] [ 100.198070][ T5610] The buggy address belongs to the physical page: [ 100.198133][ T5610] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x38730 [ 100.198179][ T5610] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 100.198229][ T5610] flags: 0x80000000000040(head|node=0|zone=1) [ 100.198273][ T5610] page_type: f5(slab) [ 100.198325][ T5610] raw: 0080000000000040 ffff88813ff00dc0 dead000000000100 dead000000000122 [ 100.198376][ T5610] raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 [ 100.198429][ T5610] head: 0080000000000040 ffff88813ff00dc0 dead000000000100 dead000000000122 [ 100.198473][ T5610] head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 [ 100.198533][ T5610] head: 0080000000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff [ 100.198577][ T5610] head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000008 [ 100.198609][ T5610] page dumped because: kasan: bad access detected [ 100.198639][ T5610] page_owner tracks the page as allocated [ 100.198659][ T5610] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5608, tgid 5608 (syz-executor186), ts 99560116667 [ 100.198740][ T5610] post_alloc_hook+0x1f9/0x250 [ 100.198803][ T5610] get_page_from_freelist+0x2591/0x2600 [ 100.198877][ T5610] __alloc_frozen_pages_noprof+0x230/0x5c0 [ 100.198950][ T5610] allocate_slab+0x7d/0x620 [ 100.199001][ T5610] refill_objects+0x2d8/0x350 [ 100.199060][ T5610] __pcs_replace_empty_main+0x339/0x690 [ 100.199120][ T5610] __kmalloc_cache_noprof+0x46f/0x680 [ 100.199191][ T5610] afs_alloc_call+0x79/0x580 [ 100.199267][ T5610] afs_charge_preallocation+0x273/0x570 [ 100.199339][ T5610] afs_open_socket+0x33c/0x3f0 [ 100.199411][ T5610] afs_net_init+0x6ce/0x8f0 [ 100.199473][ T5610] ops_init+0x35d/0x5d0 [ 100.199541][ T5610] setup_net+0x118/0x350 [ 100.199612][ T5610] copy_net_ns+0x53b/0x780 [ 100.199677][ T5610] create_new_namespaces+0x3f0/0x6b0 [ 100.199737][ T5610] unshare_nsproxy_namespaces+0x149/0x190 [ 100.199802][ T5610] page last free pid 5600 tgid 5600 ts 96401179400 stack trace: [ 100.199842][ T5610] __free_frozen_pages+0xf8e/0x1070 [ 100.199906][ T5610] __slab_free+0x250/0x2a0 [ 100.199976][ T5610] qlist_free_all+0x99/0x100 [ 100.200040][ T5610] kasan_quarantine_reduce+0x148/0x160 [ 100.200105][ T5610] __kasan_slab_alloc+0x22/0x80 [ 100.200171][ T5610] kmem_cache_alloc_node_noprof+0x3fc/0x660 [ 100.200244][ T5610] __alloc_skb+0x1db/0x7a0 [ 100.200284][ T5610] alloc_skb_with_frags+0xc6/0x760 [ 100.200321][ T5610] sock_alloc_send_pskb+0x884/0x9a0 [ 100.200373][ T5610] unix_dgram_sendmsg+0x4da/0x17b0 [ 100.200446][ T5610] sock_sendmsg_nosec+0x13a/0x180 [ 100.200517][ T5610] sock_write_iter+0x2e4/0x3f0 [ 100.200610][ T5610] vfs_write+0x61e/0xbb0 [ 100.200684][ T5610] ksys_write+0x156/0x270 [ 100.200741][ T5610] do_syscall_64+0x166/0x520 [ 100.200807][ T5610] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 100.200862][ T5610] [ 100.200875][ T5610] Memory state around the buggy address: [ 100.200904][ T5610] ffff888038731000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 100.200939][ T5610] ffff888038731080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 100.200978][ T5610] >ffff888038731100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 100.201003][ T5610] ^ [ 100.201033][ T5610] ffff888038731180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 100.201067][ T5610] ffff888038731200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 100.201097][ T5610] ================================================================== [ 100.204464][ T5610] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 101.404680][ T5610] CPU: 1 UID: 0 PID: 5610 Comm: syz-executor186 Not tainted syzkaller #0 PREEMPT_{RT,(full)} [ 101.414955][ T5610] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 [ 101.425044][ T5610] Call Trace: [ 101.428344][ T5610] [ 101.431279][ T5610] vpanic+0x56d/0xa60 [ 101.435262][ T5610] ? rcu_is_watching+0x16/0xb0 [ 101.440040][ T5610] ? __pfx_vpanic+0x10/0x10 [ 101.444564][ T5610] panic+0xc5/0xd0 [ 101.448296][ T5610] ? __pfx_panic+0x10/0x10 [ 101.452718][ T5610] ? preempt_schedule_thunk+0x16/0x40 [ 101.458141][ T5610] ? gadgetfs_bind+0xd8/0xae0 [ 101.462944][ T5610] ? preempt_schedule_thunk+0x16/0x40 [ 101.468329][ T5610] ? gadgetfs_bind+0xd8/0xae0 [ 101.473030][ T5610] check_panic_on_warn+0x89/0xb0 [ 101.477985][ T5610] ? gadgetfs_bind+0xd8/0xae0 [ 101.482665][ T5610] end_report+0x73/0x170 [ 101.486917][ T5610] ? gadgetfs_bind+0xd8/0xae0 [ 101.491602][ T5610] kasan_report+0x128/0x150 [ 101.496122][ T5610] ? gadgetfs_bind+0xd8/0xae0 [ 101.500809][ T5610] gadgetfs_bind+0xd8/0xae0 [ 101.505325][ T5610] ? __pfx_gadgetfs_bind+0x10/0x10 [ 101.510456][ T5610] gadget_bind_driver+0x2ca/0x9e0 [ 101.515547][ T5610] ? __pfx_gadget_bind_driver+0x10/0x10 [ 101.521101][ T5610] really_probe+0x254/0xae0 [ 101.525612][ T5610] __driver_probe_device+0x1e8/0x360 [ 101.530930][ T5610] driver_probe_device+0x4f/0x240 [ 101.535960][ T5610] __driver_attach+0x339/0x600 [ 101.540741][ T5610] bus_for_each_dev+0x23e/0x2c0 [ 101.545606][ T5610] ? __pfx___driver_attach+0x10/0x10 [ 101.550919][ T5610] ? __pfx_bus_for_each_dev+0x10/0x10 [ 101.556300][ T5610] ? rt_spin_unlock+0x159/0x200 [ 101.561180][ T5610] ? rt_spin_unlock+0x165/0x200 [ 101.566035][ T5610] bus_add_driver+0x348/0x670 [ 101.570721][ T5610] driver_register+0x23a/0x320 [ 101.575490][ T5610] usb_gadget_register_driver_owner+0xf9/0x270 [ 101.581662][ T5610] dev_config+0xe4e/0x12c0 [ 101.586101][ T5610] ? __pfx_dev_config+0x10/0x10 [ 101.590999][ T5610] ? __pfx_dev_config+0x10/0x10 [ 101.595863][ T5610] vfs_write+0x29f/0xbb0 [ 101.600120][ T5610] ? reacquire_held_locks+0x117/0x1a0 [ 101.605541][ T5610] ? __pfx_vfs_write+0x10/0x10 [ 101.610354][ T5610] ? rt_spin_unlock+0x159/0x200 [ 101.615235][ T5610] ? rt_spin_unlock+0x165/0x200 [ 101.620126][ T5610] ksys_write+0x156/0x270 [ 101.624492][ T5610] ? __pfx_ksys_write+0x10/0x10 [ 101.629391][ T5610] do_syscall_64+0x166/0x520 [ 101.634026][ T5610] ? trace_irq_disable+0x3b/0x140 [ 101.639088][ T5610] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 101.645188][ T5610] ? clear_bhb_loop+0x70/0xc0 [ 101.649902][ T5610] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 101.655819][ T5610] RIP: 0033:0x7f3c3e4758e9 [ 101.660327][ T5610] Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 d8 ff ff ff f7 d8 64 89 01 48 [ 101.679976][ T5610] RSP: 002b:00007ffc05065d48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 101.688402][ T5610] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f3c3e4758e9 [ 101.696386][ T5610] RDX: 000000000000001f RSI: 0000200000000400 RDI: 0000000000000003 [ 101.704412][ T5610] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 101.712388][ T5610] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3c3e4dc042 [ 101.720369][ T5610] R13: 00007ffc05065d80 R14: 00007ffc05065dc0 R15: 0000000000000000 [ 101.728462][ T5610] [ 101.732101][ T5610] Kernel Offset: disabled [ 101.736436][ T5610] Rebooting in 86400 seconds..