Warning: Permanently added '10.128.10.19' (ED25519) to the list of known hosts. executing program [ 39.081571][ T4291] loop0: detected capacity change from 0 to 8192 [ 39.087142][ T4291] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 39.089852][ T4291] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 39.091788][ T4291] REISERFS (device loop0): using ordered data mode [ 39.093195][ T4291] reiserfs: using flush barriers [ 39.095648][ T4291] 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 [ 39.099539][ T4291] REISERFS (device loop0): checking transaction log (loop0) [ 39.103643][ T4291] REISERFS (device loop0): Using r5 hash to sort names [ 39.105849][ T4291] REISERFS (device loop0): using 3.5.x disk format [ 39.108621][ T4291] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 39.114987][ T4291] [ 39.115545][ T4291] ====================================================== [ 39.116983][ T4291] WARNING: possible circular locking dependency detected [ 39.118470][ T4291] 6.1.121-syzkaller #0 Tainted: G W [ 39.119897][ T4291] ------------------------------------------------------ [ 39.121346][ T4291] syz-executor322/4291 is trying to acquire lock: [ 39.122743][ T4291] ffff0000d9e08460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 39.124577][ T4291] [ 39.124577][ T4291] but task is already holding lock: [ 39.126121][ T4291] ffff0000d581f090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7c/0xe8 [ 39.128058][ T4291] [ 39.128058][ T4291] which lock already depends on the new lock. [ 39.128058][ T4291] [ 39.130354][ T4291] [ 39.130354][ T4291] the existing dependency chain (in reverse order) is: [ 39.132260][ T4291] [ 39.132260][ T4291] -> #2 (&sbi->lock){+.+.}-{3:3}: [ 39.133844][ T4291] __mutex_lock_common+0x190/0x21a0 [ 39.135209][ T4291] mutex_lock_nested+0x38/0x44 [ 39.136458][ T4291] reiserfs_write_lock+0x7c/0xe8 [ 39.137662][ T4291] reiserfs_lookup+0x130/0x3c4 [ 39.138811][ T4291] __lookup_slow+0x250/0x374 [ 39.139957][ T4291] lookup_one_len+0x178/0x28c [ 39.141137][ T4291] reiserfs_lookup_privroot+0x8c/0x204 [ 39.142493][ T4291] reiserfs_fill_super+0x1bc0/0x2028 [ 39.143784][ T4291] mount_bdev+0x274/0x370 [ 39.144766][ T4291] get_super_block+0x44/0x58 [ 39.145890][ T4291] legacy_get_tree+0xd4/0x16c [ 39.146949][ T4291] vfs_get_tree+0x90/0x274 [ 39.147979][ T4291] do_new_mount+0x278/0x8fc [ 39.149067][ T4291] path_mount+0x590/0xe5c [ 39.150032][ T4291] __arm64_sys_mount+0x45c/0x594 [ 39.151216][ T4291] invoke_syscall+0x98/0x2bc [ 39.152327][ T4291] el0_svc_common+0x138/0x258 [ 39.153446][ T4291] do_el0_svc+0x58/0x13c [ 39.154595][ T4291] el0_svc+0x58/0x168 [ 39.155450][ T4291] el0t_64_sync_handler+0x84/0xf0 [ 39.156386][ T4291] el0t_64_sync+0x18c/0x190 [ 39.157212][ T4291] [ 39.157212][ T4291] -> #1 (&type->i_mutex_dir_key#6){+.+.}-{3:3}: [ 39.158632][ T4291] down_write+0x5c/0x88 [ 39.159418][ T4291] path_openat+0x5ec/0x2548 [ 39.160317][ T4291] do_filp_open+0x1bc/0x3cc [ 39.161360][ T4291] do_sys_openat2+0x128/0x3e0 [ 39.162393][ T4291] __arm64_sys_openat+0x1f0/0x240 [ 39.163539][ T4291] invoke_syscall+0x98/0x2bc [ 39.164604][ T4291] el0_svc_common+0x138/0x258 [ 39.165657][ T4291] do_el0_svc+0x58/0x13c [ 39.166716][ T4291] el0_svc+0x58/0x168 [ 39.167659][ T4291] el0t_64_sync_handler+0x84/0xf0 [ 39.168839][ T4291] el0t_64_sync+0x18c/0x190 [ 39.169916][ T4291] [ 39.169916][ T4291] -> #0 (sb_writers#8){.+.+}-{0:0}: [ 39.171508][ T4291] __lock_acquire+0x3338/0x7680 [ 39.172683][ T4291] lock_acquire+0x26c/0x7cc [ 39.173704][ T4291] sb_start_write+0x7c/0x308 [ 39.174847][ T4291] mnt_want_write_file+0x64/0x1e8 [ 39.175981][ T4291] reiserfs_ioctl+0x184/0x454 [ 39.177028][ T4291] __arm64_sys_ioctl+0x14c/0x1c8 [ 39.178142][ T4291] invoke_syscall+0x98/0x2bc [ 39.179296][ T4291] el0_svc_common+0x138/0x258 [ 39.180609][ T4291] do_el0_svc+0x58/0x13c [ 39.181749][ T4291] el0_svc+0x58/0x168 [ 39.182677][ T4291] el0t_64_sync_handler+0x84/0xf0 [ 39.184021][ T4291] el0t_64_sync+0x18c/0x190 [ 39.185191][ T4291] [ 39.185191][ T4291] other info that might help us debug this: [ 39.185191][ T4291] [ 39.187323][ T4291] Chain exists of: [ 39.187323][ T4291] sb_writers#8 --> &type->i_mutex_dir_key#6 --> &sbi->lock [ 39.187323][ T4291] [ 39.190037][ T4291] Possible unsafe locking scenario: [ 39.190037][ T4291] [ 39.191605][ T4291] CPU0 CPU1 [ 39.192654][ T4291] ---- ---- [ 39.193847][ T4291] lock(&sbi->lock); [ 39.194831][ T4291] lock(&type->i_mutex_dir_key#6); [ 39.196753][ T4291] lock(&sbi->lock); [ 39.198217][ T4291] lock(sb_writers#8); [ 39.199229][ T4291] [ 39.199229][ T4291] *** DEADLOCK *** [ 39.199229][ T4291] [ 39.200976][ T4291] 1 lock held by syz-executor322/4291: [ 39.202143][ T4291] #0: ffff0000d581f090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7c/0xe8 [ 39.204042][ T4291] [ 39.204042][ T4291] stack backtrace: [ 39.205348][ T4291] CPU: 1 PID: 4291 Comm: syz-executor322 Tainted: G W 6.1.121-syzkaller #0 [ 39.207407][ T4291] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 39.209508][ T4291] Call trace: [ 39.210229][ T4291] dump_backtrace+0x1c8/0x1f4 [ 39.211216][ T4291] show_stack+0x2c/0x3c [ 39.212160][ T4291] dump_stack_lvl+0x108/0x170 [ 39.213139][ T4291] dump_stack+0x1c/0x58 [ 39.214090][ T4291] print_circular_bug+0x150/0x1b8 [ 39.215203][ T4291] check_noncircular+0x2cc/0x378 [ 39.216266][ T4291] __lock_acquire+0x3338/0x7680 [ 39.217527][ T4291] lock_acquire+0x26c/0x7cc [ 39.218378][ T4291] sb_start_write+0x7c/0x308 [ 39.219327][ T4291] mnt_want_write_file+0x64/0x1e8 [ 39.220358][ T4291] reiserfs_ioctl+0x184/0x454 [ 39.221298][ T4291] __arm64_sys_ioctl+0x14c/0x1c8 [ 39.222316][ T4291] invoke_syscall+0x98/0x2bc [ 39.223257][ T4291] el0_svc_common+0x138/0x258 [ 39.224198][ T4291] do_el0_svc+0x58/0x13c [ 39.225100][ T4291] el0_svc+0x58/0x168 [ 39.225939][ T4291] el0t_64_sync_handler+0x84/0xf0 [ 39.226910][ T4291] el0t_64_sync+0x18c/0x190