Warning: Permanently added '10.128.0.209' (ED25519) to the list of known hosts. executing program [ 45.027439][ T4023] loop0: detected capacity change from 0 to 8192 [ 45.062169][ T4023] ======================================================= [ 45.062169][ T4023] WARNING: The mand mount option has been deprecated and [ 45.062169][ T4023] and is ignored by this kernel. Remove the mand [ 45.062169][ T4023] option from the mount to silence this warning. [ 45.062169][ T4023] ======================================================= [ 45.092392][ T4023] REISERFS (device loop0): found reiserfs format "3.6" with non-standard journal [ 45.095118][ T4023] REISERFS (device loop0): using ordered data mode [ 45.096834][ T4023] reiserfs: using flush barriers [ 45.101765][ T4023] REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 45.106115][ T4023] REISERFS (device loop0): checking transaction log (loop0) [ 45.111104][ T4023] REISERFS (device loop0): Using r5 hash to sort names [ 45.115053][ T4023] REISERFS warning (device loop0): vs-13060 reiserfs_update_sd_size: stat data of object [1 2 0x0 SD] (nlink == 1) not found (pos 2) [ 45.118812][ T4023] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 45.122847][ T4023] [ 45.123451][ T4023] ====================================================== [ 45.125170][ T4023] WARNING: possible circular locking dependency detected [ 45.126961][ T4023] 5.15.178-syzkaller #0 Not tainted [ 45.128241][ T4023] ------------------------------------------------------ [ 45.130046][ T4023] syz-executor280/4023 is trying to acquire lock: [ 45.131689][ T4023] ffff0000d9537090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7c/0xe8 [ 45.134029][ T4023] [ 45.134029][ T4023] but task is already holding lock: [ 45.135891][ T4023] ffff0000ddec02e0 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 [ 45.138507][ T4023] [ 45.138507][ T4023] which lock already depends on the new lock. [ 45.138507][ T4023] [ 45.141181][ T4023] [ 45.141181][ T4023] the existing dependency chain (in reverse order) is: [ 45.143470][ T4023] [ 45.143470][ T4023] -> #2 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}: [ 45.145781][ T4023] down_write_nested+0xc0/0x130 [ 45.147204][ T4023] filename_create+0x204/0x468 [ 45.148616][ T4023] do_mkdirat+0xac/0x610 [ 45.149886][ T4023] __arm64_sys_mkdirat+0x90/0xa8 [ 45.151264][ T4023] invoke_syscall+0x98/0x2b8 [ 45.152557][ T4023] el0_svc_common+0x138/0x258 [ 45.153902][ T4023] do_el0_svc+0x58/0x14c [ 45.155129][ T4023] el0_svc+0x7c/0x1f0 [ 45.156260][ T4023] el0t_64_sync_handler+0x84/0xe4 [ 45.157683][ T4023] el0t_64_sync+0x1a0/0x1a4 [ 45.159021][ T4023] [ 45.159021][ T4023] -> #1 (sb_writers#8){.+.+}-{0:0}: [ 45.160916][ T4023] sb_start_write+0xf0/0x3ac [ 45.162316][ T4023] mnt_want_write_file+0x64/0x1e8 [ 45.163770][ T4023] reiserfs_ioctl+0x188/0x4b8 [ 45.165067][ T4023] __arm64_sys_ioctl+0x14c/0x1c8 [ 45.166421][ T4023] invoke_syscall+0x98/0x2b8 [ 45.167729][ T4023] el0_svc_common+0x138/0x258 [ 45.169045][ T4023] do_el0_svc+0x58/0x14c [ 45.170050][ T4023] el0_svc+0x7c/0x1f0 [ 45.171176][ T4023] el0t_64_sync_handler+0x84/0xe4 [ 45.172670][ T4023] el0t_64_sync+0x1a0/0x1a4 [ 45.174026][ T4023] [ 45.174026][ T4023] -> #0 (&sbi->lock){+.+.}-{3:3}: [ 45.176003][ T4023] __lock_acquire+0x32d4/0x7638 [ 45.177388][ T4023] lock_acquire+0x240/0x77c [ 45.178646][ T4023] __mutex_lock_common+0x194/0x2154 [ 45.180137][ T4023] mutex_lock_nested+0xa4/0xf8 [ 45.181519][ T4023] reiserfs_write_lock+0x7c/0xe8 [ 45.182970][ T4023] reiserfs_lookup+0x130/0x3c4 [ 45.184257][ T4023] lookup_one_qstr_excl+0x108/0x230 [ 45.185669][ T4023] filename_create+0x230/0x468 [ 45.187013][ T4023] do_mkdirat+0xac/0x610 [ 45.188189][ T4023] __arm64_sys_mkdirat+0x90/0xa8 [ 45.189554][ T4023] invoke_syscall+0x98/0x2b8 [ 45.190856][ T4023] el0_svc_common+0x138/0x258 [ 45.192180][ T4023] do_el0_svc+0x58/0x14c [ 45.193470][ T4023] el0_svc+0x7c/0x1f0 [ 45.194589][ T4023] el0t_64_sync_handler+0x84/0xe4 [ 45.196144][ T4023] el0t_64_sync+0x1a0/0x1a4 [ 45.197415][ T4023] [ 45.197415][ T4023] other info that might help us debug this: [ 45.197415][ T4023] [ 45.200161][ T4023] Chain exists of: [ 45.200161][ T4023] &sbi->lock --> sb_writers#8 --> &type->i_mutex_dir_key#6/1 [ 45.200161][ T4023] [ 45.203569][ T4023] Possible unsafe locking scenario: [ 45.203569][ T4023] [ 45.205511][ T4023] CPU0 CPU1 [ 45.206901][ T4023] ---- ---- [ 45.208269][ T4023] lock(&type->i_mutex_dir_key#6/1); [ 45.209597][ T4023] lock(sb_writers#8); [ 45.211312][ T4023] lock(&type->i_mutex_dir_key#6/1); [ 45.213327][ T4023] lock(&sbi->lock); [ 45.214325][ T4023] [ 45.214325][ T4023] *** DEADLOCK *** [ 45.214325][ T4023] [ 45.216526][ T4023] 2 locks held by syz-executor280/4023: [ 45.217941][ T4023] #0: ffff0000cc09a460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 45.220283][ T4023] #1: ffff0000ddec02e0 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 [ 45.223105][ T4023] [ 45.223105][ T4023] stack backtrace: [ 45.224576][ T4023] CPU: 1 PID: 4023 Comm: syz-executor280 Not tainted 5.15.178-syzkaller #0 [ 45.226786][ T4023] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 45.229322][ T4023] Call trace: [ 45.230135][ T4023] dump_backtrace+0x0/0x530 [ 45.231325][ T4023] show_stack+0x2c/0x3c [ 45.232425][ T4023] dump_stack_lvl+0x108/0x170 [ 45.233507][ T4023] dump_stack+0x1c/0x58 [ 45.234555][ T4023] print_circular_bug+0x150/0x1b8 [ 45.235881][ T4023] check_noncircular+0x2cc/0x378 [ 45.237139][ T4023] __lock_acquire+0x32d4/0x7638 [ 45.238410][ T4023] lock_acquire+0x240/0x77c [ 45.239540][ T4023] __mutex_lock_common+0x194/0x2154 [ 45.240839][ T4023] mutex_lock_nested+0xa4/0xf8 [ 45.241976][ T4023] reiserfs_write_lock+0x7c/0xe8 [ 45.243187][ T4023] reiserfs_lookup+0x130/0x3c4 [ 45.244440][ T4023] lookup_one_qstr_excl+0x108/0x230 [ 45.245750][ T4023] filename_create+0x230/0x468 [ 45.247017][ T4023] do_mkdirat+0xac/0x610 [ 45.248056][ T4023] __arm64_sys_mkdirat+0x90/0xa8 [ 45.249308][ T4023] invoke_syscall+0x98/0x2b8 [ 45.250495][ T4023] el0_svc_common+0x138/0x258 [ 45.251724][ T4023] do_el0_svc+0x58/0x14c [ 45.252816][ T4023] el0_svc+0x7c/0x1f0 [ 45.253914][ T4023] el0t_64_sync_handler+0x84/0xe4 [ 45.255204][ T4023] el0t_64_sync+0x1a0/0x1a4