./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor984196456 <...> no interfaces have a carrier forked to background, child pid 5492 [ 59.243005][ T5493] 8021q: adding VLAN 0 to HW filter on device bond0 [ 59.265997][ T5493] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.1.19' (ED25519) to the list of known hosts. execve("./syz-executor984196456", ["./syz-executor984196456"], 0x7fff3ec96560 /* 10 vars */) = 0 brk(NULL) = 0x55557b739000 brk(0x55557b739d40) = 0x55557b739d40 arch_prctl(ARCH_SET_FS, 0x55557b7393c0) = 0 set_tid_address(0x55557b739690) = 5827 set_robust_list(0x55557b7396a0, 24) = 0 rseq(0x55557b739ce0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor984196456", 4096) = 27 getrandom("\x83\x0b\x50\xc7\xdb\x03\xb7\xc5", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557b739d40 brk(0x55557b75ad40) = 0x55557b75ad40 brk(0x55557b75b000) = 0x55557b75b000 mprotect(0x7faff1341000, 16384, 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 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5828 attached [pid 5828] set_robust_list(0x55557b7396a0, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55557b739690) = 5828 [pid 5828] <... set_robust_list resumed>) = 0 [pid 5828] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5828] getppid() = 0 [pid 5828] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5828] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5828] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5828] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5828] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5828] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5828] unshare(CLONE_NEWNS) = 0 [pid 5828] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5828] unshare(CLONE_NEWIPC) = 0 [pid 5828] unshare(CLONE_NEWCGROUP) = 0 [pid 5828] unshare(CLONE_NEWUTS) = 0 [pid 5828] unshare(CLONE_SYSVSEM) = 0 [pid 5828] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5828] write(3, "16777216", 8) = 8 [pid 5828] close(3) = 0 [pid 5828] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5828] write(3, "536870912", 9) = 9 [pid 5828] close(3) = 0 [pid 5828] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5828] write(3, "1024", 4) = 4 [pid 5828] close(3) = 0 [pid 5828] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5828] write(3, "8192", 4) = 4 [pid 5828] close(3) = 0 [pid 5828] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5828] write(3, "1024", 4) = 4 [pid 5828] close(3) = 0 [pid 5828] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5828] write(3, "1024", 4) = 4 [pid 5828] close(3) = 0 [pid 5828] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5828] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5828] close(3) = 0 [pid 5828] getpid() = 1 [pid 5828] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [pid 5832] rseq(0x7faff1270fe0, 0x20, 0, 0x53053053) = 0 [pid 5832] set_robust_list(0x7faff12709a0, 24 [pid 5828] <... clone3 resumed> => {parent_tid=[2]}, 88) = 2 [pid 5832] <... set_robust_list resumed>) = 0 [pid 5828] rt_sigprocmask(SIG_SETMASK, [], [pid 5832] rt_sigprocmask(SIG_SETMASK, [], [pid 5828] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5832] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5828] futex(0x7faff13475e8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5832] memfd_create("syzkaller", 0 [pid 5828] <... futex resumed>) = 0 [pid 5832] <... memfd_create resumed>) = 3 [pid 5828] futex(0x7faff13475ec, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5832] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fafe8e00000 [pid 5832] write(3, "\x02\x02\x02\x02\x02\x02\x02\x02\x74\x68\x69\x73\x20\x69\x73\x20\x61\x6e\x20\x6f\x63\x66\x73\x32\x20\x76\x6f\x6c\x75\x6d\x65\x00\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"..., 16777216) = 16777216 [pid 5832] munmap(0x7fafe8e00000, 138412032) = 0 [pid 5832] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5832] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5832] close(3) = 0 [pid 5832] close(4) = 0 [pid 5832] mkdir("./file0", 0777) = 0 syzkaller login: [ 87.569220][ T5832] loop0: detected capacity change from 0 to 32768 [ 87.610040][ T5832] (syz-executor984,5832,1):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0xb3775c19, computed 0x2dd1c265. Applying ECC. [ 87.625249][ T5832] (syz-executor984,5832,1):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0xb3775c19, computed 0x2dd1c265. Applying ECC. [ 87.648185][ T5832] JBD2: Ignoring recovery information on journal [pid 5832] mount("/dev/loop0", "./file0", "ocfs2", MS_RELATIME, "usrquota,coherency=full,errors=continue,heartbeat=none,errors=continue,nointr,grpquota,") = 0 [pid 5832] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5832] chdir("./file0") = 0 [ 87.681554][ T5832] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 87.696449][ T36] ocfs2: Finishing quota recovery on device (7,0) for slot 0 [pid 5832] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5832] futex(0x7faff13475ec, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5828] <... futex resumed>) = 0 [pid 5832] futex(0x7faff13475e8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5828] exit_group(1 [pid 5832] <... futex resumed>) = ? [pid 5828] <... exit_group resumed>) = ? [pid 5832] +++ exited with 1 +++ [ 87.784804][ T5828] [ 87.787194][ T5828] ====================================================== [ 87.794235][ T5828] WARNING: possible circular locking dependency detected [ 87.801289][ T5828] 6.15.0-rc1-syzkaller #0 Not tainted [ 87.806678][ T5828] ------------------------------------------------------ [ 87.813705][ T5828] syz-executor984/5828 is trying to acquire lock: [ 87.820108][ T5828] ffff888027ba1948 ((wq_completion)ocfs2_wq){+.+.}-{0:0}, at: touch_wq_lockdep_map+0xb1/0x170 [ 87.830413][ T5828] [ 87.830413][ T5828] but task is already holding lock: [ 87.837773][ T5828] ffff888032c9e0e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 87.847548][ T5828] [ 87.847548][ T5828] which lock already depends on the new lock. [ 87.847548][ T5828] [ 87.857956][ T5828] [ 87.857956][ T5828] the existing dependency chain (in reverse order) is: [ 87.866980][ T5828] [ 87.866980][ T5828] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 87.875256][ T5828] lock_acquire+0x116/0x2f0 [ 87.880286][ T5828] down_read+0xb3/0xa50 [ 87.884985][ T5828] ocfs2_finish_quota_recovery+0x15e/0x2310 [ 87.891410][ T5828] ocfs2_complete_recovery+0x1977/0x2580 [ 87.897571][ T5828] process_scheduled_works+0xac3/0x18e0 [ 87.903671][ T5828] worker_thread+0x870/0xd50 [ 87.908783][ T5828] kthread+0x7b7/0x940 [ 87.913379][ T5828] ret_from_fork+0x4b/0x80 [ 87.918314][ T5828] ret_from_fork_asm+0x1a/0x30 [ 87.923607][ T5828] [ 87.923607][ T5828] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 87.933776][ T5828] lock_acquire+0x116/0x2f0 [ 87.938801][ T5828] process_scheduled_works+0x9e9/0x18e0 [ 87.944950][ T5828] worker_thread+0x870/0xd50 [ 87.950058][ T5828] kthread+0x7b7/0x940 [ 87.954649][ T5828] ret_from_fork+0x4b/0x80 [ 87.959601][ T5828] ret_from_fork_asm+0x1a/0x30 [ 87.964893][ T5828] [ 87.964893][ T5828] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 87.973240][ T5828] validate_chain+0xa69/0x24e0 [ 87.978529][ T5828] __lock_acquire+0xad5/0xd80 [ 87.983725][ T5828] lock_acquire+0x116/0x2f0 [ 87.988749][ T5828] touch_wq_lockdep_map+0xc7/0x170 [ 87.994384][ T5828] __flush_workqueue+0x14c/0x1280 [ 87.999934][ T5828] ocfs2_shutdown_local_alloc+0x10b/0xab0 [ 88.006174][ T5828] ocfs2_dismount_volume+0x204/0x910 [ 88.011991][ T5828] generic_shutdown_super+0x139/0x2d0 [ 88.017924][ T5828] kill_block_super+0x44/0x90 [ 88.023131][ T5828] deactivate_locked_super+0xc4/0x130 [ 88.029031][ T5828] cleanup_mnt+0x422/0x4c0 [ 88.033981][ T5828] task_work_run+0x251/0x310 [ 88.039101][ T5828] do_exit+0xa11/0x27f0 [ 88.043778][ T5828] do_group_exit+0x207/0x2c0 [ 88.048892][ T5828] __x64_sys_exit_group+0x3f/0x40 [ 88.054440][ T5828] x64_sys_call+0x26c3/0x26d0 [ 88.059642][ T5828] do_syscall_64+0xf3/0x230 [ 88.064675][ T5828] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 88.071090][ T5828] [ 88.071090][ T5828] other info that might help us debug this: [ 88.071090][ T5828] [ 88.081313][ T5828] Chain exists of: [ 88.081313][ T5828] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 88.081313][ T5828] [ 88.098284][ T5828] Possible unsafe locking scenario: [ 88.098284][ T5828] [ 88.105727][ T5828] CPU0 CPU1 [ 88.111180][ T5828] ---- ---- [ 88.116541][ T5828] lock(&type->s_umount_key#45); [ 88.121580][ T5828] lock((work_completion)(&journal->j_recovery_work)); [ 88.131212][ T5828] lock(&type->s_umount_key#45); [ 88.138772][ T5828] lock((wq_completion)ocfs2_wq); [ 88.143886][ T5828] [ 88.143886][ T5828] *** DEADLOCK *** [ 88.143886][ T5828] [ 88.152030][ T5828] 1 lock held by syz-executor984/5828: [ 88.157480][ T5828] #0: ffff888032c9e0e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 88.167684][ T5828] [ 88.167684][ T5828] stack backtrace: [ 88.173587][ T5828] CPU: 1 UID: 0 PID: 5828 Comm: syz-executor984 Not tainted 6.15.0-rc1-syzkaller #0 PREEMPT(full) [ 88.173608][ T5828] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 88.173622][ T5828] Call Trace: [ 88.173629][ T5828] [ 88.173636][ T5828] dump_stack_lvl+0x241/0x360 [ 88.173665][ T5828] ? __pfx_dump_stack_lvl+0x10/0x10 [ 88.173687][ T5828] ? __pfx__printk+0x10/0x10 [ 88.173707][ T5828] ? print_lock+0x171/0x1a0 [ 88.173726][ T5828] print_circular_bug+0x2e1/0x300 [ 88.173748][ T5828] check_noncircular+0x142/0x160 [ 88.173770][ T5828] validate_chain+0xa69/0x24e0 [ 88.173789][ T5828] ? _raw_spin_unlock_irqrestore+0xde/0x140 [ 88.173807][ T5828] ? dquot_disable+0x1158/0x1cf0 [ 88.173827][ T5828] ? ocfs2_disable_quotas+0x1bc/0x210 [ 88.173843][ T5828] ? kill_block_super+0x44/0x90 [ 88.173868][ T5828] ? debug_object_assert_init+0x30e/0x4d0 [ 88.173887][ T5828] __lock_acquire+0xad5/0xd80 [ 88.173905][ T5828] lock_acquire+0x116/0x2f0 [ 88.173919][ T5828] ? touch_wq_lockdep_map+0xb1/0x170 [ 88.173943][ T5828] ? touch_wq_lockdep_map+0xb1/0x170 [ 88.173961][ T5828] touch_wq_lockdep_map+0xc7/0x170 [ 88.173979][ T5828] ? touch_wq_lockdep_map+0xb1/0x170 [ 88.174004][ T5828] __flush_workqueue+0x14c/0x1280 [ 88.174022][ T5828] ? kfree+0x198/0x430 [ 88.174035][ T5828] ? ocfs2_local_free_info+0x8ba/0xa60 [ 88.174060][ T5828] ? __pfx___flush_workqueue+0x10/0x10 [ 88.174084][ T5828] ? work_grab_pending+0x4d6/0xb00 [ 88.174105][ T5828] ocfs2_shutdown_local_alloc+0x10b/0xab0 [ 88.174121][ T5828] ? __pfx_work_grab_pending+0x10/0x10 [ 88.174142][ T5828] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 88.174157][ T5828] ? lockdep_hardirqs_on+0x9d/0x150 [ 88.174175][ T5828] ? enable_work+0x2e4/0x360 [ 88.174196][ T5828] ? __pfx_enable_work+0x10/0x10 [ 88.174216][ T5828] ? _atomic_dec_and_lock+0x9a/0x130 [ 88.174235][ T5828] ? iput+0x3be/0xa50 [ 88.174257][ T5828] ocfs2_dismount_volume+0x204/0x910 [ 88.174284][ T5828] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 88.174309][ T5828] ? __pfx_evict_inodes+0x10/0x10 [ 88.174329][ T5828] ? __pfx_ocfs2_put_super+0x10/0x10 [ 88.174344][ T5828] generic_shutdown_super+0x139/0x2d0 [ 88.174366][ T5828] kill_block_super+0x44/0x90 [ 88.174390][ T5828] deactivate_locked_super+0xc4/0x130 [ 88.174412][ T5828] cleanup_mnt+0x422/0x4c0 [ 88.174432][ T5828] ? lockdep_hardirqs_on+0x9d/0x150 [ 88.174451][ T5828] task_work_run+0x251/0x310 [ 88.174476][ T5828] ? __pfx_task_work_run+0x10/0x10 [ 88.174499][ T5828] ? do_exit+0xa0c/0x27f0 [ 88.174518][ T5828] ? do_exit+0xa0c/0x27f0 [ 88.174537][ T5828] do_exit+0xa11/0x27f0 [ 88.174558][ T5828] ? preempt_schedule_common+0x84/0xd0 [ 88.174576][ T5828] ? preempt_schedule+0xe4/0xf0 [ 88.174591][ T5828] ? __pfx_do_exit+0x10/0x10 [ 88.174613][ T5828] ? preempt_schedule_thunk+0x16/0x30 [ 88.174632][ T5828] do_group_exit+0x207/0x2c0 [ 88.174654][ T5828] __x64_sys_exit_group+0x3f/0x40 [ 88.174674][ T5828] x64_sys_call+0x26c3/0x26d0 [ 88.174697][ T5828] do_syscall_64+0xf3/0x230 [ 88.174717][ T5828] ? clear_bhb_loop+0x45/0xa0 [ 88.174735][ T5828] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 88.174751][ T5828] RIP: 0033:0x7faff12b9389 [ 88.174774][ T5828] Code: Unable to access opcode bytes at 0x7faff12b935f. [ 88.174782][ T5828] RSP: 002b:00007ffdb0706938 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 88.174798][ T5828] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007faff12b9389 [ 88.174810][ T5828] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 88.174819][ T5828] RBP: 00007faff13472b0 R08: ffffffffffffffb0 R09: 0000000000000000 [ 88.174830][ T5828] R10: 00007ffdb07069c0 R11: 0000000000000246 R12: 00007faff13472b0 [ 88.174841][ T5828] R13: 0000000000000000 R14: 00007faff1348120 R15: 00007faff12844b0 [pid 5828] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5828, si_uid=0, si_status=1, si_utime=2 /* 0.02 s */, si_stime=38 /* 0.38 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 88.174859][ T58