./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3890654311 <...> Warning: Permanently added '10.128.10.57' (ED25519) to the list of known hosts. execve("./syz-executor3890654311", ["./syz-executor3890654311"], 0x7fff3e8711f0 /* 10 vars */) = 0 brk(NULL) = 0x55555712a000 brk(0x55555712ad00) = 0x55555712ad00 arch_prctl(ARCH_SET_FS, 0x55555712a380) = 0 set_tid_address(0x55555712a650) = 5826 set_robust_list(0x55555712a660, 24) = 0 rseq(0x55555712aca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3890654311", 4096) = 28 getrandom("\x6e\xa2\x5e\xdf\xb5\xea\xef\x2e", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555712ad00 brk(0x55555714bd00) = 0x55555714bd00 brk(0x55555714c000) = 0x55555714c000 mprotect(0x7f68c5d5c000, 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 5827 attached , child_tidptr=0x55555712a650) = 5827 [pid 5827] set_robust_list(0x55555712a660, 24) = 0 [pid 5827] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5827] getppid() = 0 [pid 5827] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5827] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5827] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5827] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5827] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5827] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5827] unshare(CLONE_NEWNS) = 0 [pid 5827] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5827] unshare(CLONE_NEWIPC) = 0 [pid 5827] unshare(CLONE_NEWCGROUP) = 0 [pid 5827] unshare(CLONE_NEWUTS) = 0 [pid 5827] unshare(CLONE_SYSVSEM) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "16777216", 8) = 8 [pid 5827] close(3) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "536870912", 9) = 9 [pid 5827] close(3) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "1024", 4) = 4 [pid 5827] close(3) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "8192", 4) = 4 [pid 5827] close(3) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "1024", 4) = 4 [pid 5827] close(3) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "1024", 4) = 4 [pid 5827] close(3) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5827] close(3) = 0 [pid 5827] getpid() = 1 [pid 5827] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 79.808779][ T5827] [ 79.808779][ T5827] which lock already depends on the new lock. [ 79.808779][ T5827] [ 79.819973][ T5827] [ 79.819973][ T5827] the existing dependency chain (in reverse order) is: [ 79.829291][ T5827] [ 79.829291][ T5827] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 79.837597][ T5827] lock_acquire+0x1ed/0x550 [ 79.842779][ T5827] down_read+0xb1/0xa40 [ 79.847628][ T5827] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 79.854243][ T5827] ocfs2_complete_recovery+0x17c1/0x25c0 [ 79.860446][ T5827] process_scheduled_works+0xa66/0x1840 [ 79.867056][ T5827] worker_thread+0x870/0xd30 [ 79.872349][ T5827] kthread+0x7a9/0x920 [ 79.877124][ T5827] ret_from_fork+0x4b/0x80 [ 79.882128][ T5827] ret_from_fork_asm+0x1a/0x30 [ 79.887472][ T5827] [ 79.887472][ T5827] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 79.897808][ T5827] lock_acquire+0x1ed/0x550 [ 79.903150][ T5827] process_scheduled_works+0x994/0x1840 [ 79.910279][ T5827] worker_thread+0x870/0xd30 [ 79.915521][ T5827] kthread+0x7a9/0x920 [ 79.920441][ T5827] ret_from_fork+0x4b/0x80 [ 79.925606][ T5827] ret_from_fork_asm+0x1a/0x30 [ 79.931045][ T5827] [ 79.931045][ T5827] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 79.939722][ T5827] validate_chain+0x18ef/0x5920 [ 79.945572][ T5827] __lock_acquire+0x1397/0x2100 [ 79.951217][ T5827] lock_acquire+0x1ed/0x550 [ 79.956289][ T5827] touch_wq_lockdep_map+0xc7/0x170 [ 79.962402][ T5827] __flush_workqueue+0x14a/0x1280 [ 79.968426][ T5827] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 79.975319][ T5827] ocfs2_dismount_volume+0x202/0x910 [ 79.981267][ T5827] generic_shutdown_super+0x139/0x2d0 [ 79.988417][ T5827] kill_block_super+0x44/0x90 [ 79.993820][ T5827] deactivate_locked_super+0xc4/0x130 [ 80.000153][ T5827] cleanup_mnt+0x41f/0x4b0 [ 80.006510][ T5827] task_work_run+0x24f/0x310 [ 80.012179][ T5827] do_exit+0xa2a/0x28e0 [ 80.017158][ T5827] do_group_exit+0x207/0x2c0 [ 80.022804][ T5827] __x64_sys_exit_group+0x3f/0x40 [ 80.028481][ T5827] x64_sys_call+0x26a8/0x26b0 [ 80.033730][ T5827] do_syscall_64+0xf3/0x230 [ 80.038789][ T5827] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 80.045314][ T5827] [ 80.045314][ T5827] other info that might help us debug this: [ 80.045314][ T5827] [ 80.055671][ T5827] Chain exists of: [ 80.055671][ T5827] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 80.055671][ T5827] [ 80.073126][ T5827] Possible unsafe locking scenario: [ 80.073126][ T5827] [ 80.080606][ T5827] CPU0 CPU1 [ 80.086163][ T5827] ---- ---- [ 80.091821][ T5827] lock(&type->s_umount_key#45); [ 80.096966][ T5827] lock((work_completion)(&journal->j_recovery_work)); [ 80.106928][ T5827] lock(&type->s_umount_key#45); [ 80.114710][ T5827] lock((wq_completion)ocfs2_wq); [ 80.119855][ T5827] [ 80.119855][ T5827] *** DEADLOCK *** [ 80.119855][ T5827] [ 80.128031][ T5827] 1 lock held by syz-executor389/5827: [ 80.133539][ T5827] #0: ffff88807e48c0e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 80.143931][ T5827] [ 80.143931][ T5827] stack backtrace: [ 80.150100][ T5827] CPU: 1 UID: 0 PID: 5827 Comm: syz-executor389 Not tainted 6.14.0-rc2-syzkaller-00039-g09fbf3d50205 #0 [ 80.150121][ T5827] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 80.150135][ T5827] Call Trace: [ 80.150144][ T5827] [ 80.150151][ T5827] dump_stack_lvl+0x241/0x360 [ 80.150182][ T5827] ? __pfx_dump_stack_lvl+0x10/0x10 [ 80.150207][ T5827] ? __pfx__printk+0x10/0x10 [ 80.150235][ T5827] print_circular_bug+0x13a/0x1b0 [ 80.150262][ T5827] check_noncircular+0x36a/0x4a0 [ 80.150286][ T5827] ? __lock_acquire+0x1397/0x2100 [ 80.150308][ T5827] ? __pfx_check_noncircular+0x10/0x10 [ 80.150332][ T5827] ? lockdep_lock+0x123/0x2b0 [ 80.150351][ T5827] ? mark_lock+0x9a/0x360 [ 80.150375][ T5827] validate_chain+0x18ef/0x5920 [ 80.150407][ T5827] ? __pfx_validate_chain+0x10/0x10 [ 80.150440][ T5827] ? debug_object_assert_init+0x2dd/0x4b0 [ 80.150458][ T5827] ? do_raw_spin_lock+0x14f/0x370 [ 80.150473][ T5827] ? __pfx_lock_release+0x10/0x10 [ 80.150495][ T5827] ? mark_lock+0x9a/0x360 [ 80.150517][ T5827] __lock_acquire+0x1397/0x2100 [ 80.150539][ T5827] ? kfree+0x196/0x430 [ 80.150558][ T5827] ? ocfs2_dismount_volume+0x1bd/0x910 [ 80.150577][ T5827] lock_acquire+0x1ed/0x550 [ 80.150596][ T5827] ? touch_wq_lockdep_map+0xb1/0x170 [ 80.150618][ T5827] ? __pfx_lock_acquire+0x10/0x10 [ 80.150637][ T5827] ? __asan_memset+0x23/0x50 [ 80.150663][ T5827] ? lockdep_init_map_type+0xa1/0x910 [ 80.150686][ T5827] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 80.150707][ T5827] ? __lock_acquire+0x1397/0x2100 [ 80.150733][ T5827] ? touch_wq_lockdep_map+0xb1/0x170 [ 80.150751][ T5827] touch_wq_lockdep_map+0xc7/0x170 [ 80.150771][ T5827] ? touch_wq_lockdep_map+0xb1/0x170 [ 80.150796][ T5827] __flush_workqueue+0x14a/0x1280 [ 80.150817][ T5827] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 80.150841][ T5827] ? __pfx___flush_workqueue+0x10/0x10 [ 80.150866][ T5827] ? mark_lock+0x9a/0x360 [ 80.150888][ T5827] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 80.150913][ T5827] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 80.150935][ T5827] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 80.150954][ T5827] ? lockdep_hardirqs_on+0x99/0x150 [ 80.150977][ T5827] ? enable_work+0x2e3/0x360 [ 80.150998][ T5827] ? __pfx_enable_work+0x10/0x10 [ 80.151019][ T5827] ? _atomic_dec_and_lock+0x9a/0x130 [ 80.151050][ T5827] ? iput+0x3be/0xa50 [ 80.151074][ T5827] ocfs2_dismount_volume+0x202/0x910 [ 80.151093][ T5827] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 80.151110][ T5827] ? __pfx_evict_inodes+0x10/0x10 [ 80.151132][ T5827] ? __pfx_ocfs2_put_super+0x10/0x10 [ 80.151150][ T5827] generic_shutdown_super+0x139/0x2d0 [ 80.151176][ T5827] kill_block_super+0x44/0x90 [ 80.151194][ T5827] deactivate_locked_super+0xc4/0x130 [ 80.151219][ T5827] cleanup_mnt+0x41f/0x4b0 [ 80.151243][ T5827] ? lockdep_hardirqs_on+0x99/0x150 [ 80.151265][ T5827] task_work_run+0x24f/0x310 [ 80.151291][ T5827] ? __pfx_task_work_run+0x10/0x10 [ 80.151314][ T5827] ? do_exit+0xa25/0x28e0 [ 80.151335][ T5827] ? do_exit+0xa25/0x28e0 [ 80.151356][ T5827] do_exit+0xa2a/0x28e0 [ 80.151378][ T5827] ? __pfx_do_exit+0x10/0x10 [ 80.151403][ T5827] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 80.151425][ T5827] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 80.151448][ T5827] ? _raw_spin_unlock_irq+0x23/0x50 [ 80.151467][ T5827] ? lockdep_hardirqs_on+0x99/0x150 [ 80.151489][ T5827] do_group_exit+0x207/0x2c0 [ 80.151511][ T5827] __x64_sys_exit_group+0x3f/0x40 [ 80.151532][ T5827] x64_sys_call+0x26a8/0x26b0 [ 80.151550][ T5827] do_syscall_64+0xf3/0x230 [ 80.151573][ T5827] ? clear_bhb_loop+0x35/0x90 [ 80.151597][ T5827] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 80.151625][ T5827] RIP: 0033:0x7f68c5ce1c09 [ 80.151642][ T5827] Code: Unable to access opcode bytes at 0x7f68c5ce1bdf. [ 80.151650][ T5827] RSP: 002b:00007ffec95226d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 80.151669][ T5827] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f68c5ce1c09 [ 80.151681][ T5827] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 80.151691][ T5827] RBP: 00007f68c5d622b0 R08: ffffffffffffffb8 R09: 0000000000004701 [ 80.151703][ T5827] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f68c5d622b0 [ 80.151713][ T5827] R13: 0000000000000000 R14: 00007f68c5d63020 R15: 00007f68c5cb0130 [ 80.151730][ T5827] [pid 5827] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5827, si_uid=0, si_status=1, si_utime=0, si_stime=35 /* 0.35 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 80.590353][ T5827] ocfs2: Unmounting device (7,0) on (node local)