./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor651065338 <...> Warning: Permanently added '10.128.0.145' (ED25519) to the list of known hosts. execve("./syz-executor651065338", ["./syz-executor651065338"], 0x7ffde0ba2cd0 /* 10 vars */) = 0 brk(NULL) = 0x55557dff0000 brk(0x55557dff0d00) = 0x55557dff0d00 arch_prctl(ARCH_SET_FS, 0x55557dff0380) = 0 set_tid_address(0x55557dff0650) = 5820 set_robust_list(0x55557dff0660, 24) = 0 rseq(0x55557dff0ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor651065338", 4096) = 27 getrandom("\x39\xe1\xe2\x4e\x4c\x40\x7d\xfa", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557dff0d00 brk(0x55557e011d00) = 0x55557e011d00 brk(0x55557e012000) = 0x55557e012000 mprotect(0x7fefe7044000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5821 attached , child_tidptr=0x55557dff0650) = 5821 [pid 5821] set_robust_list(0x55557dff0660, 24) = 0 [pid 5821] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5821] getppid() = 0 [pid 5821] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5821] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5821] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5821] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5821] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5821] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5821] unshare(CLONE_NEWNS) = 0 [pid 5821] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5821] unshare(CLONE_NEWIPC) = 0 [pid 5821] unshare(CLONE_NEWCGROUP) = 0 [pid 5821] unshare(CLONE_NEWUTS) = 0 [pid 5821] unshare(CLONE_SYSVSEM) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "16777216", 8) = 8 [pid 5821] close(3) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "536870912", 9) = 9 [pid 5821] close(3) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "1024", 4) = 4 [pid 5821] close(3) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "8192", 4) = 4 [pid 5821] close(3) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "1024", 4) = 4 [pid 5821] close(3) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "1024", 4) = 4 [pid 5821] close(3) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5821] close(3) = 0 [pid 5821] getpid() = 1 [pid 5821] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 78.382220][ T5821] [ 78.382220][ T5821] which lock already depends on the new lock. [ 78.382220][ T5821] [ 78.392626][ T5821] [ 78.392626][ T5821] the existing dependency chain (in reverse order) is: [ 78.401639][ T5821] [ 78.401639][ T5821] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 78.409898][ T5821] lock_acquire+0x1ed/0x550 [ 78.414936][ T5821] down_read+0xb1/0xa40 [ 78.419636][ T5821] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 78.426054][ T5821] ocfs2_complete_recovery+0x17c1/0x25c0 [ 78.432231][ T5821] process_scheduled_works+0xa66/0x1840 [ 78.438296][ T5821] worker_thread+0x870/0xd30 [ 78.443401][ T5821] kthread+0x7a9/0x920 [ 78.447984][ T5821] ret_from_fork+0x4b/0x80 [ 78.452934][ T5821] ret_from_fork_asm+0x1a/0x30 [ 78.458220][ T5821] [ 78.458220][ T5821] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 78.468401][ T5821] lock_acquire+0x1ed/0x550 [ 78.473426][ T5821] process_scheduled_works+0x994/0x1840 [ 78.479499][ T5821] worker_thread+0x870/0xd30 [ 78.484614][ T5821] kthread+0x7a9/0x920 [ 78.489193][ T5821] ret_from_fork+0x4b/0x80 [ 78.494121][ T5821] ret_from_fork_asm+0x1a/0x30 [ 78.499400][ T5821] [ 78.499400][ T5821] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 78.507752][ T5821] validate_chain+0x18ef/0x5920 [ 78.513124][ T5821] __lock_acquire+0x1397/0x2100 [ 78.518505][ T5821] lock_acquire+0x1ed/0x550 [ 78.523523][ T5821] touch_wq_lockdep_map+0xc7/0x170 [ 78.529150][ T5821] __flush_workqueue+0x14a/0x1280 [ 78.534682][ T5821] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 78.540924][ T5821] ocfs2_dismount_volume+0x202/0x910 [ 78.546730][ T5821] generic_shutdown_super+0x139/0x2d0 [ 78.552612][ T5821] kill_block_super+0x44/0x90 [ 78.557801][ T5821] deactivate_locked_super+0xc4/0x130 [ 78.563690][ T5821] cleanup_mnt+0x41f/0x4b0 [ 78.568625][ T5821] task_work_run+0x24f/0x310 [ 78.573725][ T5821] do_exit+0xa2a/0x28e0 [ 78.578395][ T5821] do_group_exit+0x207/0x2c0 [ 78.583507][ T5821] __x64_sys_exit_group+0x3f/0x40 [ 78.589046][ T5821] x64_sys_call+0x26a8/0x26b0 [ 78.594231][ T5821] do_syscall_64+0xf3/0x230 [ 78.599250][ T5821] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 78.605651][ T5821] [ 78.605651][ T5821] other info that might help us debug this: [ 78.605651][ T5821] [ 78.615860][ T5821] Chain exists of: [ 78.615860][ T5821] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 78.615860][ T5821] [ 78.632721][ T5821] Possible unsafe locking scenario: [ 78.632721][ T5821] [ 78.640163][ T5821] CPU0 CPU1 [ 78.645516][ T5821] ---- ---- [ 78.650862][ T5821] lock(&type->s_umount_key#45); [ 78.655881][ T5821] lock((work_completion)(&journal->j_recovery_work)); [ 78.665331][ T5821] lock(&type->s_umount_key#45); [ 78.672871][ T5821] lock((wq_completion)ocfs2_wq); [ 78.677974][ T5821] [ 78.677974][ T5821] *** DEADLOCK *** [ 78.677974][ T5821] [ 78.686100][ T5821] 1 lock held by syz-executor651/5821: [ 78.691537][ T5821] #0: ffff88807ea340e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 78.701720][ T5821] [ 78.701720][ T5821] stack backtrace: [ 78.707606][ T5821] CPU: 1 UID: 0 PID: 5821 Comm: syz-executor651 Not tainted 6.13.0-syzkaller-09793-g69b8923f5003 #0 [ 78.707620][ T5821] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 78.707631][ T5821] Call Trace: [ 78.707638][ T5821] [ 78.707644][ T5821] dump_stack_lvl+0x241/0x360 [ 78.707669][ T5821] ? __pfx_dump_stack_lvl+0x10/0x10 [ 78.707688][ T5821] ? __pfx__printk+0x10/0x10 [ 78.707708][ T5821] print_circular_bug+0x13a/0x1b0 [ 78.707729][ T5821] check_noncircular+0x36a/0x4a0 [ 78.707747][ T5821] ? __lock_acquire+0x1397/0x2100 [ 78.707764][ T5821] ? __pfx_check_noncircular+0x10/0x10 [ 78.707782][ T5821] ? lockdep_lock+0x123/0x2b0 [ 78.707796][ T5821] ? mark_lock+0x9a/0x360 [ 78.707814][ T5821] validate_chain+0x18ef/0x5920 [ 78.707839][ T5821] ? __pfx_validate_chain+0x10/0x10 [ 78.707864][ T5821] ? debug_object_assert_init+0x2dd/0x4b0 [ 78.707877][ T5821] ? do_raw_spin_lock+0x14f/0x370 [ 78.707889][ T5821] ? __pfx_lock_release+0x10/0x10 [ 78.707905][ T5821] ? mark_lock+0x9a/0x360 [ 78.707926][ T5821] __lock_acquire+0x1397/0x2100 [ 78.707943][ T5821] ? kfree+0x196/0x430 [ 78.707957][ T5821] ? ocfs2_dismount_volume+0x1bd/0x910 [ 78.707979][ T5821] lock_acquire+0x1ed/0x550 [ 78.707993][ T5821] ? touch_wq_lockdep_map+0xb1/0x170 [ 78.708011][ T5821] ? __pfx_lock_acquire+0x10/0x10 [ 78.708025][ T5821] ? __asan_memset+0x23/0x50 [ 78.708043][ T5821] ? lockdep_init_map_type+0xa1/0x910 [ 78.708058][ T5821] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 78.708073][ T5821] ? __lock_acquire+0x1397/0x2100 [ 78.708090][ T5821] ? touch_wq_lockdep_map+0xb1/0x170 [ 78.708104][ T5821] touch_wq_lockdep_map+0xc7/0x170 [ 78.708118][ T5821] ? touch_wq_lockdep_map+0xb1/0x170 [ 78.708133][ T5821] __flush_workqueue+0x14a/0x1280 [ 78.708148][ T5821] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 78.708166][ T5821] ? __pfx___flush_workqueue+0x10/0x10 [ 78.708185][ T5821] ? mark_lock+0x9a/0x360 [ 78.708201][ T5821] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 78.708215][ T5821] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 78.708231][ T5821] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 78.708243][ T5821] ? lockdep_hardirqs_on+0x99/0x150 [ 78.708258][ T5821] ? enable_work+0x2e3/0x360 [ 78.708274][ T5821] ? __pfx_enable_work+0x10/0x10 [ 78.708289][ T5821] ? _atomic_dec_and_lock+0x9a/0x130 [ 78.708305][ T5821] ? iput+0x3be/0xa50 [ 78.708322][ T5821] ocfs2_dismount_volume+0x202/0x910 [ 78.708343][ T5821] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 78.708362][ T5821] ? __pfx_evict_inodes+0x10/0x10 [ 78.708378][ T5821] ? __pfx_ocfs2_put_super+0x10/0x10 [ 78.708390][ T5821] generic_shutdown_super+0x139/0x2d0 [ 78.708409][ T5821] kill_block_super+0x44/0x90 [ 78.708421][ T5821] deactivate_locked_super+0xc4/0x130 [ 78.708439][ T5821] cleanup_mnt+0x41f/0x4b0 [ 78.708457][ T5821] ? lockdep_hardirqs_on+0x99/0x150 [ 78.708471][ T5821] task_work_run+0x24f/0x310 [ 78.708490][ T5821] ? __pfx_task_work_run+0x10/0x10 [ 78.708507][ T5821] ? do_exit+0xa25/0x28e0 [ 78.708522][ T5821] ? do_exit+0xa25/0x28e0 [ 78.708537][ T5821] do_exit+0xa2a/0x28e0 [ 78.708553][ T5821] ? __pfx_do_exit+0x10/0x10 [ 78.708567][ T5821] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 78.708582][ T5821] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 78.708600][ T5821] ? _raw_spin_unlock_irq+0x23/0x50 [ 78.708613][ T5821] ? lockdep_hardirqs_on+0x99/0x150 [ 78.708628][ T5821] do_group_exit+0x207/0x2c0 [ 78.708644][ T5821] __x64_sys_exit_group+0x3f/0x40 [ 78.708659][ T5821] x64_sys_call+0x26a8/0x26b0 [ 78.708672][ T5821] do_syscall_64+0xf3/0x230 [ 78.708688][ T5821] ? clear_bhb_loop+0x35/0x90 [ 78.708707][ T5821] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 78.708724][ T5821] RIP: 0033:0x7fefe6fc9b89 [ 78.708738][ T5821] Code: Unable to access opcode bytes at 0x7fefe6fc9b5f. [ 78.708744][ T5821] RSP: 002b:00007ffcff91e9b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 78.708756][ T5821] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fefe6fc9b89 [ 78.708764][ T5821] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 78.708771][ T5821] RBP: 00007fefe704a2b0 R08: ffffffffffffffb8 R09: 0000000000004701 [ 78.708780][ T5821] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fefe704a2b0 [pid 5821] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5821, si_uid=0, si_status=1, si_utime=4 /* 0.04 s */, si_stime=26 /* 0.26 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 78.708787][ T5821] R13: 0000000000000000 R14: 00007fefe704b020 R15: 00007fefe6f980