./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2748182845 <...> Warning: Permanently added '10.128.1.30' (ED25519) to the list of known hosts. execve("./syz-executor2748182845", ["./syz-executor2748182845"], 0x7ffe938371d0 /* 10 vars */) = 0 brk(NULL) = 0x55555a216000 brk(0x55555a216d00) = 0x55555a216d00 arch_prctl(ARCH_SET_FS, 0x55555a216380) = 0 set_tid_address(0x55555a216650) = 5828 set_robust_list(0x55555a216660, 24) = 0 rseq(0x55555a216ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2748182845", 4096) = 28 getrandom("\x74\x61\x67\x60\xb0\x37\xe7\x1f", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555a216d00 brk(0x55555a237d00) = 0x55555a237d00 brk(0x55555a238000) = 0x55555a238000 mprotect(0x7f8cc3292000, 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 5829 attached [pid 5829] set_robust_list(0x55555a216660, 24 [pid 5828] <... clone resumed>, child_tidptr=0x55555a216650) = 5829 [pid 5829] <... set_robust_list resumed>) = 0 [pid 5829] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5829] getppid() = 0 [pid 5829] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5829] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5829] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5829] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5829] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5829] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5829] unshare(CLONE_NEWNS) = 0 [pid 5829] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5829] unshare(CLONE_NEWIPC) = 0 [pid 5829] unshare(CLONE_NEWCGROUP) = 0 [pid 5829] unshare(CLONE_NEWUTS) = 0 [pid 5829] unshare(CLONE_SYSVSEM) = 0 [pid 5829] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5829] write(3, "16777216", 8) = 8 [pid 5829] close(3) = 0 [pid 5829] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5829] write(3, "536870912", 9) = 9 [pid 5829] close(3) = 0 [pid 5829] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5829] write(3, "1024", 4) = 4 [pid 5829] close(3) = 0 [pid 5829] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5829] write(3, "8192", 4) = 4 [pid 5829] close(3) = 0 [pid 5829] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5829] write(3, "1024", 4) = 4 [pid 5829] close(3) = 0 [pid 5829] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5829] write(3, "1024", 4) = 4 [pid 5829] close(3) = 0 [pid 5829] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5829] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5829] close(3) = 0 [pid 5829] getpid() = 1 [pid 5829] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 60.589040][ T5829] [ 60.589040][ T5829] which lock already depends on the new lock. [ 60.589040][ T5829] [ 60.599500][ T5829] [ 60.599500][ T5829] the existing dependency chain (in reverse order) is: [ 60.608484][ T5829] [ 60.608484][ T5829] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 60.616714][ T5829] lock_acquire+0x1ed/0x550 [ 60.621726][ T5829] down_read+0xb1/0xa40 [ 60.626396][ T5829] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 60.632790][ T5829] ocfs2_complete_recovery+0x17c1/0x25c0 [ 60.638918][ T5829] process_scheduled_works+0xabe/0x18e0 [ 60.644962][ T5829] worker_thread+0x870/0xd30 [ 60.650047][ T5829] kthread+0x7a9/0x920 [ 60.654613][ T5829] ret_from_fork+0x4b/0x80 [ 60.659525][ T5829] ret_from_fork_asm+0x1a/0x30 [ 60.664789][ T5829] [ 60.664789][ T5829] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 60.674925][ T5829] lock_acquire+0x1ed/0x550 [ 60.679933][ T5829] process_scheduled_works+0x9e4/0x18e0 [ 60.685980][ T5829] worker_thread+0x870/0xd30 [ 60.691064][ T5829] kthread+0x7a9/0x920 [ 60.695631][ T5829] ret_from_fork+0x4b/0x80 [ 60.700545][ T5829] ret_from_fork_asm+0x1a/0x30 [ 60.705804][ T5829] [ 60.705804][ T5829] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 60.714115][ T5829] validate_chain+0x18ef/0x5920 [ 60.719459][ T5829] __lock_acquire+0x1397/0x2100 [ 60.724806][ T5829] lock_acquire+0x1ed/0x550 [ 60.729808][ T5829] touch_wq_lockdep_map+0xc7/0x170 [ 60.735418][ T5829] __flush_workqueue+0x14a/0x1280 [ 60.740938][ T5829] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 60.747179][ T5829] ocfs2_dismount_volume+0x202/0x910 [ 60.752976][ T5829] generic_shutdown_super+0x139/0x2d0 [ 60.758843][ T5829] kill_block_super+0x44/0x90 [ 60.764024][ T5829] deactivate_locked_super+0xc4/0x130 [ 60.769914][ T5829] cleanup_mnt+0x41f/0x4b0 [ 60.774830][ T5829] task_work_run+0x24f/0x310 [ 60.779922][ T5829] do_exit+0xa2a/0x28e0 [ 60.784575][ T5829] do_group_exit+0x207/0x2c0 [ 60.789660][ T5829] __x64_sys_exit_group+0x3f/0x40 [ 60.795183][ T5829] x64_sys_call+0x26a8/0x26b0 [ 60.800354][ T5829] do_syscall_64+0xf3/0x230 [ 60.805353][ T5829] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 60.811745][ T5829] [ 60.811745][ T5829] other info that might help us debug this: [ 60.811745][ T5829] [ 60.821950][ T5829] Chain exists of: [ 60.821950][ T5829] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 60.821950][ T5829] [ 60.838784][ T5829] Possible unsafe locking scenario: [ 60.838784][ T5829] [ 60.846205][ T5829] CPU0 CPU1 [ 60.851542][ T5829] ---- ---- [ 60.856879][ T5829] lock(&type->s_umount_key#45); [ 60.861884][ T5829] lock((work_completion)(&journal->j_recovery_work)); [ 60.871327][ T5829] lock(&type->s_umount_key#45); [ 60.878850][ T5829] lock((wq_completion)ocfs2_wq); [ 60.883937][ T5829] [ 60.883937][ T5829] *** DEADLOCK *** [ 60.883937][ T5829] [ 60.892064][ T5829] 1 lock held by syz-executor274/5829: [ 60.897507][ T5829] #0: ffff88807c7260e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 60.907682][ T5829] [ 60.907682][ T5829] stack backtrace: [ 60.913559][ T5829] CPU: 1 UID: 0 PID: 5829 Comm: syz-executor274 Not tainted 6.14.0-rc3-syzkaller-00096-ge9a8cac0bf89 #0 [ 60.913570][ T5829] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 60.913579][ T5829] Call Trace: [ 60.913586][ T5829] [ 60.913590][ T5829] dump_stack_lvl+0x241/0x360 [ 60.913606][ T5829] ? __pfx_dump_stack_lvl+0x10/0x10 [ 60.913615][ T5829] ? __pfx__printk+0x10/0x10 [ 60.913630][ T5829] print_circular_bug+0x13a/0x1b0 [ 60.913641][ T5829] check_noncircular+0x36a/0x4a0 [ 60.913650][ T5829] ? __lock_acquire+0x1397/0x2100 [ 60.913663][ T5829] ? __pfx_check_noncircular+0x10/0x10 [ 60.913672][ T5829] ? lockdep_lock+0x123/0x2b0 [ 60.913684][ T5829] ? __pfx_validate_chain+0x10/0x10 [ 60.913694][ T5829] validate_chain+0x18ef/0x5920 [ 60.913707][ T5829] ? __pfx_validate_chain+0x10/0x10 [ 60.913720][ T5829] ? debug_object_assert_init+0x2dd/0x4b0 [ 60.913733][ T5829] ? do_raw_spin_lock+0x14f/0x370 [ 60.913743][ T5829] ? __pfx_lock_release+0x10/0x10 [ 60.913755][ T5829] ? mark_lock+0x9a/0x360 [ 60.913768][ T5829] __lock_acquire+0x1397/0x2100 [ 60.913781][ T5829] ? kfree+0x196/0x430 [ 60.913795][ T5829] ? ocfs2_dismount_volume+0x1bd/0x910 [ 60.913809][ T5829] lock_acquire+0x1ed/0x550 [ 60.913821][ T5829] ? touch_wq_lockdep_map+0xb1/0x170 [ 60.913835][ T5829] ? __pfx_lock_acquire+0x10/0x10 [ 60.913846][ T5829] ? __asan_memset+0x23/0x50 [ 60.913857][ T5829] ? lockdep_init_map_type+0xa1/0x910 [ 60.913869][ T5829] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 60.913881][ T5829] ? __lock_acquire+0x1397/0x2100 [ 60.913894][ T5829] ? touch_wq_lockdep_map+0xb1/0x170 [ 60.913906][ T5829] touch_wq_lockdep_map+0xc7/0x170 [ 60.913917][ T5829] ? touch_wq_lockdep_map+0xb1/0x170 [ 60.913929][ T5829] __flush_workqueue+0x14a/0x1280 [ 60.913941][ T5829] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 60.913954][ T5829] ? __pfx___flush_workqueue+0x10/0x10 [ 60.913969][ T5829] ? mark_lock+0x9a/0x360 [ 60.913982][ T5829] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 60.913996][ T5829] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 60.914008][ T5829] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 60.914021][ T5829] ? lockdep_hardirqs_on+0x99/0x150 [ 60.914032][ T5829] ? enable_work+0x2e3/0x360 [ 60.914044][ T5829] ? __pfx_enable_work+0x10/0x10 [ 60.914055][ T5829] ? _atomic_dec_and_lock+0x9a/0x130 [ 60.914067][ T5829] ? iput+0x3be/0xa50 [ 60.914077][ T5829] ocfs2_dismount_volume+0x202/0x910 [ 60.914090][ T5829] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 60.914102][ T5829] ? __pfx_evict_inodes+0x10/0x10 [ 60.914112][ T5829] ? __pfx_ocfs2_put_super+0x10/0x10 [ 60.914124][ T5829] generic_shutdown_super+0x139/0x2d0 [ 60.914144][ T5829] kill_block_super+0x44/0x90 [ 60.914156][ T5829] deactivate_locked_super+0xc4/0x130 [ 60.914167][ T5829] cleanup_mnt+0x41f/0x4b0 [ 60.914178][ T5829] ? lockdep_hardirqs_on+0x99/0x150 [ 60.914188][ T5829] task_work_run+0x24f/0x310 [ 60.914203][ T5829] ? __pfx_task_work_run+0x10/0x10 [ 60.914216][ T5829] ? do_exit+0xa25/0x28e0 [ 60.914228][ T5829] ? do_exit+0xa25/0x28e0 [ 60.914240][ T5829] do_exit+0xa2a/0x28e0 [ 60.914257][ T5829] ? __pfx_do_exit+0x10/0x10 [ 60.914268][ T5829] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 60.914280][ T5829] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 60.914294][ T5829] ? _raw_spin_unlock_irq+0x23/0x50 [ 60.914304][ T5829] ? lockdep_hardirqs_on+0x99/0x150 [ 60.914314][ T5829] do_group_exit+0x207/0x2c0 [ 60.914327][ T5829] __x64_sys_exit_group+0x3f/0x40 [ 60.914339][ T5829] x64_sys_call+0x26a8/0x26b0 [ 60.914349][ T5829] do_syscall_64+0xf3/0x230 [ 60.914361][ T5829] ? clear_bhb_loop+0x35/0x90 [ 60.914375][ T5829] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 60.914388][ T5829] RIP: 0033:0x7f8cc3217c09 [ 60.914399][ T5829] Code: Unable to access opcode bytes at 0x7f8cc3217bdf. [ 60.914403][ T5829] RSP: 002b:00007ffd05a296f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 60.914413][ T5829] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f8cc3217c09 [ 60.914420][ T5829] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 60.914425][ T5829] RBP: 00007f8cc32982b0 R08: ffffffffffffffb8 R09: 0000000000004701 [ 60.914431][ T5829] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8cc32982b0 [ 60.914437][ T5829] R13: 0000000000000000 R14: 00007f8cc3299020 R15: 00007f8cc31e6130 [pid 5829] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5829, si_uid=0, si_status=1, si_utime=2 /* 0.02 s */, si_stime=30 /* 0.30 s */} --- exit_group(0) = ? +++ exited with 0 +++ [