./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2304247108 <...> Warning: Permanently added '10.128.0.205' (ED25519) to the list of known hosts. execve("./syz-executor2304247108", ["./syz-executor2304247108"], 0x7ffd19f30a10 /* 10 vars */) = 0 brk(NULL) = 0x555594e54000 brk(0x555594e54d00) = 0x555594e54d00 arch_prctl(ARCH_SET_FS, 0x555594e54380) = 0 set_tid_address(0x555594e54650) = 5820 set_robust_list(0x555594e54660, 24) = 0 rseq(0x555594e54ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2304247108", 4096) = 28 getrandom("\x86\xb1\x1c\x7a\x62\x4e\xce\xb7", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555594e54d00 brk(0x555594e75d00) = 0x555594e75d00 brk(0x555594e76000) = 0x555594e76000 mprotect(0x7fa884838000, 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 5821 attached [pid 5821] set_robust_list(0x555594e54660, 24 [pid 5820] <... clone resumed>, child_tidptr=0x555594e54650) = 5821 [pid 5821] <... set_robust_list resumed>) = 0 [pid 5821] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5821] getppid() = 0 [pid 5821] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5821] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5821] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5821] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5821] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5821] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5821] unshare(CLONE_NEWNS) = 0 [pid 5821] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5821] unshare(CLONE_NEWIPC) = 0 [pid 5821] unshare(CLONE_NEWCGROUP) = 0 [pid 5821] unshare(CLONE_NEWUTS) = 0 [pid 5821] unshare(CLONE_SYSVSEM) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "16777216", 8) = 8 [pid 5821] close(3) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "536870912", 9) = 9 [pid 5821] close(3) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "1024", 4) = 4 [pid 5821] close(3) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "8192", 4) = 4 [pid 5821] close(3) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "1024", 4) = 4 [pid 5821] close(3) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "1024", 4) = 4 [pid 5821] close(3) = 0 [pid 5821] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5821] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5821] close(3) = 0 [pid 5821] getpid() = 1 [pid 5821] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 62.331330][ T5821] [ 62.331330][ T5821] which lock already depends on the new lock. [ 62.331330][ T5821] [ 62.341739][ T5821] [ 62.341739][ T5821] the existing dependency chain (in reverse order) is: [ 62.350747][ T5821] [ 62.350747][ T5821] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 62.359000][ T5821] lock_acquire+0x1ed/0x550 [ 62.364014][ T5821] down_read+0xb1/0xa40 [ 62.368691][ T5821] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 62.375148][ T5821] ocfs2_complete_recovery+0x17c1/0x25c0 [ 62.381321][ T5821] process_scheduled_works+0xabe/0x18e0 [ 62.387462][ T5821] worker_thread+0x870/0xd30 [ 62.392559][ T5821] kthread+0x7a9/0x920 [ 62.397137][ T5821] ret_from_fork+0x4b/0x80 [ 62.402062][ T5821] ret_from_fork_asm+0x1a/0x30 [ 62.407336][ T5821] [ 62.407336][ T5821] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 62.417508][ T5821] lock_acquire+0x1ed/0x550 [ 62.422522][ T5821] process_scheduled_works+0x9e4/0x18e0 [ 62.428572][ T5821] worker_thread+0x870/0xd30 [ 62.433666][ T5821] kthread+0x7a9/0x920 [ 62.438244][ T5821] ret_from_fork+0x4b/0x80 [ 62.443168][ T5821] ret_from_fork_asm+0x1a/0x30 [ 62.448438][ T5821] [ 62.448438][ T5821] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 62.456766][ T5821] validate_chain+0x18ef/0x5920 [ 62.462125][ T5821] __lock_acquire+0x1397/0x2100 [ 62.467486][ T5821] lock_acquire+0x1ed/0x550 [ 62.472497][ T5821] touch_wq_lockdep_map+0xc7/0x170 [ 62.478114][ T5821] __flush_workqueue+0x14a/0x1280 [ 62.483642][ T5821] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 62.489869][ T5821] ocfs2_dismount_volume+0x202/0x910 [ 62.495665][ T5821] generic_shutdown_super+0x139/0x2d0 [ 62.501543][ T5821] kill_block_super+0x44/0x90 [ 62.506727][ T5821] deactivate_locked_super+0xc4/0x130 [ 62.512620][ T5821] cleanup_mnt+0x41f/0x4b0 [ 62.517566][ T5821] task_work_run+0x24f/0x310 [ 62.522673][ T5821] do_exit+0xa2a/0x28e0 [ 62.527346][ T5821] do_group_exit+0x207/0x2c0 [ 62.532448][ T5821] __x64_sys_exit_group+0x3f/0x40 [ 62.537988][ T5821] x64_sys_call+0x26a8/0x26b0 [ 62.543179][ T5821] do_syscall_64+0xf3/0x230 [ 62.548199][ T5821] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 62.554603][ T5821] [ 62.554603][ T5821] other info that might help us debug this: [ 62.554603][ T5821] [ 62.564816][ T5821] Chain exists of: [ 62.564816][ T5821] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 62.564816][ T5821] [ 62.581758][ T5821] Possible unsafe locking scenario: [ 62.581758][ T5821] [ 62.589189][ T5821] CPU0 CPU1 [ 62.594539][ T5821] ---- ---- [ 62.599885][ T5821] lock(&type->s_umount_key#45); [ 62.604900][ T5821] lock((work_completion)(&journal->j_recovery_work)); [ 62.614339][ T5821] lock(&type->s_umount_key#45); [ 62.621877][ T5821] lock((wq_completion)ocfs2_wq); [ 62.626976][ T5821] [ 62.626976][ T5821] *** DEADLOCK *** [ 62.626976][ T5821] [ 62.635106][ T5821] 1 lock held by syz-executor230/5821: [ 62.640541][ T5821] #0: ffff88804c7900e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 62.650718][ T5821] [ 62.650718][ T5821] stack backtrace: [ 62.656627][ T5821] CPU: 1 UID: 0 PID: 5821 Comm: syz-executor230 Not tainted 6.14.0-rc5-syzkaller-00039-g848e07631744 #0 [ 62.656642][ T5821] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 62.656653][ T5821] Call Trace: [ 62.656660][ T5821] [ 62.656666][ T5821] dump_stack_lvl+0x241/0x360 [ 62.656681][ T5821] ? __pfx_dump_stack_lvl+0x10/0x10 [ 62.656693][ T5821] ? __pfx__printk+0x10/0x10 [ 62.656713][ T5821] print_circular_bug+0x13a/0x1b0 [ 62.656727][ T5821] check_noncircular+0x36a/0x4a0 [ 62.656739][ T5821] ? __lock_acquire+0x1397/0x2100 [ 62.656756][ T5821] ? __pfx_check_noncircular+0x10/0x10 [ 62.656768][ T5821] ? lockdep_lock+0x123/0x2b0 [ 62.656783][ T5821] ? mark_lock+0x9a/0x360 [ 62.656801][ T5821] validate_chain+0x18ef/0x5920 [ 62.656820][ T5821] ? __pfx_validate_chain+0x10/0x10 [ 62.656839][ T5821] ? debug_object_assert_init+0x2dd/0x4b0 [ 62.656855][ T5821] ? do_raw_spin_lock+0x14f/0x370 [ 62.656868][ T5821] ? __pfx_lock_release+0x10/0x10 [ 62.656885][ T5821] ? mark_lock+0x9a/0x360 [ 62.656906][ T5821] __lock_acquire+0x1397/0x2100 [ 62.656923][ T5821] ? kfree+0x196/0x430 [ 62.656940][ T5821] ? ocfs2_dismount_volume+0x1bd/0x910 [ 62.656960][ T5821] lock_acquire+0x1ed/0x550 [ 62.656975][ T5821] ? touch_wq_lockdep_map+0xb1/0x170 [ 62.656997][ T5821] ? __pfx_lock_acquire+0x10/0x10 [ 62.657011][ T5821] ? __asan_memset+0x23/0x50 [ 62.657025][ T5821] ? lockdep_init_map_type+0xa1/0x910 [ 62.657041][ T5821] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 62.657056][ T5821] ? __lock_acquire+0x1397/0x2100 [ 62.657074][ T5821] ? touch_wq_lockdep_map+0xb1/0x170 [ 62.657088][ T5821] touch_wq_lockdep_map+0xc7/0x170 [ 62.657103][ T5821] ? touch_wq_lockdep_map+0xb1/0x170 [ 62.657118][ T5821] __flush_workqueue+0x14a/0x1280 [ 62.657134][ T5821] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 62.657152][ T5821] ? __pfx___flush_workqueue+0x10/0x10 [ 62.657172][ T5821] ? mark_lock+0x9a/0x360 [ 62.657189][ T5821] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 62.657207][ T5821] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 62.657223][ T5821] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 62.657241][ T5821] ? lockdep_hardirqs_on+0x99/0x150 [ 62.657257][ T5821] ? enable_work+0x2e3/0x360 [ 62.657272][ T5821] ? __pfx_enable_work+0x10/0x10 [ 62.657287][ T5821] ? _atomic_dec_and_lock+0x9a/0x130 [ 62.657304][ T5821] ? iput+0x3be/0xa50 [ 62.657318][ T5821] ocfs2_dismount_volume+0x202/0x910 [ 62.657336][ T5821] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 62.657351][ T5821] ? __pfx_evict_inodes+0x10/0x10 [ 62.657365][ T5821] ? __pfx_ocfs2_put_super+0x10/0x10 [ 62.657380][ T5821] generic_shutdown_super+0x139/0x2d0 [ 62.657396][ T5821] kill_block_super+0x44/0x90 [ 62.657411][ T5821] deactivate_locked_super+0xc4/0x130 [ 62.657425][ T5821] cleanup_mnt+0x41f/0x4b0 [ 62.657438][ T5821] ? lockdep_hardirqs_on+0x99/0x150 [ 62.657454][ T5821] task_work_run+0x24f/0x310 [ 62.657467][ T5821] ? __pfx_task_work_run+0x10/0x10 [ 62.657477][ T5821] ? do_exit+0xa25/0x28e0 [ 62.657493][ T5821] ? do_exit+0xa25/0x28e0 [ 62.657508][ T5821] do_exit+0xa2a/0x28e0 [ 62.657525][ T5821] ? __pfx_do_exit+0x10/0x10 [ 62.657539][ T5821] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 62.657555][ T5821] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 62.657573][ T5821] ? _raw_spin_unlock_irq+0x23/0x50 [ 62.657586][ T5821] ? lockdep_hardirqs_on+0x99/0x150 [ 62.657601][ T5821] do_group_exit+0x207/0x2c0 [ 62.657618][ T5821] __x64_sys_exit_group+0x3f/0x40 [ 62.657633][ T5821] x64_sys_call+0x26a8/0x26b0 [ 62.657646][ T5821] do_syscall_64+0xf3/0x230 [ 62.657662][ T5821] ? clear_bhb_loop+0x35/0x90 [ 62.657680][ T5821] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 62.657699][ T5821] RIP: 0033:0x7fa8847bdc09 [ 62.657712][ T5821] Code: Unable to access opcode bytes at 0x7fa8847bdbdf. [ 62.657718][ T5821] RSP: 002b:00007ffdff879fc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 62.657732][ T5821] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fa8847bdc09 [ 62.657740][ T5821] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 62.657748][ T5821] RBP: 00007fa88483e2b0 R08: ffffffffffffffb8 R09: 0000000000004701 [ 62.657756][ T5821] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa88483e2b0 [pid 5821] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5821, si_uid=0, si_status=1, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 62.657764][ T5821] R13: 0000000000000000 R14: 00007fa88483f020 R15: 00007fa8847