./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2077048187 <...> Warning: Permanently added '10.128.0.189' (ED25519) to the list of known hosts. execve("./syz-executor2077048187", ["./syz-executor2077048187"], 0x7ffd0b0988c0 /* 10 vars */) = 0 brk(NULL) = 0x55555f695000 brk(0x55555f695d00) = 0x55555f695d00 arch_prctl(ARCH_SET_FS, 0x55555f695380) = 0 set_tid_address(0x55555f695650) = 5823 set_robust_list(0x55555f695660, 24) = 0 rseq(0x55555f695ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2077048187", 4096) = 28 getrandom("\x34\xd9\x6f\x7e\xf3\x64\xe6\x89", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555f695d00 brk(0x55555f6b6d00) = 0x55555f6b6d00 brk(0x55555f6b7000) = 0x55555f6b7000 mprotect(0x7fdbd018c000, 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 5824 attached , child_tidptr=0x55555f695650) = 5824 [pid 5824] set_robust_list(0x55555f695660, 24) = 0 [pid 5824] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5824] getppid() = 0 [pid 5824] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5824] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5824] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5824] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5824] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5824] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5824] unshare(CLONE_NEWNS) = 0 [pid 5824] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5824] unshare(CLONE_NEWIPC) = 0 [pid 5824] unshare(CLONE_NEWCGROUP) = 0 [pid 5824] unshare(CLONE_NEWUTS) = 0 [pid 5824] unshare(CLONE_SYSVSEM) = 0 [pid 5824] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5824] write(3, "16777216", 8) = 8 [pid 5824] close(3) = 0 [pid 5824] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5824] write(3, "536870912", 9) = 9 [pid 5824] close(3) = 0 [pid 5824] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5824] write(3, "1024", 4) = 4 [pid 5824] close(3) = 0 [pid 5824] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5824] write(3, "8192", 4) = 4 [pid 5824] close(3) = 0 [pid 5824] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5824] write(3, "1024", 4) = 4 [pid 5824] close(3) = 0 [pid 5824] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5824] write(3, "1024", 4) = 4 [pid 5824] close(3) = 0 [pid 5824] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5824] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5824] close(3) = 0 [pid 5824] getpid() = 1 [pid 5824] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 68.151980][ T5824] [ 68.151980][ T5824] which lock already depends on the new lock. [ 68.151980][ T5824] [ 68.162395][ T5824] [ 68.162395][ T5824] the existing dependency chain (in reverse order) is: [ 68.171396][ T5824] [ 68.171396][ T5824] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 68.179639][ T5824] lock_acquire+0x1ed/0x550 [ 68.184760][ T5824] down_read+0xb1/0xa40 [ 68.189445][ T5824] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 68.195854][ T5824] ocfs2_complete_recovery+0x17c1/0x25c0 [ 68.201998][ T5824] process_scheduled_works+0xabe/0x18e0 [ 68.208054][ T5824] worker_thread+0x870/0xd30 [ 68.213155][ T5824] kthread+0x7a9/0x920 [ 68.217736][ T5824] ret_from_fork+0x4b/0x80 [ 68.222658][ T5824] ret_from_fork_asm+0x1a/0x30 [ 68.227929][ T5824] [ 68.227929][ T5824] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 68.238086][ T5824] lock_acquire+0x1ed/0x550 [ 68.243099][ T5824] process_scheduled_works+0x9e4/0x18e0 [ 68.249156][ T5824] worker_thread+0x870/0xd30 [ 68.254256][ T5824] kthread+0x7a9/0x920 [ 68.258835][ T5824] ret_from_fork+0x4b/0x80 [ 68.263759][ T5824] ret_from_fork_asm+0x1a/0x30 [ 68.269122][ T5824] [ 68.269122][ T5824] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 68.277452][ T5824] validate_chain+0x18ef/0x5920 [ 68.282815][ T5824] __lock_acquire+0x1397/0x2100 [ 68.288173][ T5824] lock_acquire+0x1ed/0x550 [ 68.293188][ T5824] touch_wq_lockdep_map+0xc7/0x170 [ 68.298808][ T5824] __flush_workqueue+0x14a/0x1280 [ 68.304341][ T5824] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 68.310570][ T5824] ocfs2_dismount_volume+0x202/0x910 [ 68.316365][ T5824] generic_shutdown_super+0x139/0x2d0 [ 68.322246][ T5824] kill_block_super+0x44/0x90 [ 68.327428][ T5824] deactivate_locked_super+0xc4/0x130 [ 68.333308][ T5824] cleanup_mnt+0x41f/0x4b0 [ 68.338243][ T5824] task_work_run+0x24f/0x310 [ 68.343354][ T5824] do_exit+0xa2a/0x28e0 [ 68.348027][ T5824] do_group_exit+0x207/0x2c0 [ 68.353131][ T5824] __x64_sys_exit_group+0x3f/0x40 [ 68.358662][ T5824] x64_sys_call+0x26a8/0x26b0 [ 68.363847][ T5824] do_syscall_64+0xf3/0x230 [ 68.368863][ T5824] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 68.375275][ T5824] [ 68.375275][ T5824] other info that might help us debug this: [ 68.375275][ T5824] [ 68.385577][ T5824] Chain exists of: [ 68.385577][ T5824] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 68.385577][ T5824] [ 68.402443][ T5824] Possible unsafe locking scenario: [ 68.402443][ T5824] [ 68.409876][ T5824] CPU0 CPU1 [ 68.415225][ T5824] ---- ---- [ 68.420572][ T5824] lock(&type->s_umount_key#45); [ 68.425594][ T5824] lock((work_completion)(&journal->j_recovery_work)); [ 68.435036][ T5824] lock(&type->s_umount_key#45); [ 68.442577][ T5824] lock((wq_completion)ocfs2_wq); [ 68.447678][ T5824] [ 68.447678][ T5824] *** DEADLOCK *** [ 68.447678][ T5824] [ 68.455808][ T5824] 1 lock held by syz-executor207/5824: [ 68.461246][ T5824] #0: ffff88807b98c0e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 68.471522][ T5824] [ 68.471522][ T5824] stack backtrace: [ 68.477407][ T5824] CPU: 1 UID: 0 PID: 5824 Comm: syz-executor207 Not tainted 6.14.0-rc5-syzkaller-00013-g99fa936e8e4f #0 [ 68.477422][ T5824] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 68.477434][ T5824] Call Trace: [ 68.477441][ T5824] [ 68.477447][ T5824] dump_stack_lvl+0x241/0x360 [ 68.477463][ T5824] ? __pfx_dump_stack_lvl+0x10/0x10 [ 68.477475][ T5824] ? __pfx__printk+0x10/0x10 [ 68.477495][ T5824] print_circular_bug+0x13a/0x1b0 [ 68.477509][ T5824] check_noncircular+0x36a/0x4a0 [ 68.477521][ T5824] ? __lock_acquire+0x1397/0x2100 [ 68.477538][ T5824] ? __pfx_check_noncircular+0x10/0x10 [ 68.477550][ T5824] ? lockdep_lock+0x123/0x2b0 [ 68.477565][ T5824] ? mark_lock+0x9a/0x360 [ 68.477583][ T5824] validate_chain+0x18ef/0x5920 [ 68.477602][ T5824] ? __pfx_validate_chain+0x10/0x10 [ 68.477621][ T5824] ? debug_object_assert_init+0x2dd/0x4b0 [ 68.477637][ T5824] ? do_raw_spin_lock+0x14f/0x370 [ 68.477651][ T5824] ? __pfx_lock_release+0x10/0x10 [ 68.477667][ T5824] ? mark_lock+0x9a/0x360 [ 68.477684][ T5824] __lock_acquire+0x1397/0x2100 [ 68.477701][ T5824] ? kfree+0x196/0x430 [ 68.477718][ T5824] ? ocfs2_dismount_volume+0x1bd/0x910 [ 68.477737][ T5824] lock_acquire+0x1ed/0x550 [ 68.477751][ T5824] ? touch_wq_lockdep_map+0xb1/0x170 [ 68.477770][ T5824] ? __pfx_lock_acquire+0x10/0x10 [ 68.477784][ T5824] ? __asan_memset+0x23/0x50 [ 68.477798][ T5824] ? lockdep_init_map_type+0xa1/0x910 [ 68.477813][ T5824] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 68.477828][ T5824] ? __lock_acquire+0x1397/0x2100 [ 68.477846][ T5824] ? touch_wq_lockdep_map+0xb1/0x170 [ 68.477861][ T5824] touch_wq_lockdep_map+0xc7/0x170 [ 68.477875][ T5824] ? touch_wq_lockdep_map+0xb1/0x170 [ 68.477891][ T5824] __flush_workqueue+0x14a/0x1280 [ 68.477906][ T5824] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 68.477925][ T5824] ? __pfx___flush_workqueue+0x10/0x10 [ 68.477944][ T5824] ? mark_lock+0x9a/0x360 [ 68.477961][ T5824] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 68.477979][ T5824] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 68.477996][ T5824] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 68.478013][ T5824] ? lockdep_hardirqs_on+0x99/0x150 [ 68.478029][ T5824] ? enable_work+0x2e3/0x360 [ 68.478044][ T5824] ? __pfx_enable_work+0x10/0x10 [ 68.478060][ T5824] ? _atomic_dec_and_lock+0x9a/0x130 [ 68.478077][ T5824] ? iput+0x3be/0xa50 [ 68.478091][ T5824] ocfs2_dismount_volume+0x202/0x910 [ 68.478109][ T5824] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 68.478124][ T5824] ? __pfx_evict_inodes+0x10/0x10 [ 68.478137][ T5824] ? __pfx_ocfs2_put_super+0x10/0x10 [ 68.478153][ T5824] generic_shutdown_super+0x139/0x2d0 [ 68.478168][ T5824] kill_block_super+0x44/0x90 [ 68.478183][ T5824] deactivate_locked_super+0xc4/0x130 [ 68.478197][ T5824] cleanup_mnt+0x41f/0x4b0 [ 68.478211][ T5824] ? lockdep_hardirqs_on+0x99/0x150 [ 68.478226][ T5824] task_work_run+0x24f/0x310 [ 68.478246][ T5824] ? __pfx_task_work_run+0x10/0x10 [ 68.478262][ T5824] ? do_exit+0xa25/0x28e0 [ 68.478278][ T5824] ? do_exit+0xa25/0x28e0 [ 68.478294][ T5824] do_exit+0xa2a/0x28e0 [ 68.478315][ T5824] ? __pfx_do_exit+0x10/0x10 [ 68.478329][ T5824] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 68.478346][ T5824] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 68.478363][ T5824] ? _raw_spin_unlock_irq+0x23/0x50 [ 68.478378][ T5824] ? lockdep_hardirqs_on+0x99/0x150 [ 68.478393][ T5824] do_group_exit+0x207/0x2c0 [ 68.478409][ T5824] __x64_sys_exit_group+0x3f/0x40 [ 68.478425][ T5824] x64_sys_call+0x26a8/0x26b0 [ 68.478438][ T5824] do_syscall_64+0xf3/0x230 [ 68.478454][ T5824] ? clear_bhb_loop+0x35/0x90 [ 68.478472][ T5824] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 68.478491][ T5824] RIP: 0033:0x7fdbd0111c09 [ 68.478505][ T5824] Code: Unable to access opcode bytes at 0x7fdbd0111bdf. [ 68.478511][ T5824] RSP: 002b:00007ffd41e02208 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 68.478524][ T5824] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fdbd0111c09 [ 68.478532][ T5824] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 68.478540][ T5824] RBP: 00007fdbd01922b0 R08: ffffffffffffffb8 R09: 0000000000004701 [ 68.478548][ T5824] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdbd01922b0 [pid 5824] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5824, si_uid=0, si_status=1, si_utime=1 /* 0.01 s */, si_stime=27 /* 0.27 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 68.478556][ T5824] R13: 0000000000000000 R14: 00007fdbd0193020 R15: 00007fdbd00e