Warning: Permanently added '10.128.10.4' (ED25519) to the list of known hosts. executing program [ 44.614549][ T4018] loop0: detected capacity change from 0 to 8192 [ 44.708056][ T4018] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 44.710026][ T4018] REISERFS (device loop0): using ordered data mode [ 44.711239][ T4018] reiserfs: using flush barriers [ 44.713116][ T4018] 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 [ 44.717053][ T4018] REISERFS (device loop0): checking transaction log (loop0) [ 44.720091][ T4018] REISERFS (device loop0): Using tea hash to sort names [ 44.722615][ T4018] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 44.727128][ T4018] [ 44.727590][ T4018] ====================================================== [ 44.729002][ T4018] WARNING: possible circular locking dependency detected [ 44.730385][ T4018] 5.15.176-syzkaller #0 Not tainted [ 44.731388][ T4018] ------------------------------------------------------ [ 44.732712][ T4018] syz-executor229/4018 is trying to acquire lock: [ 44.733980][ T4018] ffff80001fe190f0 (&journal->j_mutex){+.+.}-{3:3}, at: do_journal_begin_r+0x2e8/0xe3c [ 44.735909][ T4018] [ 44.735909][ T4018] but task is already holding lock: [ 44.737359][ T4018] ffff0000cd20a460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 44.739126][ T4018] [ 44.739126][ T4018] which lock already depends on the new lock. [ 44.739126][ T4018] [ 44.741254][ T4018] [ 44.741254][ T4018] the existing dependency chain (in reverse order) is: [ 44.743019][ T4018] [ 44.743019][ T4018] -> #2 (sb_writers#8){.+.+}-{0:0}: [ 44.744474][ T4018] sb_start_write+0xf0/0x3ac [ 44.745453][ T4018] mnt_want_write_file+0x64/0x1e8 [ 44.746535][ T4018] reiserfs_ioctl+0x188/0x4b8 [ 44.747538][ T4018] __arm64_sys_ioctl+0x14c/0x1c8 [ 44.748615][ T4018] invoke_syscall+0x98/0x2b8 [ 44.749608][ T4018] el0_svc_common+0x138/0x258 [ 44.750639][ T4018] do_el0_svc+0x58/0x14c [ 44.751550][ T4018] el0_svc+0x7c/0x1f0 [ 44.752396][ T4018] el0t_64_sync_handler+0x84/0xe4 [ 44.753514][ T4018] el0t_64_sync+0x1a0/0x1a4 [ 44.754464][ T4018] [ 44.754464][ T4018] -> #1 (&sbi->lock){+.+.}-{3:3}: [ 44.755851][ T4018] __mutex_lock_common+0x194/0x2154 [ 44.756937][ T4018] mutex_lock_nested+0xa4/0xf8 [ 44.757954][ T4018] reiserfs_write_lock_nested+0x68/0xd8 [ 44.759131][ T4018] do_journal_begin_r+0x2f4/0xe3c [ 44.760194][ T4018] journal_begin+0x110/0x2f4 [ 44.761221][ T4018] reiserfs_fill_super+0x13c0/0x1e8c [ 44.762362][ T4018] mount_bdev+0x274/0x370 [ 44.763286][ T4018] get_super_block+0x44/0x58 [ 44.764268][ T4018] legacy_get_tree+0xd4/0x16c [ 44.765280][ T4018] vfs_get_tree+0x90/0x274 [ 44.766231][ T4018] do_new_mount+0x278/0x8fc [ 44.767259][ T4018] path_mount+0x594/0x101c [ 44.768219][ T4018] __arm64_sys_mount+0x510/0x5e0 [ 44.769257][ T4018] invoke_syscall+0x98/0x2b8 [ 44.770266][ T4018] el0_svc_common+0x138/0x258 [ 44.771239][ T4018] do_el0_svc+0x58/0x14c [ 44.772140][ T4018] el0_svc+0x7c/0x1f0 [ 44.772998][ T4018] el0t_64_sync_handler+0x84/0xe4 [ 44.774077][ T4018] el0t_64_sync+0x1a0/0x1a4 [ 44.775035][ T4018] [ 44.775035][ T4018] -> #0 (&journal->j_mutex){+.+.}-{3:3}: [ 44.776547][ T4018] __lock_acquire+0x32d4/0x7638 [ 44.777585][ T4018] lock_acquire+0x240/0x77c [ 44.778624][ T4018] __mutex_lock_common+0x194/0x2154 [ 44.779723][ T4018] mutex_lock_nested+0xa4/0xf8 [ 44.780756][ T4018] do_journal_begin_r+0x2e8/0xe3c [ 44.781854][ T4018] journal_begin+0x110/0x2f4 [ 44.782806][ T4018] reiserfs_dirty_inode+0x104/0x204 [ 44.783906][ T4018] __mark_inode_dirty+0x2b0/0x10f4 [ 44.785057][ T4018] reiserfs_ioctl+0x3c0/0x4b8 [ 44.786060][ T4018] __arm64_sys_ioctl+0x14c/0x1c8 [ 44.787122][ T4018] invoke_syscall+0x98/0x2b8 [ 44.788070][ T4018] el0_svc_common+0x138/0x258 [ 44.789067][ T4018] do_el0_svc+0x58/0x14c [ 44.789960][ T4018] el0_svc+0x7c/0x1f0 [ 44.790803][ T4018] el0t_64_sync_handler+0x84/0xe4 [ 44.791969][ T4018] el0t_64_sync+0x1a0/0x1a4 [ 44.792962][ T4018] [ 44.792962][ T4018] other info that might help us debug this: [ 44.792962][ T4018] [ 44.794682][ T4018] Chain exists of: [ 44.794682][ T4018] &journal->j_mutex --> &sbi->lock --> sb_writers#8 [ 44.794682][ T4018] [ 44.796959][ T4018] Possible unsafe locking scenario: [ 44.796959][ T4018] [ 44.798353][ T4018] CPU0 CPU1 [ 44.799392][ T4018] ---- ---- [ 44.800413][ T4018] lock(sb_writers#8); [ 44.801219][ T4018] lock(&sbi->lock); [ 44.802521][ T4018] lock(sb_writers#8); [ 44.803842][ T4018] lock(&journal->j_mutex); [ 44.804722][ T4018] [ 44.804722][ T4018] *** DEADLOCK *** [ 44.804722][ T4018] [ 44.806320][ T4018] 1 lock held by syz-executor229/4018: [ 44.807355][ T4018] #0: ffff0000cd20a460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 44.809245][ T4018] [ 44.809245][ T4018] stack backtrace: [ 44.810392][ T4018] CPU: 1 PID: 4018 Comm: syz-executor229 Not tainted 5.15.176-syzkaller #0 [ 44.812059][ T4018] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 44.814028][ T4018] Call trace: [ 44.814654][ T4018] dump_backtrace+0x0/0x530 [ 44.815539][ T4018] show_stack+0x2c/0x3c [ 44.816338][ T4018] dump_stack_lvl+0x108/0x170 [ 44.817284][ T4018] dump_stack+0x1c/0x58 [ 44.818075][ T4018] print_circular_bug+0x150/0x1b8 [ 44.819051][ T4018] check_noncircular+0x2cc/0x378 [ 44.819983][ T4018] __lock_acquire+0x32d4/0x7638 [ 44.820960][ T4018] lock_acquire+0x240/0x77c [ 44.821807][ T4018] __mutex_lock_common+0x194/0x2154 [ 44.822810][ T4018] mutex_lock_nested+0xa4/0xf8 [ 44.823889][ T4018] do_journal_begin_r+0x2e8/0xe3c [ 44.824941][ T4018] journal_begin+0x110/0x2f4 [ 44.825847][ T4018] reiserfs_dirty_inode+0x104/0x204 [ 44.826900][ T4018] __mark_inode_dirty+0x2b0/0x10f4 [ 44.827922][ T4018] reiserfs_ioctl+0x3c0/0x4b8 [ 44.828839][ T4018] __arm64_sys_ioctl+0x14c/0x1c8 [ 44.829887][ T4018] invoke_syscall+0x98/0x2b8 [ 44.830910][ T4018] el0_svc_common+0x138/0x258 [ 44.831869][ T4018] do_el0_svc+0x58/0x14c [ 44.832749][ T4018] el0_svc+0x7c/0x1f0 [ 44.833484][ T4018] el0t_64_sync_handler+0x84/0xe4 [ 44.834457][ T4018] el0t_64_sync+0x1a0/0x1a4