./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1924082100 <...> Warning: Permanently added '10.128.1.10' (ED25519) to the list of known hosts. execve("./syz-executor1924082100", ["./syz-executor1924082100"], 0x7ffd8aa83ea0 /* 10 vars */) = 0 brk(NULL) = 0x555592df1000 brk(0x555592df1d00) = 0x555592df1d00 arch_prctl(ARCH_SET_FS, 0x555592df1380) = 0 set_tid_address(0x555592df1650) = 5821 set_robust_list(0x555592df1660, 24) = 0 rseq(0x555592df1ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1924082100", 4096) = 28 getrandom("\xf7\xae\xc0\xbf\xe1\x6d\x39\x39", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555592df1d00 brk(0x555592e12d00) = 0x555592e12d00 brk(0x555592e13000) = 0x555592e13000 mprotect(0x7f157af7c000, 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, child_tidptr=0x555592df1650) = 5822 ./strace-static-x86_64: Process 5822 attached [pid 5822] set_robust_list(0x555592df1660, 24) = 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 [ 60.459271][ T5822] [ 60.459271][ T5822] which lock already depends on the new lock. [ 60.459271][ T5822] [ 60.470144][ T5822] [ 60.470144][ T5822] the existing dependency chain (in reverse order) is: [ 60.479331][ T5822] [ 60.479331][ T5822] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 60.489331][ T5822] lock_acquire+0x1ed/0x550 [ 60.494466][ T5822] down_read+0xb1/0xa40 [ 60.499198][ T5822] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 60.506146][ T5822] ocfs2_complete_recovery+0x17c1/0x25c0 [ 60.512308][ T5822] process_scheduled_works+0xabe/0x18e0 [ 60.518455][ T5822] worker_thread+0x870/0xd30 [ 60.523584][ T5822] kthread+0x7a9/0x920 [ 60.528199][ T5822] ret_from_fork+0x4b/0x80 [ 60.533146][ T5822] ret_from_fork_asm+0x1a/0x30 [ 60.538537][ T5822] [ 60.538537][ T5822] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 60.549493][ T5822] lock_acquire+0x1ed/0x550 [ 60.554717][ T5822] process_scheduled_works+0x9e4/0x18e0 [ 60.560768][ T5822] worker_thread+0x870/0xd30 [ 60.565919][ T5822] kthread+0x7a9/0x920 [ 60.570564][ T5822] ret_from_fork+0x4b/0x80 [ 60.575579][ T5822] ret_from_fork_asm+0x1a/0x30 [ 60.580968][ T5822] [ 60.580968][ T5822] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 60.589417][ T5822] validate_chain+0x18ef/0x5920 [ 60.595221][ T5822] __lock_acquire+0x1397/0x2100 [ 60.600599][ T5822] lock_acquire+0x1ed/0x550 [ 60.605846][ T5822] touch_wq_lockdep_map+0xc7/0x170 [ 60.611587][ T5822] __flush_workqueue+0x14a/0x1280 [ 60.617333][ T5822] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 60.624228][ T5822] ocfs2_dismount_volume+0x202/0x910 [ 60.630319][ T5822] generic_shutdown_super+0x139/0x2d0 [ 60.636829][ T5822] kill_block_super+0x44/0x90 [ 60.642140][ T5822] deactivate_locked_super+0xc4/0x130 [ 60.648199][ T5822] cleanup_mnt+0x41f/0x4b0 [ 60.653588][ T5822] task_work_run+0x24f/0x310 [ 60.659139][ T5822] do_exit+0xa2a/0x28e0 [ 60.663940][ T5822] do_group_exit+0x207/0x2c0 [ 60.669136][ T5822] __x64_sys_exit_group+0x3f/0x40 [ 60.676472][ T5822] x64_sys_call+0x26a8/0x26b0 [ 60.683442][ T5822] do_syscall_64+0xf3/0x230 [ 60.689192][ T5822] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 60.696664][ T5822] [ 60.696664][ T5822] other info that might help us debug this: [ 60.696664][ T5822] [ 60.707417][ T5822] Chain exists of: [ 60.707417][ T5822] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 60.707417][ T5822] [ 60.728157][ T5822] Possible unsafe locking scenario: [ 60.728157][ T5822] [ 60.736895][ T5822] CPU0 CPU1 [ 60.743960][ T5822] ---- ---- [ 60.750948][ T5822] lock(&type->s_umount_key#45); [ 60.759075][ T5822] lock((work_completion)(&journal->j_recovery_work)); [ 60.771398][ T5822] lock(&type->s_umount_key#45); [ 60.779737][ T5822] lock((wq_completion)ocfs2_wq); [ 60.784950][ T5822] [ 60.784950][ T5822] *** DEADLOCK *** [ 60.784950][ T5822] [ 60.795118][ T5822] 1 lock held by syz-executor192/5822: [ 60.802122][ T5822] #0: ffff88807b0ba0e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 60.813526][ T5822] [ 60.813526][ T5822] stack backtrace: [ 60.820383][ T5822] CPU: 1 UID: 0 PID: 5822 Comm: syz-executor192 Not tainted 6.14.0-rc4-syzkaller-00199-g76544811c850 #0 [ 60.820397][ T5822] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 60.820406][ T5822] Call Trace: [ 60.820414][ T5822] [ 60.820420][ T5822] dump_stack_lvl+0x241/0x360 [ 60.820434][ T5822] ? __pfx_dump_stack_lvl+0x10/0x10 [ 60.820442][ T5822] ? __pfx__printk+0x10/0x10 [ 60.820457][ T5822] print_circular_bug+0x13a/0x1b0 [ 60.820469][ T5822] check_noncircular+0x36a/0x4a0 [ 60.820477][ T5822] ? __lock_acquire+0x1397/0x2100 [ 60.820490][ T5822] ? __pfx_check_noncircular+0x10/0x10 [ 60.820499][ T5822] ? queued_spin_lock_slowpath+0x42/0x50 [ 60.820511][ T5822] ? lockdep_lock+0x1b0/0x2b0 [ 60.820522][ T5822] ? mark_lock+0x9a/0x360 [ 60.820535][ T5822] validate_chain+0x18ef/0x5920 [ 60.820548][ T5822] ? __pfx_validate_chain+0x10/0x10 [ 60.820562][ T5822] ? debug_object_assert_init+0x2dd/0x4b0 [ 60.820574][ T5822] ? do_raw_spin_lock+0x14f/0x370 [ 60.820583][ T5822] ? __pfx_lock_release+0x10/0x10 [ 60.820596][ T5822] ? mark_lock+0x9a/0x360 [ 60.820611][ T5822] __lock_acquire+0x1397/0x2100 [ 60.820623][ T5822] ? kfree+0x196/0x430 [ 60.820636][ T5822] ? ocfs2_dismount_volume+0x1bd/0x910 [ 60.820650][ T5822] lock_acquire+0x1ed/0x550 [ 60.820661][ T5822] ? touch_wq_lockdep_map+0xb1/0x170 [ 60.820675][ T5822] ? __pfx_lock_acquire+0x10/0x10 [ 60.820685][ T5822] ? __asan_memset+0x23/0x50 [ 60.820696][ T5822] ? lockdep_init_map_type+0xa1/0x910 [ 60.820707][ T5822] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 60.820718][ T5822] ? __lock_acquire+0x1397/0x2100 [ 60.820731][ T5822] ? touch_wq_lockdep_map+0xb1/0x170 [ 60.820742][ T5822] touch_wq_lockdep_map+0xc7/0x170 [ 60.820753][ T5822] ? touch_wq_lockdep_map+0xb1/0x170 [ 60.820764][ T5822] __flush_workqueue+0x14a/0x1280 [ 60.820775][ T5822] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 60.820788][ T5822] ? __pfx___flush_workqueue+0x10/0x10 [ 60.820802][ T5822] ? mark_lock+0x9a/0x360 [ 60.820815][ T5822] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 60.820828][ T5822] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 60.820840][ T5822] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 60.820874][ T5822] ? lockdep_hardirqs_on+0x99/0x150 [ 60.820886][ T5822] ? enable_work+0x2e3/0x360 [ 60.820897][ T5822] ? __pfx_enable_work+0x10/0x10 [ 60.820908][ T5822] ? _atomic_dec_and_lock+0x9a/0x130 [ 60.820921][ T5822] ? iput+0x3be/0xa50 [ 60.820931][ T5822] ocfs2_dismount_volume+0x202/0x910 [ 60.820943][ T5822] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 60.820954][ T5822] ? __pfx_evict_inodes+0x10/0x10 [ 60.820964][ T5822] ? __pfx_ocfs2_put_super+0x10/0x10 [ 60.820976][ T5822] generic_shutdown_super+0x139/0x2d0 [ 60.820987][ T5822] kill_block_super+0x44/0x90 [ 60.820998][ T5822] deactivate_locked_super+0xc4/0x130 [ 60.821009][ T5822] cleanup_mnt+0x41f/0x4b0 [ 60.821019][ T5822] ? lockdep_hardirqs_on+0x99/0x150 [ 60.821029][ T5822] task_work_run+0x24f/0x310 [ 60.821044][ T5822] ? __pfx_task_work_run+0x10/0x10 [ 60.821056][ T5822] ? do_exit+0xa25/0x28e0 [ 60.821068][ T5822] ? do_exit+0xa25/0x28e0 [ 60.821079][ T5822] do_exit+0xa2a/0x28e0 [ 60.821092][ T5822] ? __pfx_do_exit+0x10/0x10 [ 60.821103][ T5822] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 60.821115][ T5822] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 60.821127][ T5822] ? _raw_spin_unlock_irq+0x23/0x50 [ 60.821141][ T5822] ? lockdep_hardirqs_on+0x99/0x150 [ 60.821152][ T5822] do_group_exit+0x207/0x2c0 [ 60.821165][ T5822] __x64_sys_exit_group+0x3f/0x40 [ 60.821176][ T5822] x64_sys_call+0x26a8/0x26b0 [ 60.821186][ T5822] do_syscall_64+0xf3/0x230 [ 60.821198][ T5822] ? clear_bhb_loop+0x35/0x90 [ 60.821211][ T5822] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 60.821223][ T5822] RIP: 0033:0x7f157af01c09 [ 60.821234][ T5822] Code: Unable to access opcode bytes at 0x7f157af01bdf. [ 60.821239][ T5822] RSP: 002b:00007ffdb4aaf898 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 60.821249][ T5822] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f157af01c09 [pid 5822] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5822, si_uid=0, si_status=1, si_utime=2 /* 0.02 s */, si_stime=28 /* 0.28 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 60.821256][ T5822] RDX: 000000000000003c RSI: 00000000000000e7 R