Warning: Permanently added '10.128.0.66' (ED25519) to the list of known hosts. executing program syzkaller login: [ 38.347966][ T4221] loop0: detected capacity change from 0 to 8192 [ 38.353145][ T4221] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 38.357098][ T4221] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 38.359637][ T4221] REISERFS (device loop0): using ordered data mode [ 38.361239][ T4221] reiserfs: using flush barriers [ 38.363918][ T4221] 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 [ 38.369155][ T4221] REISERFS (device loop0): checking transaction log (loop0) [ 38.372925][ T4221] REISERFS (device loop0): Using tea hash to sort names [ 38.376144][ T4221] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 38.379664][ T4221] [ 38.380268][ T4221] ====================================================== [ 38.382104][ T4221] WARNING: possible circular locking dependency detected [ 38.383978][ T4221] 6.1.83-syzkaller #0 Not tainted [ 38.385250][ T4221] ------------------------------------------------------ [ 38.387149][ T4221] syz-executor250/4221 is trying to acquire lock: [ 38.388947][ T4221] ffff0000e20702e0 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: vfs_fileattr_set+0x110/0xad4 [ 38.391674][ T4221] [ 38.391674][ T4221] but task is already holding lock: [ 38.393562][ T4221] ffff0000de082460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 38.395932][ T4221] [ 38.395932][ T4221] which lock already depends on the new lock. [ 38.395932][ T4221] [ 38.398718][ T4221] [ 38.398718][ T4221] the existing dependency chain (in reverse order) is: [ 38.401030][ T4221] [ 38.401030][ T4221] -> #2 (sb_writers#8){.+.+}-{0:0}: [ 38.402951][ T4221] sb_start_write+0x7c/0x308 [ 38.404327][ T4221] mnt_want_write_file+0x64/0x1e8 [ 38.405793][ T4221] reiserfs_ioctl+0x184/0x454 [ 38.407240][ T4221] __arm64_sys_ioctl+0x14c/0x1c8 [ 38.408666][ T4221] invoke_syscall+0x98/0x2c0 [ 38.409974][ T4221] el0_svc_common+0x138/0x258 [ 38.411290][ T4221] do_el0_svc+0x64/0x218 [ 38.412544][ T4221] el0_svc+0x58/0x168 [ 38.413734][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 38.415176][ T4221] el0t_64_sync+0x18c/0x190 [ 38.416645][ T4221] [ 38.416645][ T4221] -> #1 (&sbi->lock){+.+.}-{3:3}: [ 38.418521][ T4221] __mutex_lock_common+0x190/0x21a0 [ 38.419938][ T4221] mutex_lock_nested+0x38/0x44 [ 38.421374][ T4221] reiserfs_write_lock+0x7c/0xe8 [ 38.422852][ T4221] reiserfs_lookup+0x130/0x3c4 [ 38.424332][ T4221] __lookup_slow+0x250/0x374 [ 38.425668][ T4221] lookup_one_len+0x178/0x28c [ 38.427055][ T4221] reiserfs_lookup_privroot+0x8c/0x204 [ 38.428630][ T4221] reiserfs_fill_super+0x1bc0/0x2028 [ 38.430215][ T4221] mount_bdev+0x274/0x370 [ 38.431444][ T4221] get_super_block+0x44/0x58 [ 38.432758][ T4221] legacy_get_tree+0xd4/0x16c [ 38.434136][ T4221] vfs_get_tree+0x90/0x274 [ 38.435356][ T4221] do_new_mount+0x278/0x8fc [ 38.436710][ T4221] path_mount+0x590/0xe5c [ 38.437942][ T4221] __arm64_sys_mount+0x45c/0x594 [ 38.439346][ T4221] invoke_syscall+0x98/0x2c0 [ 38.440650][ T4221] el0_svc_common+0x138/0x258 [ 38.442004][ T4221] do_el0_svc+0x64/0x218 [ 38.443312][ T4221] el0_svc+0x58/0x168 [ 38.444523][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 38.445977][ T4221] el0t_64_sync+0x18c/0x190 [ 38.447270][ T4221] [ 38.447270][ T4221] -> #0 (&type->i_mutex_dir_key#6){+.+.}-{3:3}: [ 38.449497][ T4221] __lock_acquire+0x3338/0x7680 [ 38.450882][ T4221] lock_acquire+0x26c/0x7cc [ 38.452202][ T4221] down_write+0x5c/0x88 [ 38.453398][ T4221] vfs_fileattr_set+0x110/0xad4 [ 38.454811][ T4221] do_vfs_ioctl+0x14cc/0x26f8 [ 38.456146][ T4221] __arm64_sys_ioctl+0xe4/0x1c8 [ 38.457574][ T4221] invoke_syscall+0x98/0x2c0 [ 38.460444][ T4221] el0_svc_common+0x138/0x258 [ 38.461727][ T4221] do_el0_svc+0x64/0x218 [ 38.462948][ T4221] el0_svc+0x58/0x168 [ 38.464128][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 38.465616][ T4221] el0t_64_sync+0x18c/0x190 [ 38.467027][ T4221] [ 38.467027][ T4221] other info that might help us debug this: [ 38.467027][ T4221] [ 38.469675][ T4221] Chain exists of: [ 38.469675][ T4221] &type->i_mutex_dir_key#6 --> &sbi->lock --> sb_writers#8 [ 38.469675][ T4221] [ 38.473073][ T4221] Possible unsafe locking scenario: [ 38.473073][ T4221] [ 38.475064][ T4221] CPU0 CPU1 [ 38.476457][ T4221] ---- ---- [ 38.477857][ T4221] lock(sb_writers#8); [ 38.478929][ T4221] lock(&sbi->lock); [ 38.480543][ T4221] lock(sb_writers#8); [ 38.482287][ T4221] lock(&type->i_mutex_dir_key#6); [ 38.483673][ T4221] [ 38.483673][ T4221] *** DEADLOCK *** [ 38.483673][ T4221] [ 38.485756][ T4221] 1 lock held by syz-executor250/4221: [ 38.487166][ T4221] #0: ffff0000de082460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 38.489735][ T4221] [ 38.489735][ T4221] stack backtrace: [ 38.491285][ T4221] CPU: 0 PID: 4221 Comm: syz-executor250 Not tainted 6.1.83-syzkaller #0 [ 38.493415][ T4221] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 38.496061][ T4221] Call trace: [ 38.496905][ T4221] dump_backtrace+0x1c8/0x1f4 [ 38.498114][ T4221] show_stack+0x2c/0x3c [ 38.499195][ T4221] dump_stack_lvl+0x108/0x170 [ 38.500449][ T4221] dump_stack+0x1c/0x5c [ 38.501540][ T4221] print_circular_bug+0x150/0x1b8 [ 38.502835][ T4221] check_noncircular+0x2cc/0x378 [ 38.504149][ T4221] __lock_acquire+0x3338/0x7680 [ 38.505401][ T4221] lock_acquire+0x26c/0x7cc [ 38.506565][ T4221] down_write+0x5c/0x88 [ 38.507692][ T4221] vfs_fileattr_set+0x110/0xad4 [ 38.508954][ T4221] do_vfs_ioctl+0x14cc/0x26f8 [ 38.510204][ T4221] __arm64_sys_ioctl+0xe4/0x1c8 [ 38.511490][ T4221] invoke_syscall+0x98/0x2c0 [ 38.512717][ T4221] el0_svc_common+0x138/0x258 [ 38.513940][ T4221] do_el0_svc+0x64/0x218 [ 38.515104][ T4221] el0_svc+0x58/0x168 [ 38.516151][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 38.517540][ T4221] el0t_64_sync+0x18c/0x190