./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3862746915 <...> Warning: Permanently added '10.128.0.146' (ED25519) to the list of known hosts. execve("./syz-executor3862746915", ["./syz-executor3862746915"], 0x7ffd0af80050 /* 10 vars */) = 0 brk(NULL) = 0x555572ec8000 brk(0x555572ec8d00) = 0x555572ec8d00 arch_prctl(ARCH_SET_FS, 0x555572ec8380) = 0 set_tid_address(0x555572ec8650) = 5820 set_robust_list(0x555572ec8660, 24) = 0 rseq(0x555572ec8ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3862746915", 4096) = 28 getrandom("\x29\xbf\x4b\xe3\x2f\xfe\x2d\xd4", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555572ec8d00 brk(0x555572ee9d00) = 0x555572ee9d00 brk(0x555572eea000) = 0x555572eea000 mprotect(0x7f4d4cf1b000, 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 5821 attached , child_tidptr=0x555572ec8650) = 5821 [pid 5821] set_robust_list(0x555572ec8660, 24) = 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.964628][ T5821] [ 62.964628][ T5821] which lock already depends on the new lock. [ 62.964628][ T5821] [ 62.975024][ T5821] [ 62.975024][ T5821] the existing dependency chain (in reverse order) is: [ 62.984029][ T5821] [ 62.984029][ T5821] -> #2 (&type->s_umount_key#45){++++}-{4:4}: [ 62.992275][ T5821] lock_acquire+0x1ed/0x550 [ 62.997318][ T5821] down_read+0xb1/0xa40 [ 63.002016][ T5821] ocfs2_finish_quota_recovery+0x15c/0x22a0 [ 63.008424][ T5821] ocfs2_complete_recovery+0x17c1/0x25c0 [ 63.014562][ T5821] process_scheduled_works+0xa66/0x1840 [ 63.020610][ T5821] worker_thread+0x870/0xd30 [ 63.025715][ T5821] kthread+0x7a9/0x920 [ 63.030295][ T5821] ret_from_fork+0x4b/0x80 [ 63.035216][ T5821] ret_from_fork_asm+0x1a/0x30 [ 63.040480][ T5821] [ 63.040480][ T5821] -> #1 ((work_completion)(&journal->j_recovery_work)){+.+.}-{0:0}: [ 63.050631][ T5821] lock_acquire+0x1ed/0x550 [ 63.055657][ T5821] process_scheduled_works+0x994/0x1840 [ 63.061879][ T5821] worker_thread+0x870/0xd30 [ 63.066974][ T5821] kthread+0x7a9/0x920 [ 63.071547][ T5821] ret_from_fork+0x4b/0x80 [ 63.076462][ T5821] ret_from_fork_asm+0x1a/0x30 [ 63.081727][ T5821] [ 63.081727][ T5821] -> #0 ((wq_completion)ocfs2_wq){+.+.}-{0:0}: [ 63.090069][ T5821] validate_chain+0x18ef/0x5920 [ 63.095428][ T5821] __lock_acquire+0x1397/0x2100 [ 63.100786][ T5821] lock_acquire+0x1ed/0x550 [ 63.105799][ T5821] touch_wq_lockdep_map+0xc7/0x170 [ 63.111783][ T5821] __flush_workqueue+0x14a/0x1280 [ 63.117342][ T5821] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 63.123651][ T5821] ocfs2_dismount_volume+0x202/0x910 [ 63.129457][ T5821] generic_shutdown_super+0x139/0x2d0 [ 63.135364][ T5821] kill_block_super+0x44/0x90 [ 63.140551][ T5821] deactivate_locked_super+0xc4/0x130 [ 63.146425][ T5821] cleanup_mnt+0x41f/0x4b0 [ 63.151348][ T5821] task_work_run+0x24f/0x310 [ 63.156443][ T5821] do_exit+0xa2a/0x28e0 [ 63.161100][ T5821] do_group_exit+0x207/0x2c0 [ 63.166194][ T5821] __x64_sys_exit_group+0x3f/0x40 [ 63.171720][ T5821] x64_sys_call+0x26a8/0x26b0 [ 63.176898][ T5821] do_syscall_64+0xf3/0x230 [ 63.181940][ T5821] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 63.188357][ T5821] [ 63.188357][ T5821] other info that might help us debug this: [ 63.188357][ T5821] [ 63.198584][ T5821] Chain exists of: [ 63.198584][ T5821] (wq_completion)ocfs2_wq --> (work_completion)(&journal->j_recovery_work) --> &type->s_umount_key#45 [ 63.198584][ T5821] [ 63.215436][ T5821] Possible unsafe locking scenario: [ 63.215436][ T5821] [ 63.223028][ T5821] CPU0 CPU1 [ 63.228389][ T5821] ---- ---- [ 63.233768][ T5821] lock(&type->s_umount_key#45); [ 63.238912][ T5821] lock((work_completion)(&journal->j_recovery_work)); [ 63.248365][ T5821] lock(&type->s_umount_key#45); [ 63.255902][ T5821] lock((wq_completion)ocfs2_wq); [ 63.261010][ T5821] [ 63.261010][ T5821] *** DEADLOCK *** [ 63.261010][ T5821] [ 63.269133][ T5821] 1 lock held by syz-executor386/5821: [ 63.274566][ T5821] #0: ffff88807c79a0e0 (&type->s_umount_key#45){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 [ 63.284739][ T5821] [ 63.284739][ T5821] stack backtrace: [ 63.290619][ T5821] CPU: 0 UID: 0 PID: 5821 Comm: syz-executor386 Not tainted 6.14.0-rc1-syzkaller-00020-g0de63bb7d919 #0 [ 63.290631][ T5821] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 63.290640][ T5821] Call Trace: [ 63.290646][ T5821] [ 63.290651][ T5821] dump_stack_lvl+0x241/0x360 [ 63.290672][ T5821] ? __pfx_dump_stack_lvl+0x10/0x10 [ 63.290685][ T5821] ? __pfx__printk+0x10/0x10 [ 63.290700][ T5821] print_circular_bug+0x13a/0x1b0 [ 63.290715][ T5821] check_noncircular+0x36a/0x4a0 [ 63.290727][ T5821] ? __lock_acquire+0x1397/0x2100 [ 63.290739][ T5821] ? __pfx_check_noncircular+0x10/0x10 [ 63.290752][ T5821] ? lockdep_lock+0x123/0x2b0 [ 63.290762][ T5821] ? mark_lock+0x9a/0x360 [ 63.290774][ T5821] validate_chain+0x18ef/0x5920 [ 63.290791][ T5821] ? __pfx_validate_chain+0x10/0x10 [ 63.290808][ T5821] ? debug_object_assert_init+0x2dd/0x4b0 [ 63.290818][ T5821] ? do_raw_spin_lock+0x14f/0x370 [ 63.290826][ T5821] ? __pfx_lock_release+0x10/0x10 [ 63.290842][ T5821] ? mark_lock+0x9a/0x360 [ 63.290854][ T5821] __lock_acquire+0x1397/0x2100 [ 63.290865][ T5821] ? kfree+0x196/0x430 [ 63.290876][ T5821] ? ocfs2_dismount_volume+0x1bd/0x910 [ 63.290886][ T5821] lock_acquire+0x1ed/0x550 [ 63.290896][ T5821] ? touch_wq_lockdep_map+0xb1/0x170 [ 63.290908][ T5821] ? __pfx_lock_acquire+0x10/0x10 [ 63.290918][ T5821] ? __asan_memset+0x23/0x50 [ 63.290930][ T5821] ? lockdep_init_map_type+0xa1/0x910 [ 63.290941][ T5821] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 63.290951][ T5821] ? __lock_acquire+0x1397/0x2100 [ 63.290963][ T5821] ? touch_wq_lockdep_map+0xb1/0x170 [ 63.290973][ T5821] touch_wq_lockdep_map+0xc7/0x170 [ 63.290983][ T5821] ? touch_wq_lockdep_map+0xb1/0x170 [ 63.290993][ T5821] __flush_workqueue+0x14a/0x1280 [ 63.291004][ T5821] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 63.291016][ T5821] ? __pfx___flush_workqueue+0x10/0x10 [ 63.291029][ T5821] ? mark_lock+0x9a/0x360 [ 63.291040][ T5821] ocfs2_shutdown_local_alloc+0x109/0xa90 [ 63.291051][ T5821] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 63.291062][ T5821] ? __pfx_ocfs2_shutdown_local_alloc+0x10/0x10 [ 63.291071][ T5821] ? lockdep_hardirqs_on+0x99/0x150 [ 63.291082][ T5821] ? enable_work+0x2e3/0x360 [ 63.291093][ T5821] ? __pfx_enable_work+0x10/0x10 [ 63.291103][ T5821] ? _atomic_dec_and_lock+0x9a/0x130 [ 63.291115][ T5821] ? iput+0x3be/0xa50 [ 63.291127][ T5821] ocfs2_dismount_volume+0x202/0x910 [ 63.291136][ T5821] ? __pfx_ocfs2_dismount_volume+0x10/0x10 [ 63.291145][ T5821] ? __pfx_evict_inodes+0x10/0x10 [ 63.291156][ T5821] ? __pfx_ocfs2_put_super+0x10/0x10 [ 63.291165][ T5821] generic_shutdown_super+0x139/0x2d0 [ 63.291179][ T5821] kill_block_super+0x44/0x90 [ 63.291188][ T5821] deactivate_locked_super+0xc4/0x130 [ 63.291201][ T5821] cleanup_mnt+0x41f/0x4b0 [ 63.291217][ T5821] ? lockdep_hardirqs_on+0x99/0x150 [ 63.291228][ T5821] task_work_run+0x24f/0x310 [ 63.291241][ T5821] ? __pfx_task_work_run+0x10/0x10 [ 63.291252][ T5821] ? do_exit+0xa25/0x28e0 [ 63.291263][ T5821] ? do_exit+0xa25/0x28e0 [ 63.291274][ T5821] do_exit+0xa2a/0x28e0 [ 63.291285][ T5821] ? __pfx_do_exit+0x10/0x10 [ 63.291295][ T5821] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 63.291305][ T5821] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 63.291317][ T5821] ? _raw_spin_unlock_irq+0x23/0x50 [ 63.291327][ T5821] ? lockdep_hardirqs_on+0x99/0x150 [ 63.291338][ T5821] do_group_exit+0x207/0x2c0 [ 63.291349][ T5821] __x64_sys_exit_group+0x3f/0x40 [ 63.291360][ T5821] x64_sys_call+0x26a8/0x26b0 [ 63.291369][ T5821] do_syscall_64+0xf3/0x230 [ 63.291381][ T5821] ? clear_bhb_loop+0x35/0x90 [ 63.291394][ T5821] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 63.291406][ T5821] RIP: 0033:0x7f4d4cea0b89 [ 63.291417][ T5821] Code: Unable to access opcode bytes at 0x7f4d4cea0b5f. [ 63.291422][ T5821] RSP: 002b:00007ffd2ffac3e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 63.291432][ T5821] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f4d4cea0b89 [ 63.291438][ T5821] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 63.291444][ T5821] RBP: 00007f4d4cf212b0 R08: ffffffffffffffb8 R09: 0000000000004701 [ 63.291450][ T5821] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4d4cf212b0 [pid 5821] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5821, si_uid=0, si_status=1, si_utime=4 /* 0.04 s */, si_stime=28 /* 0.28 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 63.291455][ T5821] R13: 0000000000000000 R14: 00007f4d4cf22020 R15: 00007