Warning: Permanently added '10.128.1.26' (ED25519) to the list of known hosts. executing program [ 35.414306][ T4221] loop0: detected capacity change from 0 to 8192 [ 35.420535][ T4221] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 35.424000][ T4221] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 35.426619][ T4221] REISERFS (device loop0): using ordered data mode [ 35.428769][ T4221] reiserfs: using flush barriers [ 35.431895][ 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 [ 35.436254][ T4221] REISERFS (device loop0): checking transaction log (loop0) [ 35.439960][ T4221] REISERFS (device loop0): Using tea hash to sort names [ 35.442357][ T4221] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 35.446359][ T4221] [ 35.446972][ T4221] ====================================================== [ 35.448898][ T4221] WARNING: possible circular locking dependency detected [ 35.450760][ T4221] 6.1.80-syzkaller #0 Not tainted [ 35.452172][ T4221] ------------------------------------------------------ [ 35.454102][ T4221] syz-executor317/4221 is trying to acquire lock: [ 35.455891][ T4221] ffff80001dc190f0 (&journal->j_mutex){+.+.}-{3:3}, at: do_journal_begin_r+0x2e0/0xe40 [ 35.458524][ T4221] [ 35.458524][ T4221] but task is already holding lock: [ 35.460548][ T4221] ffff0000d5148460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 35.463021][ T4221] [ 35.463021][ T4221] which lock already depends on the new lock. [ 35.463021][ T4221] [ 35.465827][ T4221] [ 35.465827][ T4221] the existing dependency chain (in reverse order) is: [ 35.468211][ T4221] [ 35.468211][ T4221] -> #2 (sb_writers#8){.+.+}-{0:0}: [ 35.470246][ T4221] sb_start_write+0x7c/0x308 [ 35.471605][ T4221] mnt_want_write_file+0x64/0x1e8 [ 35.473093][ T4221] reiserfs_ioctl+0x184/0x454 [ 35.474516][ T4221] __arm64_sys_ioctl+0x14c/0x1c8 [ 35.475964][ T4221] invoke_syscall+0x98/0x2c0 [ 35.477329][ T4221] el0_svc_common+0x138/0x258 [ 35.478868][ T4221] do_el0_svc+0x64/0x218 [ 35.480214][ T4221] el0_svc+0x58/0x168 [ 35.481450][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 35.483004][ T4221] el0t_64_sync+0x18c/0x190 [ 35.484357][ T4221] [ 35.484357][ T4221] -> #1 (&sbi->lock){+.+.}-{3:3}: [ 35.486295][ T4221] __mutex_lock_common+0x190/0x21a0 [ 35.487805][ T4221] mutex_lock_nested+0x38/0x44 [ 35.489201][ T4221] reiserfs_write_lock_nested+0x68/0xd8 [ 35.490831][ T4221] do_journal_begin_r+0x2ec/0xe40 [ 35.492304][ T4221] journal_begin+0x110/0x2f4 [ 35.493683][ T4221] reiserfs_fill_super+0x14e0/0x2028 [ 35.495258][ T4221] mount_bdev+0x274/0x370 [ 35.496589][ T4221] get_super_block+0x44/0x58 [ 35.497968][ T4221] legacy_get_tree+0xd4/0x16c [ 35.499441][ T4221] vfs_get_tree+0x90/0x274 [ 35.500841][ T4221] do_new_mount+0x278/0x8fc [ 35.502217][ T4221] path_mount+0x590/0xe5c [ 35.503544][ T4221] __arm64_sys_mount+0x45c/0x594 [ 35.505007][ T4221] invoke_syscall+0x98/0x2c0 [ 35.506384][ T4221] el0_svc_common+0x138/0x258 [ 35.507744][ T4221] do_el0_svc+0x64/0x218 [ 35.509074][ T4221] el0_svc+0x58/0x168 [ 35.510296][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 35.511842][ T4221] el0t_64_sync+0x18c/0x190 [ 35.513165][ T4221] [ 35.513165][ T4221] -> #0 (&journal->j_mutex){+.+.}-{3:3}: [ 35.515262][ T4221] __lock_acquire+0x3338/0x7680 [ 35.516711][ T4221] lock_acquire+0x26c/0x7cc [ 35.518088][ T4221] __mutex_lock_common+0x190/0x21a0 [ 35.519659][ T4221] mutex_lock_nested+0x38/0x44 [ 35.521083][ T4221] do_journal_begin_r+0x2e0/0xe40 [ 35.522589][ T4221] journal_begin+0x110/0x2f4 [ 35.523999][ T4221] reiserfs_dirty_inode+0x104/0x204 [ 35.525529][ T4221] __mark_inode_dirty+0x2f8/0x1354 [ 35.527048][ T4221] reiserfs_ioctl+0x368/0x454 [ 35.528482][ T4221] __arm64_sys_ioctl+0x14c/0x1c8 [ 35.529963][ T4221] invoke_syscall+0x98/0x2c0 [ 35.531356][ T4221] el0_svc_common+0x138/0x258 [ 35.532845][ T4221] do_el0_svc+0x64/0x218 [ 35.534144][ T4221] el0_svc+0x58/0x168 [ 35.535346][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 35.536859][ T4221] el0t_64_sync+0x18c/0x190 [ 35.538143][ T4221] [ 35.538143][ T4221] other info that might help us debug this: [ 35.538143][ T4221] [ 35.541030][ T4221] Chain exists of: [ 35.541030][ T4221] &journal->j_mutex --> &sbi->lock --> sb_writers#8 [ 35.541030][ T4221] [ 35.544439][ T4221] Possible unsafe locking scenario: [ 35.544439][ T4221] [ 35.546513][ T4221] CPU0 CPU1 [ 35.547968][ T4221] ---- ---- [ 35.549411][ T4221] lock(sb_writers#8); [ 35.550589][ T4221] lock(&sbi->lock); [ 35.552358][ T4221] lock(sb_writers#8); [ 35.554177][ T4221] lock(&journal->j_mutex); [ 35.555392][ T4221] [ 35.555392][ T4221] *** DEADLOCK *** [ 35.555392][ T4221] [ 35.557618][ T4221] 1 lock held by syz-executor317/4221: [ 35.559167][ T4221] #0: ffff0000d5148460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 35.561913][ T4221] [ 35.561913][ T4221] stack backtrace: [ 35.563557][ T4221] CPU: 0 PID: 4221 Comm: syz-executor317 Not tainted 6.1.80-syzkaller #0 [ 35.565863][ T4221] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 [ 35.568615][ T4221] Call trace: [ 35.569486][ T4221] dump_backtrace+0x1c8/0x1f4 [ 35.570782][ T4221] show_stack+0x2c/0x3c [ 35.571897][ T4221] dump_stack_lvl+0x108/0x170 [ 35.573168][ T4221] dump_stack+0x1c/0x58 [ 35.574391][ T4221] print_circular_bug+0x150/0x1b8 [ 35.575791][ T4221] check_noncircular+0x2cc/0x378 [ 35.577164][ T4221] __lock_acquire+0x3338/0x7680 [ 35.578479][ T4221] lock_acquire+0x26c/0x7cc [ 35.579722][ T4221] __mutex_lock_common+0x190/0x21a0 [ 35.581070][ T4221] mutex_lock_nested+0x38/0x44 [ 35.582361][ T4221] do_journal_begin_r+0x2e0/0xe40 [ 35.583759][ T4221] journal_begin+0x110/0x2f4 [ 35.585044][ T4221] reiserfs_dirty_inode+0x104/0x204 [ 35.586420][ T4221] __mark_inode_dirty+0x2f8/0x1354 [ 35.587775][ T4221] reiserfs_ioctl+0x368/0x454 [ 35.589002][ T4221] __arm64_sys_ioctl+0x14c/0x1c8 [ 35.590339][ T4221] invoke_syscall+0x98/0x2c0 [ 35.591637][ T4221] el0_svc_common+0x138/0x258 [ 35.592873][ T4221] do_el0_svc+0x64/0x218 [ 35.594004][ T4221] el0_svc+0x58/0x168 [ 35.595092][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 35.596451][ T4221] el0t_64_sync+0x18c/0x190