./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3852619898 <...> Warning: Permanently added '10.128.10.37' (ED25519) to the list of known hosts. execve("./syz-executor3852619898", ["./syz-executor3852619898"], 0x7fff3e6b7490 /* 10 vars */) = 0 brk(NULL) = 0x5555874c1000 brk(0x5555874c1d00) = 0x5555874c1d00 arch_prctl(ARCH_SET_FS, 0x5555874c1380) = 0 set_tid_address(0x5555874c1650) = 5823 set_robust_list(0x5555874c1660, 24) = 0 rseq(0x5555874c1ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3852619898", 4096) = 28 getrandom("\xc4\x72\x17\x51\x82\x29\x11\x7b", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555874c1d00 brk(0x5555874e2d00) = 0x5555874e2d00 brk(0x5555874e3000) = 0x5555874e3000 mprotect(0x7f8128905000, 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 [pid 5824] set_robust_list(0x5555874c1660, 24 [pid 5823] <... clone resumed>, child_tidptr=0x5555874c1650) = 5824 [pid 5824] <... set_robust_list resumed>) = 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 [ 61.859928][ T5824] [ 61.859928][ T5824] which lock already depends on the new lock. [ 61.859928][ T5824] [ 61.870314][ T5824] [ 61.870314][ T5824] the existing dependency chain (in reverse order) is: [ 61.879312][ T5824] [ 61.879312][ T5824] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 61.887564][ T5824] lock_acquire+0x1ed/0x550 [ 61.892584][ T5824] down_read+0xb1/0xa40 [ 61.897282][ T5824] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 61.903724][ T5824] ocfs2_complete_recovery+0x17c1/0x25c0 [ 61.909877][ T5824] process_scheduled_works+0xa66/0x1840 [ 61.915937][ T5824] worker_thread+0x870/0xd30 [ 61.921038][ T5824] kthread+0x7a9/0x920 [ 61.925617][ T5824] ret_from_fork+0x4b/0x80 [ 61.930555][ T5824] ret_from_fork_asm+0x1a/0x30 [ 61.935918][ T5824] [ 61.935918][ T5824] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 61.946162][ T5824] lock_acquire+0x1ed/0x550 [ 61.951175][ T5824] process_scheduled_works+0x994/0x1840 [ 61.957231][ T5824] worker_thread+0x870/0xd30 [ 61.962337][ T5824] kthread+0x7a9/0x920 [ 61.966917][ T5824] ret_from_fork+0x4b/0x80 [ 61.971930][ T5824] ret_from_fork_asm+0x1a/0x30 [ 61.977207][ T5824] [ 61.977207][ T5824] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 61.985540][ T5824] validate_chain+0x18ef/0x5920 [ 61.991167][ T5824] __lock_acquire+0x1397/0x2100 [ 61.996620][ T5824] lock_acquire+0x1ed/0x550 [ 62.001631][ T5824] touch_wq_lockdep_map+0xc7/0x170 [ 62.007354][ T5824] __flush_workqueue+0x14a/0x1280 [ 62.012897][ T5824] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 62.019121][ T5824] ocfs2_dismount_volume+0x202/0x910 [ 62.025007][ T5824] generic_shutdown_super+0x139/0x2d0 [ 62.030896][ T5824] kill_block_super+0x44/0x90 [ 62.036079][ T5824] deactivate_locked_super+0xc4/0x130 [ 62.041962][ T5824] cleanup_mnt+0x41f/0x4b0 [ 62.046889][ T5824] task_work_run+0x24f/0x310 [ 62.051990][ T5824] do_exit+0xa2a/0x28e0 [ 62.057107][ T5824] do_group_exit+0x207/0x2c0 [ 62.062293][ T5824] __x64_sys_exit_group+0x3f/0x40 [ 62.067826][ T5824] x64_sys_call+0x26a8/0x26b0 [ 62.073011][ T5824] do_syscall_64+0xf3/0x230 [ 62.078034][ T5824] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 62.084610][ T5824] [ 62.084610][ T5824] other info that might help us debug this: [ 62.084610][ T5824] [ 62.094825][ T5824] Chain exists of: [ 62.094825][ T5824] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 62.094825][ T5824] [ 62.111684][ T5824] Possible unsafe locking scenario: [ 62.111684][ T5824] [ 62.119830][ T5824] CPU0 CPU1 [ 62.125175][ T5824] ---- ---- [ 62.130527][ T5824] lock(&type->s_umount_key#45); [ 62.135548][ T5824] lock((work_completion)(&journal->j_recovery_work)); [ 62.144995][ T5824] lock(&type->s_umount_key#45); [ 62.152533][ T5824] lock((wq_completion)ocfs2_wq); [ 62.157648][ T5824] [ 62.157648][ T5824] *** DEADLOCK *** [ 62.157648][ T5824] [ 62.165791][ T5824] 1 lock held by syz-executor385/5824: [ 62.171241][ T5824] #0: ffff88807c9600e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 62.181443][ T5824] [ 62.181443][ T5824] stack backtrace: [ 62.187329][ T5824] CPU: 1 UID: 0 PID: 5824 Comm: syz-executor385 Not tainted 6.14.0-rc1-syzkaller-00235-g9946eaf552b1 #0 [ 62.187344][ T5824] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 62.187355][ T5824] Call Trace: [ 62.187363][ T5824] [ 62.187369][ T5824] dump_stack_lvl+0x241/0x360 [ 62.187393][ T5824] ? __pfx_dump_stack_lvl+0x10/0x10 [ 62.187410][ T5824] ? __pfx__printk+0x10/0x10 [ 62.187429][ T5824] print_circular_bug+0x13a/0x1b0 [ 62.187448][ T5824] check_noncircular+0x36a/0x4a0 [ 62.187465][ T5824] ? __lock_acquire+0x1397/0x2100 [ 62.187481][ T5824] ? __pfx_check_noncircular+0x10/0x10 [ 62.187498][ T5824] ? lockdep_lock+0x123/0x2b0 [ 62.187512][ T5824] ? mark_lock+0x9a/0x360 [ 62.187528][ T5824] validate_chain+0x18ef/0x5920 [ 62.187552][ T5824] ? __pfx_validate_chain+0x10/0x10 [ 62.187576][ T5824] ? debug_object_assert_init+0x2dd/0x4b0 [ 62.187590][ T5824] ? do_raw_spin_lock+0x14f/0x370 [ 62.187601][ T5824] ? __pfx_lock_release+0x10/0x10 [ 62.187616][ T5824] ? mark_lock+0x9a/0x360 [ 62.187632][ T5824] __lock_acquire+0x1397/0x2100 [ 62.187648][ T5824] ? kfree+0x196/0x430 [ 62.187662][ T5824] ? ocfs2_dismount_volume+0x1bd/0x910 [ 62.187676][ T5824] lock_acquire+0x1ed/0x550 [ 62.187690][ T5824] ? touch_wq_lockdep_map+0xb1/0x170 [ 62.187707][ T5824] ? __pfx_lock_acquire+0x10/0x10 [ 62.187720][ T5824] ? __asan_memset+0x23/0x50 [ 62.187737][ T5824] ? lockdep_init_map_type+0xa1/0x910 [ 62.187751][ T5824] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 62.187765][ T5824] ? __lock_acquire+0x1397/0x2100 [ 62.187782][ T5824] ? touch_wq_lockdep_map+0xb1/0x170 [ 62.187797][ T5824] touch_wq_lockdep_map+0xc7/0x170 [ 62.187812][ T5824] ? touch_wq_lockdep_map+0xb1/0x170 [ 62.187832][ T5824] __flush_workqueue+0x14a/0x1280 [ 62.187846][ T5824] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 62.187864][ T5824] ? __pfx___flush_workqueue+0x10/0x10 [ 62.187882][ T5824] ? mark_lock+0x9a/0x360 [ 62.187897][ T5824] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 62.187912][ T5824] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 62.187927][ T5824] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 62.187940][ T5824] ? lockdep_hardirqs_on+0x99/0x150 [ 62.187956][ T5824] ? enable_work+0x2e3/0x360 [ 62.187971][ T5824] ? __pfx_enable_work+0x10/0x10 [ 62.187985][ T5824] ? _atomic_dec_and_lock+0x9a/0x130 [ 62.188002][ T5824] ? iput+0x3be/0xa50 [ 62.188018][ T5824] ocfs2_dismount_volume+0x202/0x910 [ 62.188032][ T5824] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 62.188044][ T5824] ? __pfx_evict_inodes+0x10/0x10 [ 62.188060][ T5824] ? __pfx_ocfs2_put_super+0x10/0x10 [ 62.188073][ T5824] generic_shutdown_super+0x139/0x2d0 [ 62.188092][ T5824] kill_block_super+0x44/0x90 [ 62.188104][ T5824] deactivate_locked_super+0xc4/0x130 [ 62.188122][ T5824] cleanup_mnt+0x41f/0x4b0 [ 62.188138][ T5824] ? lockdep_hardirqs_on+0x99/0x150 [ 62.188153][ T5824] task_work_run+0x24f/0x310 [ 62.188171][ T5824] ? __pfx_task_work_run+0x10/0x10 [ 62.188186][ T5824] ? do_exit+0xa25/0x28e0 [ 62.188201][ T5824] ? do_exit+0xa25/0x28e0 [ 62.188216][ T5824] do_exit+0xa2a/0x28e0 [ 62.188231][ T5824] ? __pfx_do_exit+0x10/0x10 [ 62.188244][ T5824] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 62.188259][ T5824] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 62.188276][ T5824] ? _raw_spin_unlock_irq+0x23/0x50 [ 62.188289][ T5824] ? lockdep_hardirqs_on+0x99/0x150 [ 62.188304][ T5824] do_group_exit+0x207/0x2c0 [ 62.188320][ T5824] __x64_sys_exit_group+0x3f/0x40 [ 62.188334][ T5824] x64_sys_call+0x26a8/0x26b0 [ 62.188347][ T5824] do_syscall_64+0xf3/0x230 [ 62.188364][ T5824] ? clear_bhb_loop+0x35/0x90 [ 62.188386][ T5824] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 62.188402][ T5824] RIP: 0033:0x7f812888ac09 [ 62.188417][ T5824] Code: Unable to access opcode bytes at 0x7f812888abdf. [ 62.188423][ T5824] RSP: 002b:00007fffb062e898 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 62.188437][ T5824] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f812888ac09 [ 62.188446][ T5824] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 62.188453][ T5824] RBP: 00007f812890b2b0 R08: ffffffffffffffb8 R09: 0000000000004701 [ 62.188462][ T5824] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f812890b2b0 [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=31 /* 0.31 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 62.188469][ T5824] R13: 0000000000000000 R1