Warning: Permanently added '10.128.1.6' (ED25519) to the list of known hosts. executing program [ 36.179008][ T4223] loop0: detected capacity change from 0 to 8192 [ 36.184743][ T4223] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 36.188111][ T4223] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 36.190557][ T4223] REISERFS (device loop0): using ordered data mode [ 36.192201][ T4223] reiserfs: using flush barriers [ 36.194263][ T4223] 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 [ 36.199349][ T4223] REISERFS (device loop0): checking transaction log (loop0) [ 36.202921][ T4223] REISERFS (device loop0): Using tea hash to sort names [ 36.205659][ T4223] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 36.209027][ T4223] [ 36.209689][ T4223] ====================================================== [ 36.211476][ T4223] WARNING: possible circular locking dependency detected [ 36.213175][ T4223] 6.1.80-syzkaller #0 Not tainted [ 36.214462][ T4223] ------------------------------------------------------ [ 36.216216][ T4223] syz-executor426/4223 is trying to acquire lock: [ 36.218005][ T4223] ffff80001dc890f0 (&journal->j_mutex){+.+.}-{3:3}, at: do_journal_begin_r+0x2e0/0xe40 [ 36.220600][ T4223] [ 36.220600][ T4223] but task is already holding lock: [ 36.222489][ T4223] ffff0000d7e5e460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 36.224969][ T4223] [ 36.224969][ T4223] which lock already depends on the new lock. [ 36.224969][ T4223] [ 36.227613][ T4223] [ 36.227613][ T4223] the existing dependency chain (in reverse order) is: [ 36.229873][ T4223] [ 36.229873][ T4223] -> #2 (sb_writers#8){.+.+}-{0:0}: [ 36.231763][ T4223] sb_start_write+0x7c/0x308 [ 36.233068][ T4223] mnt_want_write_file+0x64/0x1e8 [ 36.234496][ T4223] reiserfs_ioctl+0x184/0x454 [ 36.235891][ T4223] __arm64_sys_ioctl+0x14c/0x1c8 [ 36.237245][ T4223] invoke_syscall+0x98/0x2c0 [ 36.238622][ T4223] el0_svc_common+0x138/0x258 [ 36.239962][ T4223] do_el0_svc+0x64/0x218 [ 36.241198][ T4223] el0_svc+0x58/0x168 [ 36.242379][ T4223] el0t_64_sync_handler+0x84/0xf0 [ 36.243743][ T4223] el0t_64_sync+0x18c/0x190 [ 36.245012][ T4223] [ 36.245012][ T4223] -> #1 (&sbi->lock){+.+.}-{3:3}: [ 36.246887][ T4223] __mutex_lock_common+0x190/0x21a0 [ 36.248343][ T4223] mutex_lock_nested+0x38/0x44 [ 36.249703][ T4223] reiserfs_write_lock_nested+0x68/0xd8 [ 36.251282][ T4223] do_journal_begin_r+0x2ec/0xe40 [ 36.252747][ T4223] journal_begin+0x110/0x2f4 [ 36.253859][ T4223] reiserfs_fill_super+0x14e0/0x2028 [ 36.254906][ T4223] mount_bdev+0x274/0x370 [ 36.255784][ T4223] get_super_block+0x44/0x58 [ 36.256712][ T4223] legacy_get_tree+0xd4/0x16c [ 36.257712][ T4223] vfs_get_tree+0x90/0x274 [ 36.258724][ T4223] do_new_mount+0x278/0x8fc [ 36.260034][ T4223] path_mount+0x590/0xe5c [ 36.261205][ T4223] __arm64_sys_mount+0x45c/0x594 [ 36.262595][ T4223] invoke_syscall+0x98/0x2c0 [ 36.263924][ T4223] el0_svc_common+0x138/0x258 [ 36.265218][ T4223] do_el0_svc+0x64/0x218 [ 36.266361][ T4223] el0_svc+0x58/0x168 [ 36.267512][ T4223] el0t_64_sync_handler+0x84/0xf0 [ 36.268901][ T4223] el0t_64_sync+0x18c/0x190 [ 36.270161][ T4223] [ 36.270161][ T4223] -> #0 (&journal->j_mutex){+.+.}-{3:3}: [ 36.272115][ T4223] __lock_acquire+0x3338/0x7680 [ 36.273514][ T4223] lock_acquire+0x26c/0x7cc [ 36.274761][ T4223] __mutex_lock_common+0x190/0x21a0 [ 36.276225][ T4223] mutex_lock_nested+0x38/0x44 [ 36.277560][ T4223] do_journal_begin_r+0x2e0/0xe40 [ 36.278944][ T4223] journal_begin+0x110/0x2f4 [ 36.280244][ T4223] reiserfs_dirty_inode+0x104/0x204 [ 36.281736][ T4223] __mark_inode_dirty+0x2f8/0x1354 [ 36.283208][ T4223] reiserfs_ioctl+0x368/0x454 [ 36.284504][ T4223] __arm64_sys_ioctl+0x14c/0x1c8 [ 36.285916][ T4223] invoke_syscall+0x98/0x2c0 [ 36.287138][ T4223] el0_svc_common+0x138/0x258 [ 36.288461][ T4223] do_el0_svc+0x64/0x218 [ 36.289631][ T4223] el0_svc+0x58/0x168 [ 36.290816][ T4223] el0t_64_sync_handler+0x84/0xf0 [ 36.292287][ T4223] el0t_64_sync+0x18c/0x190 [ 36.293518][ T4223] [ 36.293518][ T4223] other info that might help us debug this: [ 36.293518][ T4223] [ 36.296126][ T4223] Chain exists of: [ 36.296126][ T4223] &journal->j_mutex --> &sbi->lock --> sb_writers#8 [ 36.296126][ T4223] [ 36.299363][ T4223] Possible unsafe locking scenario: [ 36.299363][ T4223] [ 36.301327][ T4223] CPU0 CPU1 [ 36.302682][ T4223] ---- ---- [ 36.304022][ T4223] lock(sb_writers#8); [ 36.305041][ T4223] lock(&sbi->lock); [ 36.306712][ T4223] lock(sb_writers#8); [ 36.308433][ T4223] lock(&journal->j_mutex); [ 36.309635][ T4223] [ 36.309635][ T4223] *** DEADLOCK *** [ 36.309635][ T4223] [ 36.311763][ T4223] 1 lock held by syz-executor426/4223: [ 36.313091][ T4223] #0: ffff0000d7e5e460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 36.315566][ T4223] [ 36.315566][ T4223] stack backtrace: [ 36.317034][ T4223] CPU: 1 PID: 4223 Comm: syz-executor426 Not tainted 6.1.80-syzkaller #0 [ 36.319109][ T4223] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 [ 36.321725][ T4223] Call trace: [ 36.322569][ T4223] dump_backtrace+0x1c8/0x1f4 [ 36.323750][ T4223] show_stack+0x2c/0x3c [ 36.324824][ T4223] dump_stack_lvl+0x108/0x170 [ 36.325939][ T4223] dump_stack+0x1c/0x58 [ 36.326980][ T4223] print_circular_bug+0x150/0x1b8 [ 36.328257][ T4223] check_noncircular+0x2cc/0x378 [ 36.329522][ T4223] __lock_acquire+0x3338/0x7680 [ 36.330758][ T4223] lock_acquire+0x26c/0x7cc [ 36.331925][ T4223] __mutex_lock_common+0x190/0x21a0 [ 36.333256][ T4223] mutex_lock_nested+0x38/0x44 [ 36.334453][ T4223] do_journal_begin_r+0x2e0/0xe40 [ 36.335696][ T4223] journal_begin+0x110/0x2f4 [ 36.336875][ T4223] reiserfs_dirty_inode+0x104/0x204 [ 36.338189][ T4223] __mark_inode_dirty+0x2f8/0x1354 [ 36.339455][ T4223] reiserfs_ioctl+0x368/0x454 [ 36.340711][ T4223] __arm64_sys_ioctl+0x14c/0x1c8 [ 36.341943][ T4223] invoke_syscall+0x98/0x2c0 [ 36.343101][ T4223] el0_svc_common+0x138/0x258 [ 36.344299][ T4223] do_el0_svc+0x64/0x218 [ 36.345395][ T4223] el0_svc+0x58/0x168 [ 36.346423][ T4223] el0t_64_sync_handler+0x84/0xf0 [ 36.347705][ T4223] el0t_64_sync+0x18c/0x190