./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1876974936 <...> Warning: Permanently added '10.128.10.24' (ED25519) to the list of known hosts. execve("./syz-executor1876974936", ["./syz-executor1876974936"], 0x7ffca5e5abe0 /* 10 vars */) = 0 brk(NULL) = 0x555560540000 brk(0x555560540d00) = 0x555560540d00 arch_prctl(ARCH_SET_FS, 0x555560540380) = 0 set_tid_address(0x555560540650) = 5825 set_robust_list(0x555560540660, 24) = 0 rseq(0x555560540ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1876974936", 4096) = 28 getrandom("\x17\xd6\xf5\xf3\x83\x30\x29\x57", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555560540d00 brk(0x555560561d00) = 0x555560561d00 brk(0x555560562000) = 0x555560562000 mprotect(0x7f11aba9d000, 16384, PROT_READ) = 0 mmap(0x3ffffffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3ffffffff000 mmap(0x400000000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400000000000 mmap(0x400001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400001000000 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5826 attached , child_tidptr=0x555560540650) = 5826 [pid 5826] set_robust_list(0x555560540660, 24) = 0 [pid 5826] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5826] getppid() = 0 [pid 5826] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5826] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5826] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5826] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5826] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5826] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5826] unshare(CLONE_NEWNS) = 0 [pid 5826] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5826] unshare(CLONE_NEWIPC) = 0 [pid 5826] unshare(CLONE_NEWCGROUP) = 0 [pid 5826] unshare(CLONE_NEWUTS) = 0 [pid 5826] unshare(CLONE_SYSVSEM) = 0 [pid 5826] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5826] write(3, "16777216", 8) = 8 [pid 5826] close(3) = 0 [pid 5826] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5826] write(3, "536870912", 9) = 9 [pid 5826] close(3) = 0 [pid 5826] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5826] write(3, "1024", 4) = 4 [pid 5826] close(3) = 0 [pid 5826] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5826] write(3, "8192", 4) = 4 [pid 5826] close(3) = 0 [pid 5826] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5826] write(3, "1024", 4) = 4 [pid 5826] close(3) = 0 [pid 5826] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5826] write(3, "1024", 4) = 4 [pid 5826] close(3) = 0 [pid 5826] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5826] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5826] close(3) = 0 [pid 5826] getpid() = 1 [pid 5826] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 80.459011][ T5826] [ 80.459011][ T5826] which lock already depends on the new lock. [ 80.459011][ T5826] [ 80.469495][ T5826] [ 80.469495][ T5826] the existing dependency chain (in reverse order) is: [ 80.478498][ T5826] [ 80.478498][ T5826] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 80.486761][ T5826] lock_acquire+0x1ed/0x550 [ 80.491789][ T5826] down_read+0xb1/0xa40 [ 80.496486][ T5826] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 80.502994][ T5826] ocfs2_complete_recovery+0x17c1/0x25c0 [ 80.509145][ T5826] process_scheduled_works+0xabe/0x18e0 [ 80.515498][ T5826] worker_thread+0x870/0xd30 [ 80.520607][ T5826] kthread+0x7a9/0x920 [ 80.525217][ T5826] ret_from_fork+0x4b/0x80 [ 80.530153][ T5826] ret_from_fork_asm+0x1a/0x30 [ 80.535521][ T5826] [ 80.535521][ T5826] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 80.545696][ T5826] lock_acquire+0x1ed/0x550 [ 80.550721][ T5826] process_scheduled_works+0x9e4/0x18e0 [ 80.556799][ T5826] worker_thread+0x870/0xd30 [ 80.561907][ T5826] kthread+0x7a9/0x920 [ 80.566585][ T5826] ret_from_fork+0x4b/0x80 [ 80.571516][ T5826] ret_from_fork_asm+0x1a/0x30 [ 80.576796][ T5826] [ 80.576796][ T5826] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 80.585168][ T5826] validate_chain+0x18ef/0x5920 [ 80.590529][ T5826] __lock_acquire+0x1397/0x2100 [ 80.595897][ T5826] lock_acquire+0x1ed/0x550 [ 80.601003][ T5826] touch_wq_lockdep_map+0xc7/0x170 [ 80.606635][ T5826] __flush_workqueue+0x14a/0x1280 [ 80.612184][ T5826] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 80.618425][ T5826] ocfs2_dismount_volume+0x202/0x910 [ 80.624228][ T5826] generic_shutdown_super+0x139/0x2d0 [ 80.630127][ T5826] kill_block_super+0x44/0x90 [ 80.635321][ T5826] deactivate_locked_super+0xc4/0x130 [ 80.641208][ T5826] cleanup_mnt+0x41f/0x4b0 [ 80.646141][ T5826] task_work_run+0x24f/0x310 [ 80.651244][ T5826] do_exit+0xa2a/0x28e0 [ 80.655921][ T5826] do_group_exit+0x207/0x2c0 [ 80.661028][ T5826] __x64_sys_exit_group+0x3f/0x40 [ 80.666568][ T5826] x64_sys_call+0x26a8/0x26b0 [ 80.671780][ T5826] do_syscall_64+0xf3/0x230 [ 80.676820][ T5826] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 80.683245][ T5826] [ 80.683245][ T5826] other info that might help us debug this: [ 80.683245][ T5826] [ 80.693480][ T5826] Chain exists of: [ 80.693480][ T5826] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 80.693480][ T5826] [ 80.710354][ T5826] Possible unsafe locking scenario: [ 80.710354][ T5826] [ 80.717796][ T5826] CPU0 CPU1 [ 80.723164][ T5826] ---- ---- [ 80.728519][ T5826] lock(&type->s_umount_key#45); [ 80.733554][ T5826] lock((work_completion)(&journal->j_recovery_work)); [ 80.743025][ T5826] lock(&type->s_umount_key#45); [ 80.750590][ T5826] lock((wq_completion)ocfs2_wq); [ 80.755705][ T5826] [ 80.755705][ T5826] *** DEADLOCK *** [ 80.755705][ T5826] [ 80.763841][ T5826] 1 lock held by syz-executor187/5826: [ 80.769306][ T5826] #0: ffff88807e85c0e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 80.779531][ T5826] [ 80.779531][ T5826] stack backtrace: [ 80.785426][ T5826] CPU: 0 UID: 0 PID: 5826 Comm: syz-executor187 Not tainted 6.14.0-rc5-syzkaller-00023-gbb2281fb05e5 #0 [ 80.785443][ T5826] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 80.785455][ T5826] Call Trace: [ 80.785463][ T5826] [ 80.785469][ T5826] dump_stack_lvl+0x241/0x360 [ 80.785487][ T5826] ? __pfx_dump_stack_lvl+0x10/0x10 [ 80.785501][ T5826] ? __pfx__printk+0x10/0x10 [ 80.785526][ T5826] print_circular_bug+0x13a/0x1b0 [ 80.785543][ T5826] check_noncircular+0x36a/0x4a0 [ 80.785557][ T5826] ? __lock_acquire+0x1397/0x2100 [ 80.785583][ T5826] ? __pfx_check_noncircular+0x10/0x10 [ 80.785598][ T5826] ? lockdep_lock+0x123/0x2b0 [ 80.785617][ T5826] ? mark_lock+0x9a/0x360 [ 80.785640][ T5826] validate_chain+0x18ef/0x5920 [ 80.785661][ T5826] ? __pfx_validate_chain+0x10/0x10 [ 80.785684][ T5826] ? debug_object_assert_init+0x2dd/0x4b0 [ 80.785705][ T5826] ? do_raw_spin_lock+0x14f/0x370 [ 80.785721][ T5826] ? __pfx_lock_release+0x10/0x10 [ 80.785742][ T5826] ? mark_lock+0x9a/0x360 [ 80.785764][ T5826] __lock_acquire+0x1397/0x2100 [ 80.785785][ T5826] ? kfree+0x196/0x430 [ 80.785807][ T5826] ? ocfs2_dismount_volume+0x1bd/0x910 [ 80.785830][ T5826] lock_acquire+0x1ed/0x550 [ 80.785849][ T5826] ? touch_wq_lockdep_map+0xb1/0x170 [ 80.785871][ T5826] ? __pfx_lock_acquire+0x10/0x10 [ 80.785890][ T5826] ? __asan_memset+0x23/0x50 [ 80.785907][ T5826] ? lockdep_init_map_type+0xa1/0x910 [ 80.785927][ T5826] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 80.785947][ T5826] ? __lock_acquire+0x1397/0x2100 [ 80.785970][ T5826] ? touch_wq_lockdep_map+0xb1/0x170 [ 80.785988][ T5826] touch_wq_lockdep_map+0xc7/0x170 [ 80.786007][ T5826] ? touch_wq_lockdep_map+0xb1/0x170 [ 80.786027][ T5826] __flush_workqueue+0x14a/0x1280 [ 80.786046][ T5826] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 80.786070][ T5826] ? __pfx___flush_workqueue+0x10/0x10 [ 80.786094][ T5826] ? mark_lock+0x9a/0x360 [ 80.786116][ T5826] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 80.786138][ T5826] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 80.786160][ T5826] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 80.786181][ T5826] ? lockdep_hardirqs_on+0x99/0x150 [ 80.786201][ T5826] ? enable_work+0x2e3/0x360 [ 80.786221][ T5826] ? __pfx_enable_work+0x10/0x10 [ 80.786241][ T5826] ? _atomic_dec_and_lock+0x9a/0x130 [ 80.786262][ T5826] ? iput+0x3be/0xa50 [ 80.786279][ T5826] ocfs2_dismount_volume+0x202/0x910 [ 80.786301][ T5826] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 80.786321][ T5826] ? __pfx_evict_inodes+0x10/0x10 [ 80.786337][ T5826] ? __pfx_ocfs2_put_super+0x10/0x10 [ 80.786358][ T5826] generic_shutdown_super+0x139/0x2d0 [ 80.786376][ T5826] kill_block_super+0x44/0x90 [ 80.786395][ T5826] deactivate_locked_super+0xc4/0x130 [ 80.786413][ T5826] cleanup_mnt+0x41f/0x4b0 [ 80.786430][ T5826] ? lockdep_hardirqs_on+0x99/0x150 [ 80.786449][ T5826] task_work_run+0x24f/0x310 [ 80.786464][ T5826] ? __pfx_task_work_run+0x10/0x10 [ 80.786476][ T5826] ? do_exit+0xa25/0x28e0 [ 80.786496][ T5826] ? do_exit+0xa25/0x28e0 [ 80.786515][ T5826] do_exit+0xa2a/0x28e0 [ 80.786536][ T5826] ? __pfx_do_exit+0x10/0x10 [ 80.786554][ T5826] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 80.786575][ T5826] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 80.786602][ T5826] ? _raw_spin_unlock_irq+0x23/0x50 [ 80.786619][ T5826] ? lockdep_hardirqs_on+0x99/0x150 [ 80.786638][ T5826] do_group_exit+0x207/0x2c0 [ 80.786659][ T5826] __x64_sys_exit_group+0x3f/0x40 [ 80.786679][ T5826] x64_sys_call+0x26a8/0x26b0 [ 80.786695][ T5826] do_syscall_64+0xf3/0x230 [ 80.786716][ T5826] ? clear_bhb_loop+0x35/0x90 [ 80.786737][ T5826] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 80.786760][ T5826] RIP: 0033:0x7f11aba22c09 [ 80.786779][ T5826] Code: Unable to access opcode bytes at 0x7f11aba22bdf. [ 80.786787][ T5826] RSP: 002b:00007ffeddcc07a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 80.786801][ T5826] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f11aba22c09 [ 80.786812][ T5826] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 80.786820][ T5826] RBP: 00007f11abaa32b0 R08: ffffffffffffffb8 R09: 0000000000004701 [ 80.786830][ T5826] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f11abaa32b0 [pid 5826] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5826, si_uid=0, si_status=1, si_utime=3 /* 0.03 s */, si_stime=34 /* 0.34 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 80.786840][ T5826] R13: 0000000000000000 R14: 0