./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3313043646 <...> Warning: Permanently added '10.128.0.181' (ED25519) to the list of known hosts. execve("./syz-executor3313043646", ["./syz-executor3313043646"], 0x7ffcffc248d0 /* 10 vars */) = 0 brk(NULL) = 0x55556b6db000 brk(0x55556b6dbd00) = 0x55556b6dbd00 arch_prctl(ARCH_SET_FS, 0x55556b6db380) = 0 set_tid_address(0x55556b6db650) = 5826 set_robust_list(0x55556b6db660, 24) = 0 rseq(0x55556b6dbca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3313043646", 4096) = 28 getrandom("\x04\x66\xea\x3f\xc2\x8b\xfb\xba", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556b6dbd00 brk(0x55556b6fcd00) = 0x55556b6fcd00 brk(0x55556b6fd000) = 0x55556b6fd000 mprotect(0x7f0ac91ff000, 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 5827 attached , child_tidptr=0x55556b6db650) = 5827 [pid 5827] set_robust_list(0x55556b6db660, 24) = 0 [pid 5827] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5827] getppid() = 0 [pid 5827] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5827] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5827] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5827] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5827] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5827] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5827] unshare(CLONE_NEWNS) = 0 [pid 5827] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5827] unshare(CLONE_NEWIPC) = 0 [pid 5827] unshare(CLONE_NEWCGROUP) = 0 [pid 5827] unshare(CLONE_NEWUTS) = 0 [pid 5827] unshare(CLONE_SYSVSEM) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "16777216", 8) = 8 [pid 5827] close(3) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "536870912", 9) = 9 [pid 5827] close(3) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "1024", 4) = 4 [pid 5827] close(3) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "8192", 4) = 4 [pid 5827] close(3) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "1024", 4) = 4 [pid 5827] close(3) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "1024", 4) = 4 [pid 5827] close(3) = 0 [pid 5827] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5827] close(3) = 0 [pid 5827] getpid() = 1 [pid 5827] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 82.827829][ T5827] [ 82.827829][ T5827] which lock already depends on the new lock. [ 82.827829][ T5827] [ 82.838227][ T5827] [ 82.838227][ T5827] the existing dependency chain (in reverse order) is: [ 82.847258][ T5827] [ 82.847258][ T5827] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 82.855536][ T5827] lock_acquire+0x1ed/0x550 [ 82.860570][ T5827] down_read+0xb1/0xa40 [ 82.865260][ T5827] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 82.871684][ T5827] ocfs2_complete_recovery+0x17c1/0x25c0 [ 82.877844][ T5827] process_scheduled_works+0xa66/0x1840 [ 82.883927][ T5827] worker_thread+0x870/0xd30 [ 82.889038][ T5827] kthread+0x7a9/0x920 [ 82.893709][ T5827] ret_from_fork+0x4b/0x80 [ 82.898641][ T5827] ret_from_fork_asm+0x1a/0x30 [ 82.903940][ T5827] [ 82.903940][ T5827] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 82.914111][ T5827] lock_acquire+0x1ed/0x550 [ 82.919157][ T5827] process_scheduled_works+0x994/0x1840 [ 82.925244][ T5827] worker_thread+0x870/0xd30 [ 82.930367][ T5827] kthread+0x7a9/0x920 [ 82.934983][ T5827] ret_from_fork+0x4b/0x80 [ 82.939931][ T5827] ret_from_fork_asm+0x1a/0x30 [ 82.945216][ T5827] [ 82.945216][ T5827] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 82.953583][ T5827] validate_chain+0x18ef/0x5920 [ 82.958976][ T5827] __lock_acquire+0x1397/0x2100 [ 82.964363][ T5827] lock_acquire+0x1ed/0x550 [ 82.969476][ T5827] touch_wq_lockdep_map+0xc7/0x170 [ 82.975125][ T5827] __flush_workqueue+0x14a/0x1280 [ 82.980666][ T5827] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 82.986899][ T5827] ocfs2_dismount_volume+0x202/0x910 [ 82.992704][ T5827] generic_shutdown_super+0x139/0x2d0 [ 82.998592][ T5827] kill_block_super+0x44/0x90 [ 83.003780][ T5827] deactivate_locked_super+0xc4/0x130 [ 83.009674][ T5827] cleanup_mnt+0x41f/0x4b0 [ 83.014614][ T5827] task_work_run+0x24f/0x310 [ 83.019729][ T5827] do_exit+0xa2a/0x28e0 [ 83.024409][ T5827] do_group_exit+0x207/0x2c0 [ 83.029526][ T5827] __x64_sys_exit_group+0x3f/0x40 [ 83.035075][ T5827] x64_sys_call+0x26a8/0x26b0 [ 83.040324][ T5827] do_syscall_64+0xf3/0x230 [ 83.045355][ T5827] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 83.051775][ T5827] [ 83.051775][ T5827] other info that might help us debug this: [ 83.051775][ T5827] [ 83.061990][ T5827] Chain exists of: [ 83.061990][ T5827] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 83.061990][ T5827] [ 83.078863][ T5827] Possible unsafe locking scenario: [ 83.078863][ T5827] [ 83.086322][ T5827] CPU0 CPU1 [ 83.091688][ T5827] ---- ---- [ 83.097040][ T5827] lock(&type->s_umount_key#45); [ 83.102069][ T5827] lock((work_completion)(&journal->j_recovery_work)); [ 83.111519][ T5827] lock(&type->s_umount_key#45); [ 83.119067][ T5827] lock((wq_completion)ocfs2_wq); [ 83.124180][ T5827] [ 83.124180][ T5827] *** DEADLOCK *** [ 83.124180][ T5827] [ 83.132315][ T5827] 1 lock held by syz-executor331/5827: [ 83.137790][ T5827] #0: ffff88805c8a60e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 83.147998][ T5827] [ 83.147998][ T5827] stack backtrace: [ 83.153891][ T5827] CPU: 0 UID: 0 PID: 5827 Comm: syz-executor331 Not tainted 6.13.0-syzkaller-09793-g69b8923f5003 #0 [ 83.153907][ T5827] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 83.153919][ T5827] Call Trace: [ 83.153925][ T5827] [ 83.153932][ T5827] dump_stack_lvl+0x241/0x360 [ 83.153960][ T5827] ? __pfx_dump_stack_lvl+0x10/0x10 [ 83.153982][ T5827] ? __pfx__printk+0x10/0x10 [ 83.154010][ T5827] print_circular_bug+0x13a/0x1b0 [ 83.154033][ T5827] check_noncircular+0x36a/0x4a0 [ 83.154054][ T5827] ? __lock_acquire+0x1397/0x2100 [ 83.154072][ T5827] ? __pfx_check_noncircular+0x10/0x10 [ 83.154094][ T5827] ? lockdep_lock+0x123/0x2b0 [ 83.154110][ T5827] ? mark_lock+0x9a/0x360 [ 83.154131][ T5827] validate_chain+0x18ef/0x5920 [ 83.154159][ T5827] ? __pfx_validate_chain+0x10/0x10 [ 83.154187][ T5827] ? debug_object_assert_init+0x2dd/0x4b0 [ 83.154202][ T5827] ? do_raw_spin_lock+0x14f/0x370 [ 83.154216][ T5827] ? __pfx_lock_release+0x10/0x10 [ 83.154235][ T5827] ? mark_lock+0x9a/0x360 [ 83.154254][ T5827] __lock_acquire+0x1397/0x2100 [ 83.154274][ T5827] ? kfree+0x196/0x430 [ 83.154291][ T5827] ? ocfs2_dismount_volume+0x1bd/0x910 [ 83.154315][ T5827] lock_acquire+0x1ed/0x550 [ 83.154332][ T5827] ? touch_wq_lockdep_map+0xb1/0x170 [ 83.154351][ T5827] ? __pfx_lock_acquire+0x10/0x10 [ 83.154368][ T5827] ? __asan_memset+0x23/0x50 [ 83.154388][ T5827] ? lockdep_init_map_type+0xa1/0x910 [ 83.154406][ T5827] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 83.154423][ T5827] ? __lock_acquire+0x1397/0x2100 [ 83.154443][ T5827] ? touch_wq_lockdep_map+0xb1/0x170 [ 83.154459][ T5827] touch_wq_lockdep_map+0xc7/0x170 [ 83.154476][ T5827] ? touch_wq_lockdep_map+0xb1/0x170 [ 83.154493][ T5827] __flush_workqueue+0x14a/0x1280 [ 83.154510][ T5827] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 83.154531][ T5827] ? __pfx___flush_workqueue+0x10/0x10 [ 83.154553][ T5827] ? mark_lock+0x9a/0x360 [ 83.154572][ T5827] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 83.154588][ T5827] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 83.154606][ T5827] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 83.154621][ T5827] ? lockdep_hardirqs_on+0x99/0x150 [ 83.154638][ T5827] ? enable_work+0x2e3/0x360 [ 83.154656][ T5827] ? __pfx_enable_work+0x10/0x10 [ 83.154674][ T5827] ? _atomic_dec_and_lock+0x9a/0x130 [ 83.154692][ T5827] ? iput+0x3be/0xa50 [ 83.154712][ T5827] ocfs2_dismount_volume+0x202/0x910 [ 83.154736][ T5827] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 83.154759][ T5827] ? __pfx_evict_inodes+0x10/0x10 [ 83.154777][ T5827] ? __pfx_ocfs2_put_super+0x10/0x10 [ 83.154791][ T5827] generic_shutdown_super+0x139/0x2d0 [ 83.154813][ T5827] kill_block_super+0x44/0x90 [ 83.154844][ T5827] deactivate_locked_super+0xc4/0x130 [ 83.154866][ T5827] cleanup_mnt+0x41f/0x4b0 [ 83.154888][ T5827] ? lockdep_hardirqs_on+0x99/0x150 [ 83.154906][ T5827] task_work_run+0x24f/0x310 [ 83.154930][ T5827] ? __pfx_task_work_run+0x10/0x10 [ 83.154954][ T5827] do_exit+0xa2a/0x28e0 [ 83.154975][ T5827] ? __pfx_do_exit+0x10/0x10 [ 83.154992][ T5827] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 83.155017][ T5827] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 83.155038][ T5827] ? _raw_spin_unlock_irq+0x23/0x50 [ 83.155053][ T5827] ? lockdep_hardirqs_on+0x99/0x150 [ 83.155071][ T5827] do_group_exit+0x207/0x2c0 [ 83.155092][ T5827] __x64_sys_exit_group+0x3f/0x40 [ 83.155111][ T5827] x64_sys_call+0x26a8/0x26b0 [ 83.155127][ T5827] do_syscall_64+0xf3/0x230 [ 83.155146][ T5827] ? clear_bhb_loop+0x35/0x90 [ 83.155169][ T5827] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 83.155190][ T5827] RIP: 0033:0x7f0ac9184b89 [ 83.155205][ T5827] Code: Unable to access opcode bytes at 0x7f0ac9184b5f. [ 83.155213][ T5827] RSP: 002b:00007ffe031bd108 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 83.155228][ T5827] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f0ac9184b89 [ 83.155238][ T5827] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 83.155247][ T5827] RBP: 00007f0ac92052b0 R08: ffffffffffffffb8 R09: 0000000000004701 [ 83.155277][ T5827] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0ac92052b0 [ 83.155287][ T5827] R13: 0000000000000000 R14: 00007f0ac9206020 R15: 00007f0ac91530c0 [ 83.155303][ T5827] [pid 5827] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5827, si_uid=0, si_status=1, si_utime=3 /* 0.03 s */, si_stime=31 /* 0.31 s */} --- exit_group(0) = ? +++ exited with 0 +++ [