./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2474013407 <...> Warning: Permanently added '10.128.1.62' (ED25519) to the list of known hosts. execve("./syz-executor2474013407", ["./syz-executor2474013407"], 0x7ffdcf3f7f90 /* 10 vars */) = 0 brk(NULL) = 0x5555813b1000 brk(0x5555813b1d00) = 0x5555813b1d00 arch_prctl(ARCH_SET_FS, 0x5555813b1380) = 0 set_tid_address(0x5555813b1650) = 5821 set_robust_list(0x5555813b1660, 24) = 0 rseq(0x5555813b1ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2474013407", 4096) = 28 getrandom("\xab\xb4\xd0\xcd\xa4\x03\x70\xe6", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555813b1d00 brk(0x5555813d2d00) = 0x5555813d2d00 brk(0x5555813d3000) = 0x5555813d3000 mprotect(0x7fa2e56a8000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5822 attached [pid 5822] set_robust_list(0x5555813b1660, 24 [pid 5821] <... clone resumed>, child_tidptr=0x5555813b1650) = 5822 [pid 5822] <... set_robust_list resumed>) = 0 [pid 5822] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5822] getppid() = 0 [pid 5822] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5822] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5822] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5822] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5822] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5822] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5822] unshare(CLONE_NEWNS) = 0 [pid 5822] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5822] unshare(CLONE_NEWIPC) = 0 [pid 5822] unshare(CLONE_NEWCGROUP) = 0 [pid 5822] unshare(CLONE_NEWUTS) = 0 [pid 5822] unshare(CLONE_SYSVSEM) = 0 [pid 5822] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5822] write(3, "16777216", 8) = 8 [pid 5822] close(3) = 0 [pid 5822] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5822] write(3, "536870912", 9) = 9 [pid 5822] close(3) = 0 [pid 5822] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5822] write(3, "1024", 4) = 4 [pid 5822] close(3) = 0 [pid 5822] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5822] write(3, "8192", 4) = 4 [pid 5822] close(3) = 0 [pid 5822] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5822] write(3, "1024", 4) = 4 [pid 5822] close(3) = 0 [pid 5822] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5822] write(3, "1024", 4) = 4 [pid 5822] close(3) = 0 [pid 5822] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5822] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5822] close(3) = 0 [pid 5822] getpid() = 1 [pid 5822] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 74.071925][ T5822] [ 74.071925][ T5822] which lock already depends on the new lock. [ 74.071925][ T5822] [ 74.082490][ T5822] [ 74.082490][ T5822] the existing dependency chain (in reverse order) is: [ 74.091794][ T5822] [ 74.091794][ T5822] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 74.100163][ T5822] lock_acquire+0x1ed/0x550 [ 74.105213][ T5822] down_read+0xb1/0xa40 [ 74.109988][ T5822] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 74.116691][ T5822] ocfs2_complete_recovery+0x17c1/0x25c0 [ 74.123023][ T5822] process_scheduled_works+0xa66/0x1840 [ 74.129089][ T5822] worker_thread+0x870/0xd30 [ 74.134309][ T5822] kthread+0x7a9/0x920 [ 74.138895][ T5822] ret_from_fork+0x4b/0x80 [ 74.143921][ T5822] ret_from_fork_asm+0x1a/0x30 [ 74.149218][ T5822] [ 74.149218][ T5822] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 74.159567][ T5822] lock_acquire+0x1ed/0x550 [ 74.164688][ T5822] process_scheduled_works+0x994/0x1840 [ 74.170938][ T5822] worker_thread+0x870/0xd30 [ 74.176070][ T5822] kthread+0x7a9/0x920 [ 74.180690][ T5822] ret_from_fork+0x4b/0x80 [ 74.185892][ T5822] ret_from_fork_asm+0x1a/0x30 [ 74.191216][ T5822] [ 74.191216][ T5822] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 74.199567][ T5822] validate_chain+0x18ef/0x5920 [ 74.204937][ T5822] __lock_acquire+0x1397/0x2100 [ 74.210402][ T5822] lock_acquire+0x1ed/0x550 [ 74.215541][ T5822] touch_wq_lockdep_map+0xc7/0x170 [ 74.221344][ T5822] __flush_workqueue+0x14a/0x1280 [ 74.227072][ T5822] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 74.233322][ T5822] ocfs2_dismount_volume+0x202/0x910 [ 74.239147][ T5822] generic_shutdown_super+0x139/0x2d0 [ 74.245594][ T5822] kill_block_super+0x44/0x90 [ 74.251087][ T5822] deactivate_locked_super+0xc4/0x130 [ 74.257085][ T5822] cleanup_mnt+0x41f/0x4b0 [ 74.263065][ T5822] task_work_run+0x24f/0x310 [ 74.269068][ T5822] do_exit+0xa2a/0x28e0 [ 74.273936][ T5822] do_group_exit+0x207/0x2c0 [ 74.279133][ T5822] __x64_sys_exit_group+0x3f/0x40 [ 74.285159][ T5822] x64_sys_call+0x26a8/0x26b0 [ 74.290402][ T5822] do_syscall_64+0xf3/0x230 [ 74.295612][ T5822] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 74.302122][ T5822] [ 74.302122][ T5822] other info that might help us debug this: [ 74.302122][ T5822] [ 74.312348][ T5822] Chain exists of: [ 74.312348][ T5822] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 74.312348][ T5822] [ 74.330959][ T5822] Possible unsafe locking scenario: [ 74.330959][ T5822] [ 74.339380][ T5822] CPU0 CPU1 [ 74.344853][ T5822] ---- ---- [ 74.350318][ T5822] lock(&type->s_umount_key#45); [ 74.355422][ T5822] lock((work_completion)(&journal->j_recovery_work)); [ 74.365712][ T5822] lock(&type->s_umount_key#45); [ 74.373903][ T5822] lock((wq_completion)ocfs2_wq); [ 74.379817][ T5822] [ 74.379817][ T5822] *** DEADLOCK *** [ 74.379817][ T5822] [ 74.388833][ T5822] 1 lock held by syz-executor247/5822: [ 74.394283][ T5822] #0: ffff8880359120e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 74.404493][ T5822] [ 74.404493][ T5822] stack backtrace: [ 74.410790][ T5822] CPU: 0 UID: 0 PID: 5822 Comm: syz-executor247 Not tainted 6.13.0-syzkaller-09793-g69b8923f5003 #0 [ 74.410804][ T5822] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 74.410814][ T5822] Call Trace: [ 74.410820][ T5822] [ 74.410826][ T5822] dump_stack_lvl+0x241/0x360 [ 74.410849][ T5822] ? __pfx_dump_stack_lvl+0x10/0x10 [ 74.410862][ T5822] ? __pfx__printk+0x10/0x10 [ 74.410877][ T5822] print_circular_bug+0x13a/0x1b0 [ 74.410892][ T5822] check_noncircular+0x36a/0x4a0 [ 74.410905][ T5822] ? __lock_acquire+0x1397/0x2100 [ 74.410917][ T5822] ? __pfx_check_noncircular+0x10/0x10 [ 74.410930][ T5822] ? lockdep_lock+0x123/0x2b0 [ 74.410940][ T5822] ? mark_lock+0x9a/0x360 [ 74.410953][ T5822] validate_chain+0x18ef/0x5920 [ 74.410989][ T5822] ? __pfx_validate_chain+0x10/0x10 [ 74.411007][ T5822] ? debug_object_assert_init+0x2dd/0x4b0 [ 74.411017][ T5822] ? do_raw_spin_lock+0x14f/0x370 [ 74.411026][ T5822] ? __pfx_lock_release+0x10/0x10 [ 74.411037][ T5822] ? mark_lock+0x9a/0x360 [ 74.411049][ T5822] __lock_acquire+0x1397/0x2100 [ 74.411061][ T5822] ? kfree+0x196/0x430 [ 74.411071][ T5822] ? ocfs2_dismount_volume+0x1bd/0x910 [ 74.411087][ T5822] lock_acquire+0x1ed/0x550 [ 74.411102][ T5822] ? touch_wq_lockdep_map+0xb1/0x170 [ 74.411115][ T5822] ? __pfx_lock_acquire+0x10/0x10 [ 74.411125][ T5822] ? __asan_memset+0x23/0x50 [ 74.411138][ T5822] ? lockdep_init_map_type+0xa1/0x910 [ 74.411149][ T5822] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 74.411160][ T5822] ? __lock_acquire+0x1397/0x2100 [ 74.411172][ T5822] ? touch_wq_lockdep_map+0xb1/0x170 [ 74.411182][ T5822] touch_wq_lockdep_map+0xc7/0x170 [ 74.411193][ T5822] ? touch_wq_lockdep_map+0xb1/0x170 [ 74.411203][ T5822] __flush_workqueue+0x14a/0x1280 [ 74.411214][ T5822] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 74.411232][ T5822] ? __pfx___flush_workqueue+0x10/0x10 [ 74.411252][ T5822] ? mark_lock+0x9a/0x360 [ 74.411268][ T5822] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 74.411284][ T5822] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 74.411300][ T5822] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 74.411313][ T5822] ? lockdep_hardirqs_on+0x99/0x150 [ 74.411330][ T5822] ? enable_work+0x2e3/0x360 [ 74.411346][ T5822] ? __pfx_enable_work+0x10/0x10 [ 74.411362][ T5822] ? _atomic_dec_and_lock+0x9a/0x130 [ 74.411379][ T5822] ? iput+0x3be/0xa50 [ 74.411397][ T5822] ocfs2_dismount_volume+0x202/0x910 [ 74.411420][ T5822] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 74.411441][ T5822] ? __pfx_evict_inodes+0x10/0x10 [ 74.411467][ T5822] ? __pfx_ocfs2_put_super+0x10/0x10 [ 74.411476][ T5822] generic_shutdown_super+0x139/0x2d0 [ 74.411491][ T5822] kill_block_super+0x44/0x90 [ 74.411500][ T5822] deactivate_locked_super+0xc4/0x130 [ 74.411513][ T5822] cleanup_mnt+0x41f/0x4b0 [ 74.411525][ T5822] ? lockdep_hardirqs_on+0x99/0x150 [ 74.411536][ T5822] task_work_run+0x24f/0x310 [ 74.411550][ T5822] ? __pfx_task_work_run+0x10/0x10 [ 74.411562][ T5822] ? do_exit+0xa25/0x28e0 [ 74.411573][ T5822] ? do_exit+0xa25/0x28e0 [ 74.411584][ T5822] do_exit+0xa2a/0x28e0 [ 74.411596][ T5822] ? __pfx_do_exit+0x10/0x10 [ 74.411605][ T5822] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 74.411616][ T5822] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 74.411629][ T5822] ? _raw_spin_unlock_irq+0x23/0x50 [ 74.411638][ T5822] ? lockdep_hardirqs_on+0x99/0x150 [ 74.411649][ T5822] do_group_exit+0x207/0x2c0 [ 74.411661][ T5822] __x64_sys_exit_group+0x3f/0x40 [ 74.411672][ T5822] x64_sys_call+0x26a8/0x26b0 [ 74.411681][ T5822] do_syscall_64+0xf3/0x230 [ 74.411694][ T5822] ? clear_bhb_loop+0x35/0x90 [ 74.411709][ T5822] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 74.411722][ T5822] RIP: 0033:0x7fa2e562db89 [ 74.411736][ T5822] Code: Unable to access opcode bytes at 0x7fa2e562db5f. [ 74.411740][ T5822] RSP: 002b:00007ffe57c39658 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [pid 5822] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5822, si_uid=0, si_status=1, si_utime=1 /* 0.01 s */, si_stime=28 /* 0.28 s */} --- exit_group(0) = ? [ 74.411752][ T5822] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fa2e562db89 [ 74.411758][ T5822] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 74.411763][ T5822] RBP: 00007fa2e56ae2b0 R08: ffffffffffffffb8 R09: 0000000000004701 [ 74.411769][ T5822] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa2e56ae2b0 [ 74.411775][ T5822] R13: 0000000000000000 R14: 00007fa2e56af020 R15: 00007fa2e55fc0c0 [ 74.411784][ T5822] [ 74.853907][ T5822] ocfs2: Unmounting device (7,0) on (node local) +++ exited with 0 +++