./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1306244088 <...> Warning: Permanently added '10.128.1.29' (ED25519) to the list of known hosts. execve("./syz-executor1306244088", ["./syz-executor1306244088"], 0x7ffe8e6fb810 /* 10 vars */) = 0 brk(NULL) = 0x55556d4b9000 brk(0x55556d4b9d00) = 0x55556d4b9d00 arch_prctl(ARCH_SET_FS, 0x55556d4b9380) = 0 set_tid_address(0x55556d4b9650) = 5829 set_robust_list(0x55556d4b9660, 24) = 0 rseq(0x55556d4b9ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1306244088", 4096) = 28 getrandom("\x82\xab\x44\x98\x21\xed\x33\xed", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556d4b9d00 brk(0x55556d4dad00) = 0x55556d4dad00 brk(0x55556d4db000) = 0x55556d4db000 mprotect(0x7f2309ea2000, 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 5830 attached [pid 5830] set_robust_list(0x55556d4b9660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x55556d4b9650) = 5830 [pid 5830] <... set_robust_list resumed>) = 0 [pid 5830] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5830] getppid() = 0 [pid 5830] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5830] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5830] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5830] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5830] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5830] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5830] unshare(CLONE_NEWNS) = 0 [pid 5830] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5830] unshare(CLONE_NEWIPC) = 0 [pid 5830] unshare(CLONE_NEWCGROUP) = 0 [pid 5830] unshare(CLONE_NEWUTS) = 0 [pid 5830] unshare(CLONE_SYSVSEM) = 0 [pid 5830] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5830] write(3, "16777216", 8) = 8 [pid 5830] close(3) = 0 [pid 5830] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5830] write(3, "536870912", 9) = 9 [pid 5830] close(3) = 0 [pid 5830] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5830] write(3, "1024", 4) = 4 [pid 5830] close(3) = 0 [pid 5830] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5830] write(3, "8192", 4) = 4 [pid 5830] close(3) = 0 [pid 5830] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5830] write(3, "1024", 4) = 4 [pid 5830] close(3) = 0 [pid 5830] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5830] write(3, "1024", 4) = 4 [pid 5830] close(3) = 0 [pid 5830] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5830] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5830] close(3) = 0 [pid 5830] getpid() = 1 [pid 5830] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 79.549726][ T5830] [ 79.549726][ T5830] which lock already depends on the new lock. [ 79.549726][ T5830] [ 79.560324][ T5830] [ 79.560324][ T5830] the existing dependency chain (in reverse order) is: [ 79.569416][ T5830] [ 79.569416][ T5830] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 79.577996][ T5830] lock_acquire+0x1ed/0x550 [ 79.583040][ T5830] down_read+0xb1/0xa40 [ 79.587746][ T5830] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 79.594158][ T5830] ocfs2_complete_recovery+0x17c1/0x25c0 [ 79.600310][ T5830] process_scheduled_works+0xa66/0x1840 [ 79.606368][ T5830] worker_thread+0x870/0xd30 [ 79.611481][ T5830] kthread+0x7a9/0x920 [ 79.616178][ T5830] ret_from_fork+0x4b/0x80 [ 79.621672][ T5830] ret_from_fork_asm+0x1a/0x30 [ 79.627004][ T5830] [ 79.627004][ T5830] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 79.637483][ T5830] lock_acquire+0x1ed/0x550 [ 79.642531][ T5830] process_scheduled_works+0x994/0x1840 [ 79.648612][ T5830] worker_thread+0x870/0xd30 [ 79.653737][ T5830] kthread+0x7a9/0x920 [ 79.658554][ T5830] ret_from_fork+0x4b/0x80 [ 79.663601][ T5830] ret_from_fork_asm+0x1a/0x30 [ 79.668901][ T5830] [ 79.668901][ T5830] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 79.677383][ T5830] validate_chain+0x18ef/0x5920 [ 79.682799][ T5830] __lock_acquire+0x1397/0x2100 [ 79.688187][ T5830] lock_acquire+0x1ed/0x550 [ 79.693208][ T5830] touch_wq_lockdep_map+0xc7/0x170 [ 79.698839][ T5830] __flush_workqueue+0x14a/0x1280 [ 79.704377][ T5830] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 79.710607][ T5830] ocfs2_dismount_volume+0x202/0x910 [ 79.716419][ T5830] generic_shutdown_super+0x139/0x2d0 [ 79.722432][ T5830] kill_block_super+0x44/0x90 [ 79.728199][ T5830] deactivate_locked_super+0xc4/0x130 [ 79.735355][ T5830] cleanup_mnt+0x41f/0x4b0 [ 79.740320][ T5830] task_work_run+0x24f/0x310 [ 79.746341][ T5830] do_exit+0xa2a/0x28e0 [ 79.751256][ T5830] do_group_exit+0x207/0x2c0 [ 79.756406][ T5830] __x64_sys_exit_group+0x3f/0x40 [ 79.762095][ T5830] x64_sys_call+0x26a8/0x26b0 [ 79.767589][ T5830] do_syscall_64+0xf3/0x230 [ 79.772839][ T5830] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.779377][ T5830] [ 79.779377][ T5830] other info that might help us debug this: [ 79.779377][ T5830] [ 79.789719][ T5830] Chain exists of: [ 79.789719][ T5830] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 79.789719][ T5830] [ 79.806610][ T5830] Possible unsafe locking scenario: [ 79.806610][ T5830] [ 79.814045][ T5830] CPU0 CPU1 [ 79.819688][ T5830] ---- ---- [ 79.825338][ T5830] lock(&type->s_umount_key#45); [ 79.831531][ T5830] lock((work_completion)(&journal->j_recovery_work)); [ 79.842238][ T5830] lock(&type->s_umount_key#45); [ 79.850278][ T5830] lock((wq_completion)ocfs2_wq); [ 79.855498][ T5830] [ 79.855498][ T5830] *** DEADLOCK *** [ 79.855498][ T5830] [ 79.864087][ T5830] 1 lock held by syz-executor130/5830: [ 79.869725][ T5830] #0: ffff8880305f20e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 79.879978][ T5830] [ 79.879978][ T5830] stack backtrace: [ 79.885884][ T5830] CPU: 1 UID: 0 PID: 5830 Comm: syz-executor130 Not tainted 6.13.0-syzkaller-09793-g69b8923f5003 #0 [ 79.885900][ T5830] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 79.885912][ T5830] Call Trace: [ 79.885921][ T5830] [ 79.885928][ T5830] dump_stack_lvl+0x241/0x360 [ 79.885961][ T5830] ? __pfx_dump_stack_lvl+0x10/0x10 [ 79.885984][ T5830] ? __pfx__printk+0x10/0x10 [ 79.886008][ T5830] print_circular_bug+0x13a/0x1b0 [ 79.886031][ T5830] check_noncircular+0x36a/0x4a0 [ 79.886052][ T5830] ? __lock_acquire+0x1397/0x2100 [ 79.886071][ T5830] ? __pfx_check_noncircular+0x10/0x10 [ 79.886092][ T5830] ? lockdep_lock+0x123/0x2b0 [ 79.886108][ T5830] ? mark_lock+0x9a/0x360 [ 79.886129][ T5830] validate_chain+0x18ef/0x5920 [ 79.886157][ T5830] ? __pfx_validate_chain+0x10/0x10 [ 79.886186][ T5830] ? debug_object_assert_init+0x2dd/0x4b0 [ 79.886200][ T5830] ? do_raw_spin_lock+0x14f/0x370 [ 79.886215][ T5830] ? __pfx_lock_release+0x10/0x10 [ 79.886233][ T5830] ? mark_lock+0x9a/0x360 [ 79.886253][ T5830] __lock_acquire+0x1397/0x2100 [ 79.886272][ T5830] ? kfree+0x196/0x430 [ 79.886288][ T5830] ? ocfs2_dismount_volume+0x1bd/0x910 [ 79.886313][ T5830] lock_acquire+0x1ed/0x550 [ 79.886330][ T5830] ? touch_wq_lockdep_map+0xb1/0x170 [ 79.886349][ T5830] ? __pfx_lock_acquire+0x10/0x10 [ 79.886365][ T5830] ? __asan_memset+0x23/0x50 [ 79.886386][ T5830] ? lockdep_init_map_type+0xa1/0x910 [ 79.886404][ T5830] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 79.886421][ T5830] ? __lock_acquire+0x1397/0x2100 [ 79.886441][ T5830] ? touch_wq_lockdep_map+0xb1/0x170 [ 79.886457][ T5830] touch_wq_lockdep_map+0xc7/0x170 [ 79.886474][ T5830] ? touch_wq_lockdep_map+0xb1/0x170 [ 79.886491][ T5830] __flush_workqueue+0x14a/0x1280 [ 79.886508][ T5830] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 79.886529][ T5830] ? __pfx___flush_workqueue+0x10/0x10 [ 79.886550][ T5830] ? mark_lock+0x9a/0x360 [ 79.886570][ T5830] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 79.886585][ T5830] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 79.886604][ T5830] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 79.886618][ T5830] ? lockdep_hardirqs_on+0x99/0x150 [ 79.886636][ T5830] ? enable_work+0x2e3/0x360 [ 79.886654][ T5830] ? __pfx_enable_work+0x10/0x10 [ 79.886672][ T5830] ? _atomic_dec_and_lock+0x9a/0x130 [ 79.886690][ T5830] ? iput+0x3be/0xa50 [ 79.886710][ T5830] ocfs2_dismount_volume+0x202/0x910 [ 79.886734][ T5830] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 79.886757][ T5830] ? __pfx_evict_inodes+0x10/0x10 [ 79.886775][ T5830] ? __pfx_ocfs2_put_super+0x10/0x10 [ 79.886789][ T5830] generic_shutdown_super+0x139/0x2d0 [ 79.886811][ T5830] kill_block_super+0x44/0x90 [ 79.886825][ T5830] deactivate_locked_super+0xc4/0x130 [ 79.886846][ T5830] cleanup_mnt+0x41f/0x4b0 [ 79.886866][ T5830] ? lockdep_hardirqs_on+0x99/0x150 [ 79.886883][ T5830] task_work_run+0x24f/0x310 [ 79.886905][ T5830] ? __pfx_task_work_run+0x10/0x10 [ 79.886925][ T5830] ? do_exit+0xa25/0x28e0 [ 79.886942][ T5830] ? do_exit+0xa25/0x28e0 [ 79.886964][ T5830] do_exit+0xa2a/0x28e0 [ 79.886983][ T5830] ? __pfx_do_exit+0x10/0x10 [ 79.886999][ T5830] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 79.887017][ T5830] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 79.887037][ T5830] ? _raw_spin_unlock_irq+0x23/0x50 [ 79.887051][ T5830] ? lockdep_hardirqs_on+0x99/0x150 [ 79.887068][ T5830] do_group_exit+0x207/0x2c0 [ 79.887087][ T5830] __x64_sys_exit_group+0x3f/0x40 [ 79.887105][ T5830] x64_sys_call+0x26a8/0x26b0 [ 79.887120][ T5830] do_syscall_64+0xf3/0x230 [ 79.887139][ T5830] ? clear_bhb_loop+0x35/0x90 [ 79.887160][ T5830] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.887180][ T5830] RIP: 0033:0x7f2309e27b89 [ 79.887195][ T5830] Code: Unable to access opcode bytes at 0x7f2309e27b5f. [ 79.887201][ T5830] RSP: 002b:00007ffdfca6b8b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [pid 5830] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5830, si_uid=0, si_status=1, si_utime=5 /* 0.05 s */, si_stime=28 /* 0.28 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 79.887217][ T5830] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f2309e27