Warning: Permanently added '10.128.0.176' (ED25519) to the list of known hosts. executing program [ 47.383856][ T6094] loop0: detected capacity change from 0 to 8192 [ 47.388644][ T6094] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 47.391967][ T6094] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 47.394289][ T6094] REISERFS (device loop0): using ordered data mode [ 47.395903][ T6094] reiserfs: using flush barriers [ 47.397763][ T6094] 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 [ 47.402011][ T6094] REISERFS (device loop0): checking transaction log (loop0) [ 47.406066][ T6094] REISERFS (device loop0): Using r5 hash to sort names [ 47.407973][ T6094] REISERFS (device loop0): using 3.5.x disk format [ 47.410216][ T6094] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 47.414658][ T6094] [ 47.415244][ T6094] ====================================================== [ 47.416970][ T6094] WARNING: possible circular locking dependency detected [ 47.418645][ T6094] 6.7.0-rc6-syzkaller-gaafe7ad77b91 #0 Not tainted [ 47.420205][ T6094] ------------------------------------------------------ [ 47.421941][ T6094] syz-executor238/6094 is trying to acquire lock: [ 47.423563][ T6094] ffff0000d4022418 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 47.425951][ T6094] [ 47.425951][ T6094] but task is already holding lock: [ 47.427821][ T6094] ffff0000cf429090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7c/0xe8 [ 47.430134][ T6094] [ 47.430134][ T6094] which lock already depends on the new lock. [ 47.430134][ T6094] [ 47.432765][ T6094] [ 47.432765][ T6094] the existing dependency chain (in reverse order) is: [ 47.435028][ T6094] [ 47.435028][ T6094] -> #2 (&sbi->lock){+.+.}-{3:3}: [ 47.436849][ T6094] __mutex_lock_common+0x190/0x21a0 [ 47.438287][ T6094] mutex_lock_nested+0x2c/0x38 [ 47.439634][ T6094] reiserfs_write_lock+0x7c/0xe8 [ 47.440991][ T6094] reiserfs_lookup+0x128/0x45c [ 47.442344][ T6094] __lookup_slow+0x250/0x374 [ 47.443633][ T6094] lookup_one_len+0x178/0x28c [ 47.444939][ T6094] reiserfs_lookup_privroot+0x8c/0x184 [ 47.446427][ T6094] reiserfs_fill_super+0x1bc0/0x2028 [ 47.447935][ T6094] mount_bdev+0x1e8/0x2b4 [ 47.449180][ T6094] get_super_block+0x44/0x58 [ 47.450483][ T6094] legacy_get_tree+0xd4/0x16c [ 47.451846][ T6094] vfs_get_tree+0x90/0x288 [ 47.453126][ T6094] do_new_mount+0x25c/0x8c8 [ 47.454355][ T6094] path_mount+0x590/0xe04 [ 47.455545][ T6094] __arm64_sys_mount+0x45c/0x594 [ 47.456919][ T6094] invoke_syscall+0x98/0x2b8 [ 47.458166][ T6094] el0_svc_common+0x130/0x23c [ 47.459479][ T6094] do_el0_svc+0x48/0x58 [ 47.460701][ T6094] el0_svc+0x54/0x158 [ 47.461819][ T6094] el0t_64_sync_handler+0x84/0xfc [ 47.463165][ T6094] el0t_64_sync+0x190/0x194 [ 47.464392][ T6094] [ 47.464392][ T6094] -> #1 (&type->i_mutex_dir_key#6){+.+.}-{3:3}: [ 47.466627][ T6094] down_write+0x50/0xc0 [ 47.467801][ T6094] path_openat+0x5f0/0x2888 [ 47.469087][ T6094] do_filp_open+0x1bc/0x3cc [ 47.470370][ T6094] do_sys_openat2+0x124/0x1b8 [ 47.471727][ T6094] __arm64_sys_openat+0x1f0/0x240 [ 47.473138][ T6094] invoke_syscall+0x98/0x2b8 [ 47.474395][ T6094] el0_svc_common+0x130/0x23c [ 47.475728][ T6094] do_el0_svc+0x48/0x58 [ 47.476868][ T6094] el0_svc+0x54/0x158 [ 47.478046][ T6094] el0t_64_sync_handler+0x84/0xfc [ 47.479449][ T6094] el0t_64_sync+0x190/0x194 [ 47.480665][ T6094] [ 47.480665][ T6094] -> #0 (sb_writers#8){.+.+}-{0:0}: [ 47.482380][ T6094] __lock_acquire+0x3384/0x763c [ 47.483700][ T6094] lock_acquire+0x23c/0x71c [ 47.485077][ T6094] sb_start_write+0x60/0x2ec [ 47.486328][ T6094] mnt_want_write_file+0x64/0x1e8 [ 47.487709][ T6094] reiserfs_ioctl+0x188/0x42c [ 47.489015][ T6094] __arm64_sys_ioctl+0x14c/0x1c8 [ 47.490469][ T6094] invoke_syscall+0x98/0x2b8 [ 47.491718][ T6094] el0_svc_common+0x130/0x23c [ 47.493023][ T6094] do_el0_svc+0x48/0x58 [ 47.494250][ T6094] el0_svc+0x54/0x158 [ 47.495438][ T6094] el0t_64_sync_handler+0x84/0xfc [ 47.496819][ T6094] el0t_64_sync+0x190/0x194 [ 47.498070][ T6094] [ 47.498070][ T6094] other info that might help us debug this: [ 47.498070][ T6094] [ 47.500613][ T6094] Chain exists of: [ 47.500613][ T6094] sb_writers#8 --> &type->i_mutex_dir_key#6 --> &sbi->lock [ 47.500613][ T6094] [ 47.503958][ T6094] Possible unsafe locking scenario: [ 47.503958][ T6094] [ 47.505782][ T6094] CPU0 CPU1 [ 47.507173][ T6094] ---- ---- [ 47.508550][ T6094] lock(&sbi->lock); [ 47.509551][ T6094] lock(&type->i_mutex_dir_key#6); [ 47.511447][ T6094] lock(&sbi->lock); [ 47.513084][ T6094] rlock(sb_writers#8); [ 47.514156][ T6094] [ 47.514156][ T6094] *** DEADLOCK *** [ 47.514156][ T6094] [ 47.516168][ T6094] 1 lock held by syz-executor238/6094: [ 47.517552][ T6094] #0: ffff0000cf429090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7c/0xe8 [ 47.519890][ T6094] [ 47.519890][ T6094] stack backtrace: [ 47.521378][ T6094] CPU: 0 PID: 6094 Comm: syz-executor238 Not tainted 6.7.0-rc6-syzkaller-gaafe7ad77b91 #0 [ 47.523887][ T6094] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 47.526426][ T6094] Call trace: [ 47.527186][ T6094] dump_backtrace+0x1b8/0x1e4 [ 47.528338][ T6094] show_stack+0x2c/0x3c [ 47.529385][ T6094] dump_stack_lvl+0xd0/0x124 [ 47.530570][ T6094] dump_stack+0x1c/0x28 [ 47.531617][ T6094] print_circular_bug+0x150/0x1b8 [ 47.532860][ T6094] check_noncircular+0x310/0x404 [ 47.534119][ T6094] __lock_acquire+0x3384/0x763c [ 47.535318][ T6094] lock_acquire+0x23c/0x71c [ 47.536553][ T6094] sb_start_write+0x60/0x2ec [ 47.537739][ T6094] mnt_want_write_file+0x64/0x1e8 [ 47.539043][ T6094] reiserfs_ioctl+0x188/0x42c [ 47.540193][ T6094] __arm64_sys_ioctl+0x14c/0x1c8 [ 47.541435][ T6094] invoke_syscall+0x98/0x2b8 [ 47.542589][ T6094] el0_svc_common+0x130/0x23c [ 47.543764][ T6094] do_el0_svc+0x48/0x58 [ 47.544785][ T6094] el0_svc+0x54/0x158 [ 47.545795][ T6094] el0t_64_sync_handler+0x84/0xfc [ 47.547168][ T6094] el0t_64_sync+0x190/0x194