./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1239588059 <...> Warning: Permanently added '10.128.10.56' (ED25519) to the list of known hosts. execve("./syz-executor1239588059", ["./syz-executor1239588059"], 0x7fff5f5ae170 /* 10 vars */) = 0 brk(NULL) = 0x55555946c000 brk(0x55555946cd00) = 0x55555946cd00 arch_prctl(ARCH_SET_FS, 0x55555946c380) = 0 set_tid_address(0x55555946c650) = 5819 set_robust_list(0x55555946c660, 24) = 0 rseq(0x55555946cca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1239588059", 4096) = 28 getrandom("\x53\x29\xa8\x21\xda\xc0\x64\xbf", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555946cd00 brk(0x55555948dd00) = 0x55555948dd00 brk(0x55555948e000) = 0x55555948e000 mprotect(0x7f569fb42000, 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 5820 attached [pid 5820] set_robust_list(0x55555946c660, 24 [pid 5819] <... clone resumed>, child_tidptr=0x55555946c650) = 5820 [pid 5820] <... set_robust_list resumed>) = 0 [pid 5820] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5820] getppid() = 0 [pid 5820] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5820] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5820] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5820] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5820] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5820] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5820] unshare(CLONE_NEWNS) = 0 [pid 5820] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5820] unshare(CLONE_NEWIPC) = 0 [pid 5820] unshare(CLONE_NEWCGROUP) = 0 [pid 5820] unshare(CLONE_NEWUTS) = 0 [pid 5820] unshare(CLONE_SYSVSEM) = 0 [pid 5820] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5820] write(3, "16777216", 8) = 8 [pid 5820] close(3) = 0 [pid 5820] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5820] write(3, "536870912", 9) = 9 [pid 5820] close(3) = 0 [pid 5820] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5820] write(3, "1024", 4) = 4 [pid 5820] close(3) = 0 [pid 5820] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5820] write(3, "8192", 4) = 4 [pid 5820] close(3) = 0 [pid 5820] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5820] write(3, "1024", 4) = 4 [pid 5820] close(3) = 0 [pid 5820] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5820] write(3, "1024", 4) = 4 [pid 5820] close(3) = 0 [pid 5820] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5820] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5820] close(3) = 0 [pid 5820] getpid() = 1 [pid 5820] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 61.975742][ T5820] [ 61.975742][ T5820] which lock already depends on the new lock. [ 61.975742][ T5820] [ 61.986123][ T5820] [ 61.986123][ T5820] the existing dependency chain (in reverse order) is: [ 61.995112][ T5820] [ 61.995112][ T5820] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 62.003344][ T5820] lock_acquire+0x1ed/0x550 [ 62.008352][ T5820] down_read+0xb1/0xa40 [ 62.013017][ T5820] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 62.019411][ T5820] ocfs2_complete_recovery+0x17c1/0x25c0 [ 62.025540][ T5820] process_scheduled_works+0xabe/0x18e0 [ 62.031604][ T5820] worker_thread+0x870/0xd30 [ 62.036708][ T5820] kthread+0x7a9/0x920 [ 62.041279][ T5820] ret_from_fork+0x4b/0x80 [ 62.046196][ T5820] ret_from_fork_asm+0x1a/0x30 [ 62.051477][ T5820] [ 62.051477][ T5820] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 62.061628][ T5820] lock_acquire+0x1ed/0x550 [ 62.066635][ T5820] process_scheduled_works+0x9e4/0x18e0 [ 62.072680][ T5820] worker_thread+0x870/0xd30 [ 62.077767][ T5820] kthread+0x7a9/0x920 [ 62.082334][ T5820] ret_from_fork+0x4b/0x80 [ 62.087249][ T5820] ret_from_fork_asm+0x1a/0x30 [ 62.092514][ T5820] [ 62.092514][ T5820] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 62.100829][ T5820] validate_chain+0x18ef/0x5920 [ 62.106179][ T5820] __lock_acquire+0x1397/0x2100 [ 62.111526][ T5820] lock_acquire+0x1ed/0x550 [ 62.116531][ T5820] touch_wq_lockdep_map+0xc7/0x170 [ 62.122138][ T5820] __flush_workqueue+0x14a/0x1280 [ 62.127660][ T5820] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 62.133880][ T5820] ocfs2_dismount_volume+0x202/0x910 [ 62.139663][ T5820] generic_shutdown_super+0x139/0x2d0 [ 62.145547][ T5820] kill_block_super+0x44/0x90 [ 62.150723][ T5820] deactivate_locked_super+0xc4/0x130 [ 62.156590][ T5820] cleanup_mnt+0x41f/0x4b0 [ 62.161505][ T5820] task_work_run+0x24f/0x310 [ 62.166598][ T5820] do_exit+0xa2a/0x28e0 [ 62.171254][ T5820] do_group_exit+0x207/0x2c0 [ 62.176444][ T5820] __x64_sys_exit_group+0x3f/0x40 [ 62.181999][ T5820] x64_sys_call+0x26a8/0x26b0 [ 62.187180][ T5820] do_syscall_64+0xf3/0x230 [ 62.192202][ T5820] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 62.198607][ T5820] [ 62.198607][ T5820] other info that might help us debug this: [ 62.198607][ T5820] [ 62.208815][ T5820] Chain exists of: [ 62.208815][ T5820] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 62.208815][ T5820] [ 62.225672][ T5820] Possible unsafe locking scenario: [ 62.225672][ T5820] [ 62.233100][ T5820] CPU0 CPU1 [ 62.238442][ T5820] ---- ---- [ 62.243781][ T5820] lock(&type->s_umount_key#45); [ 62.248791][ T5820] lock((work_completion)(&journal->j_recovery_work)); [ 62.258225][ T5820] lock(&type->s_umount_key#45); [ 62.265754][ T5820] lock((wq_completion)ocfs2_wq); [ 62.270846][ T5820] [ 62.270846][ T5820] *** DEADLOCK *** [ 62.270846][ T5820] [ 62.278967][ T5820] 1 lock held by syz-executor123/5820: [ 62.284399][ T5820] #0: ffff88807b99c0e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 62.294565][ T5820] [ 62.294565][ T5820] stack backtrace: [ 62.300444][ T5820] CPU: 0 UID: 0 PID: 5820 Comm: syz-executor123 Not tainted 6.14.0-rc4-syzkaller-00248-g03d38806a902 #0 [ 62.300455][ T5820] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 62.300463][ T5820] Call Trace: [ 62.300469][ T5820] [ 62.300474][ T5820] dump_stack_lvl+0x241/0x360 [ 62.300486][ T5820] ? __pfx_dump_stack_lvl+0x10/0x10 [ 62.300495][ T5820] ? __pfx__printk+0x10/0x10 [ 62.300509][ T5820] print_circular_bug+0x13a/0x1b0 [ 62.300520][ T5820] check_noncircular+0x36a/0x4a0 [ 62.300529][ T5820] ? __lock_acquire+0x1397/0x2100 [ 62.300542][ T5820] ? __pfx_check_noncircular+0x10/0x10 [ 62.300551][ T5820] ? lockdep_lock+0x123/0x2b0 [ 62.300562][ T5820] ? mark_lock+0x9a/0x360 [ 62.300575][ T5820] validate_chain+0x18ef/0x5920 [ 62.300588][ T5820] ? __pfx_validate_chain+0x10/0x10 [ 62.300601][ T5820] ? debug_object_assert_init+0x2dd/0x4b0 [ 62.300614][ T5820] ? do_raw_spin_lock+0x14f/0x370 [ 62.300623][ T5820] ? __pfx_lock_release+0x10/0x10 [ 62.300636][ T5820] ? mark_lock+0x9a/0x360 [ 62.300648][ T5820] __lock_acquire+0x1397/0x2100 [ 62.300661][ T5820] ? kfree+0x196/0x430 [ 62.300674][ T5820] ? ocfs2_dismount_volume+0x1bd/0x910 [ 62.300688][ T5820] lock_acquire+0x1ed/0x550 [ 62.300699][ T5820] ? touch_wq_lockdep_map+0xb1/0x170 [ 62.300713][ T5820] ? __pfx_lock_acquire+0x10/0x10 [ 62.300724][ T5820] ? __asan_memset+0x23/0x50 [ 62.300734][ T5820] ? lockdep_init_map_type+0xa1/0x910 [ 62.300746][ T5820] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 62.300758][ T5820] ? __lock_acquire+0x1397/0x2100 [ 62.300771][ T5820] ? touch_wq_lockdep_map+0xb1/0x170 [ 62.300782][ T5820] touch_wq_lockdep_map+0xc7/0x170 [ 62.300797][ T5820] ? touch_wq_lockdep_map+0xb1/0x170 [ 62.300809][ T5820] __flush_workqueue+0x14a/0x1280 [ 62.300821][ T5820] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 62.300834][ T5820] ? __pfx___flush_workqueue+0x10/0x10 [ 62.300848][ T5820] ? mark_lock+0x9a/0x360 [ 62.300861][ T5820] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 62.300874][ T5820] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 62.300887][ T5820] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 62.300899][ T5820] ? lockdep_hardirqs_on+0x99/0x150 [ 62.300911][ T5820] ? enable_work+0x2e3/0x360 [ 62.300922][ T5820] ? __pfx_enable_work+0x10/0x10 [ 62.300934][ T5820] ? _atomic_dec_and_lock+0x9a/0x130 [ 62.300947][ T5820] ? iput+0x3be/0xa50 [ 62.300957][ T5820] ocfs2_dismount_volume+0x202/0x910 [ 62.300970][ T5820] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 62.300981][ T5820] ? __pfx_evict_inodes+0x10/0x10 [ 62.300991][ T5820] ? __pfx_ocfs2_put_super+0x10/0x10 [ 62.301002][ T5820] generic_shutdown_super+0x139/0x2d0 [ 62.301013][ T5820] kill_block_super+0x44/0x90 [ 62.301025][ T5820] deactivate_locked_super+0xc4/0x130 [ 62.301036][ T5820] cleanup_mnt+0x41f/0x4b0 [ 62.301046][ T5820] ? lockdep_hardirqs_on+0x99/0x150 [ 62.301057][ T5820] task_work_run+0x24f/0x310 [ 62.301071][ T5820] ? __pfx_task_work_run+0x10/0x10 [ 62.301084][ T5820] ? do_exit+0xa25/0x28e0 [ 62.301095][ T5820] ? do_exit+0xa25/0x28e0 [ 62.301107][ T5820] do_exit+0xa2a/0x28e0 [ 62.301119][ T5820] ? __pfx_do_exit+0x10/0x10 [ 62.301130][ T5820] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 62.301142][ T5820] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 62.301155][ T5820] ? _raw_spin_unlock_irq+0x23/0x50 [ 62.301165][ T5820] ? lockdep_hardirqs_on+0x99/0x150 [ 62.301176][ T5820] do_group_exit+0x207/0x2c0 [ 62.301188][ T5820] __x64_sys_exit_group+0x3f/0x40 [ 62.301200][ T5820] x64_sys_call+0x26a8/0x26b0 [ 62.301214][ T5820] do_syscall_64+0xf3/0x230 [ 62.301227][ T5820] ? clear_bhb_loop+0x35/0x90 [ 62.301240][ T5820] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 62.301252][ T5820] RIP: 0033:0x7f569fac7c09 [ 62.301263][ T5820] Code: Unable to access opcode bytes at 0x7f569fac7bdf. [ 62.301268][ T5820] RSP: 002b:00007ffed6e6b878 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 62.301278][ T5820] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f569fac7c09 [ 62.301284][ T5820] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 62.301290][ T5820] RBP: 00007f569fb482b0 R08: ffffffffffffffb8 R09: 0000000000004701 [ 62.301296][ T5820] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f569fb482b0 [ 62.301302][ T5820] R13: 0000000000000000 R14: 00007f569fb49020 R15: 00007f569fa96130 [pid 5820] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5820, si_uid=0, si_status=1, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 62