Warning: Permanently added '10.128.0.99' (ED25519) to the list of known hosts. executing program syzkaller login: [ 38.065893][ T4290] loop0: detected capacity change from 0 to 8192 [ 38.070999][ T4290] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 38.073811][ T4290] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 38.075740][ T4290] REISERFS (device loop0): using ordered data mode [ 38.076981][ T4290] reiserfs: using flush barriers [ 38.078731][ T4290] 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.082205][ T4290] REISERFS (device loop0): checking transaction log (loop0) [ 38.087268][ T4290] REISERFS (device loop0): Using tea hash to sort names [ 38.089400][ T4290] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 38.092636][ T4290] [ 38.093157][ T4290] ====================================================== [ 38.094510][ T4290] WARNING: possible circular locking dependency detected [ 38.095887][ T4290] 6.1.119-syzkaller #0 Not tainted [ 38.096861][ T4290] ------------------------------------------------------ [ 38.098301][ T4290] syz-executor210/4290 is trying to acquire lock: [ 38.099523][ T4290] ffff8000210b90f0 (&journal->j_mutex){+.+.}-{3:3}, at: do_journal_begin_r+0x2e0/0xe40 [ 38.101618][ T4290] [ 38.101618][ T4290] but task is already holding lock: [ 38.103144][ T4290] ffff0000d4568460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 38.105033][ T4290] [ 38.105033][ T4290] which lock already depends on the new lock. [ 38.105033][ T4290] [ 38.107142][ T4290] [ 38.107142][ T4290] the existing dependency chain (in reverse order) is: [ 38.108995][ T4290] [ 38.108995][ T4290] -> #2 (sb_writers#8){.+.+}-{0:0}: [ 38.110504][ T4290] sb_start_write+0x7c/0x308 [ 38.111571][ T4290] mnt_want_write_file+0x64/0x1e8 [ 38.112678][ T4290] reiserfs_ioctl+0x184/0x454 [ 38.113721][ T4290] __arm64_sys_ioctl+0x14c/0x1c8 [ 38.114871][ T4290] invoke_syscall+0x98/0x2bc [ 38.115793][ T4290] el0_svc_common+0x138/0x258 [ 38.116928][ T4290] do_el0_svc+0x58/0x13c [ 38.118144][ T4290] el0_svc+0x58/0x168 [ 38.119081][ T4290] el0t_64_sync_handler+0x84/0xf0 [ 38.120250][ T4290] el0t_64_sync+0x18c/0x190 [ 38.121292][ T4290] [ 38.121292][ T4290] -> #1 (&sbi->lock){+.+.}-{3:3}: [ 38.122697][ T4290] __mutex_lock_common+0x190/0x21a0 [ 38.123923][ T4290] mutex_lock_nested+0x38/0x44 [ 38.125090][ T4290] reiserfs_write_lock_nested+0x68/0xd8 [ 38.126434][ T4290] do_journal_begin_r+0x2ec/0xe40 [ 38.127544][ T4290] journal_begin+0x110/0x2f4 [ 38.128575][ T4290] reiserfs_fill_super+0x14e0/0x2028 [ 38.129871][ T4290] mount_bdev+0x274/0x370 [ 38.130984][ T4290] get_super_block+0x44/0x58 [ 38.132092][ T4290] legacy_get_tree+0xd4/0x16c [ 38.133172][ T4290] vfs_get_tree+0x90/0x274 [ 38.134137][ T4290] do_new_mount+0x278/0x8fc [ 38.135276][ T4290] path_mount+0x590/0xe5c [ 38.136275][ T4290] __arm64_sys_mount+0x45c/0x594 [ 38.137434][ T4290] invoke_syscall+0x98/0x2bc [ 38.138560][ T4290] el0_svc_common+0x138/0x258 [ 38.139655][ T4290] do_el0_svc+0x58/0x13c [ 38.140675][ T4290] el0_svc+0x58/0x168 [ 38.141508][ T4290] el0t_64_sync_handler+0x84/0xf0 [ 38.142689][ T4290] el0t_64_sync+0x18c/0x190 [ 38.143733][ T4290] [ 38.143733][ T4290] -> #0 (&journal->j_mutex){+.+.}-{3:3}: [ 38.145406][ T4290] __lock_acquire+0x3338/0x7680 [ 38.146563][ T4290] lock_acquire+0x26c/0x7cc [ 38.147579][ T4290] __mutex_lock_common+0x190/0x21a0 [ 38.148697][ T4290] mutex_lock_nested+0x38/0x44 [ 38.149798][ T4290] do_journal_begin_r+0x2e0/0xe40 [ 38.151024][ T4290] journal_begin+0x110/0x2f4 [ 38.152077][ T4290] reiserfs_dirty_inode+0x104/0x204 [ 38.153313][ T4290] __mark_inode_dirty+0x2f8/0x1354 [ 38.154479][ T4290] reiserfs_ioctl+0x368/0x454 [ 38.155620][ T4290] __arm64_sys_ioctl+0x14c/0x1c8 [ 38.156728][ T4290] invoke_syscall+0x98/0x2bc [ 38.157901][ T4290] el0_svc_common+0x138/0x258 [ 38.159005][ T4290] do_el0_svc+0x58/0x13c [ 38.159960][ T4290] el0_svc+0x58/0x168 [ 38.160923][ T4290] el0t_64_sync_handler+0x84/0xf0 [ 38.162153][ T4290] el0t_64_sync+0x18c/0x190 [ 38.163364][ T4290] [ 38.163364][ T4290] other info that might help us debug this: [ 38.163364][ T4290] [ 38.165424][ T4290] Chain exists of: [ 38.165424][ T4290] &journal->j_mutex --> &sbi->lock --> sb_writers#8 [ 38.165424][ T4290] [ 38.168023][ T4290] Possible unsafe locking scenario: [ 38.168023][ T4290] [ 38.169632][ T4290] CPU0 CPU1 [ 38.170766][ T4290] ---- ---- [ 38.171937][ T4290] lock(sb_writers#8); [ 38.172775][ T4290] lock(&sbi->lock); [ 38.174028][ T4290] lock(sb_writers#8); [ 38.175414][ T4290] lock(&journal->j_mutex); [ 38.176298][ T4290] [ 38.176298][ T4290] *** DEADLOCK *** [ 38.176298][ T4290] [ 38.177932][ T4290] 1 lock held by syz-executor210/4290: [ 38.179132][ T4290] #0: ffff0000d4568460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 38.181283][ T4290] [ 38.181283][ T4290] stack backtrace: [ 38.182496][ T4290] CPU: 0 PID: 4290 Comm: syz-executor210 Not tainted 6.1.119-syzkaller #0 [ 38.184266][ T4290] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 38.186598][ T4290] Call trace: [ 38.187304][ T4290] dump_backtrace+0x1c8/0x1f4 [ 38.188216][ T4290] show_stack+0x2c/0x3c [ 38.189077][ T4290] dump_stack_lvl+0x108/0x170 [ 38.190067][ T4290] dump_stack+0x1c/0x58 [ 38.190949][ T4290] print_circular_bug+0x150/0x1b8 [ 38.191939][ T4290] check_noncircular+0x2cc/0x378 [ 38.192959][ T4290] __lock_acquire+0x3338/0x7680 [ 38.194009][ T4290] lock_acquire+0x26c/0x7cc [ 38.194884][ T4290] __mutex_lock_common+0x190/0x21a0 [ 38.195936][ T4290] mutex_lock_nested+0x38/0x44 [ 38.197019][ T4290] do_journal_begin_r+0x2e0/0xe40 [ 38.198081][ T4290] journal_begin+0x110/0x2f4 [ 38.199056][ T4290] reiserfs_dirty_inode+0x104/0x204 [ 38.200222][ T4290] __mark_inode_dirty+0x2f8/0x1354 [ 38.201302][ T4290] reiserfs_ioctl+0x368/0x454 [ 38.202254][ T4290] __arm64_sys_ioctl+0x14c/0x1c8 [ 38.203449][ T4290] invoke_syscall+0x98/0x2bc [ 38.204502][ T4290] el0_svc_common+0x138/0x258 [ 38.205511][ T4290] do_el0_svc+0x58/0x13c [ 38.206390][ T4290] el0_svc+0x58/0x168 [ 38.207257][ T4290] el0t_64_sync_handler+0x84/0xf0 [ 38.208333][ T4290] el0t_64_sync+0x18c/0x190