Warning: Permanently added '10.128.1.37' (ED25519) to the list of known hosts. executing program [ 34.791296][ T5970] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5970 'syz-executor558' [ 34.832446][ T5970] loop0: detected capacity change from 0 to 8192 [ 34.837403][ T5970] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 34.840269][ T5970] REISERFS (device loop0): found reiserfs format "3.6" with non-standard journal [ 34.842368][ T5970] REISERFS (device loop0): using ordered data mode [ 34.843804][ T5970] reiserfs: using flush barriers [ 34.846233][ T5970] 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 [ 34.849922][ T5970] REISERFS (device loop0): checking transaction log (loop0) [ 34.853231][ T5970] REISERFS (device loop0): Using tea hash to sort names [ 34.855368][ T5970] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 34.858551][ T5970] [ 34.859071][ T5970] ====================================================== [ 34.860478][ T5970] WARNING: possible circular locking dependency detected [ 34.861878][ T5970] 6.4.0-rc7-syzkaller-ge40939bbfc68 #0 Not tainted [ 34.863250][ T5970] ------------------------------------------------------ [ 34.864734][ T5970] syz-executor558/5970 is trying to acquire lock: [ 34.866126][ T5970] ffff0000e0a782e0 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: vfs_setxattr+0x17c/0x344 [ 34.868165][ T5970] [ 34.868165][ T5970] but task is already holding lock: [ 34.869721][ T5970] ffff0000c67ac460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 34.871548][ T5970] [ 34.871548][ T5970] which lock already depends on the new lock. [ 34.871548][ T5970] [ 34.873699][ T5970] [ 34.873699][ T5970] the existing dependency chain (in reverse order) is: [ 34.875759][ T5970] [ 34.875759][ T5970] -> #2 (sb_writers#8){.+.+}-{0:0}: [ 34.877281][ T5970] sb_start_write+0x60/0x2ec [ 34.878349][ T5970] mnt_want_write_file+0x64/0x1e8 [ 34.879545][ T5970] reiserfs_ioctl+0x184/0x454 [ 34.880654][ T5970] __arm64_sys_ioctl+0x14c/0x1c8 [ 34.881852][ T5970] invoke_syscall+0x98/0x2c0 [ 34.883041][ T5970] el0_svc_common+0x138/0x244 [ 34.884137][ T5970] do_el0_svc+0x64/0x198 [ 34.885145][ T5970] el0_svc+0x4c/0x160 [ 34.886060][ T5970] el0t_64_sync_handler+0x84/0xfc [ 34.887410][ T5970] el0t_64_sync+0x190/0x194 [ 34.888466][ T5970] [ 34.888466][ T5970] -> #1 (&sbi->lock){+.+.}-{3:3}: [ 34.890169][ T5970] __mutex_lock_common+0x190/0x21a0 [ 34.891427][ T5970] mutex_lock_nested+0x2c/0x38 [ 34.892630][ T5970] reiserfs_write_lock+0x7c/0xe8 [ 34.893839][ T5970] reiserfs_lookup+0x128/0x45c [ 34.895006][ T5970] __lookup_slow+0x250/0x374 [ 34.896089][ T5970] lookup_one_len+0x178/0x28c [ 34.897336][ T5970] reiserfs_lookup_privroot+0x8c/0x184 [ 34.898679][ T5970] reiserfs_fill_super+0x1bc0/0x2028 [ 34.900015][ T5970] mount_bdev+0x274/0x370 [ 34.901045][ T5970] get_super_block+0x44/0x58 [ 34.902159][ T5970] legacy_get_tree+0xd4/0x16c [ 34.903292][ T5970] vfs_get_tree+0x90/0x274 [ 34.904342][ T5970] do_new_mount+0x25c/0x8c4 [ 34.905466][ T5970] path_mount+0x590/0xe04 [ 34.906533][ T5970] __arm64_sys_mount+0x45c/0x594 [ 34.907648][ T5970] invoke_syscall+0x98/0x2c0 [ 34.908703][ T5970] el0_svc_common+0x138/0x244 [ 34.909769][ T5970] do_el0_svc+0x64/0x198 [ 34.910761][ T5970] el0_svc+0x4c/0x160 [ 34.911813][ T5970] el0t_64_sync_handler+0x84/0xfc [ 34.912963][ T5970] el0t_64_sync+0x190/0x194 [ 34.914084][ T5970] [ 34.914084][ T5970] -> #0 (&type->i_mutex_dir_key#6){+.+.}-{3:3}: [ 34.915853][ T5970] __lock_acquire+0x3308/0x7604 [ 34.917028][ T5970] lock_acquire+0x23c/0x71c [ 34.918140][ T5970] down_write+0x50/0xc0 [ 34.919208][ T5970] vfs_setxattr+0x17c/0x344 [ 34.920270][ T5970] setxattr+0x208/0x29c [ 34.921384][ T5970] path_setxattr+0x17c/0x258 [ 34.922533][ T5970] __arm64_sys_setxattr+0xbc/0xd8 [ 34.923743][ T5970] invoke_syscall+0x98/0x2c0 [ 34.924885][ T5970] el0_svc_common+0x138/0x244 [ 34.926015][ T5970] do_el0_svc+0x64/0x198 [ 34.927054][ T5970] el0_svc+0x4c/0x160 [ 34.927971][ T5970] el0t_64_sync_handler+0x84/0xfc [ 34.929150][ T5970] el0t_64_sync+0x190/0x194 [ 34.930169][ T5970] [ 34.930169][ T5970] other info that might help us debug this: [ 34.930169][ T5970] [ 34.932398][ T5970] Chain exists of: [ 34.932398][ T5970] &type->i_mutex_dir_key#6 --> &sbi->lock --> sb_writers#8 [ 34.932398][ T5970] [ 34.935141][ T5970] Possible unsafe locking scenario: [ 34.935141][ T5970] [ 34.936737][ T5970] CPU0 CPU1 [ 34.937881][ T5970] ---- ---- [ 34.939115][ T5970] rlock(sb_writers#8); [ 34.940032][ T5970] lock(&sbi->lock); [ 34.941468][ T5970] lock(sb_writers#8); [ 34.942850][ T5970] lock(&type->i_mutex_dir_key#6); [ 34.944009][ T5970] [ 34.944009][ T5970] *** DEADLOCK *** [ 34.944009][ T5970] [ 34.945746][ T5970] 1 lock held by syz-executor558/5970: [ 34.946925][ T5970] #0: ffff0000c67ac460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 34.948928][ T5970] [ 34.948928][ T5970] stack backtrace: [ 34.950075][ T5970] CPU: 1 PID: 5970 Comm: syz-executor558 Not tainted 6.4.0-rc7-syzkaller-ge40939bbfc68 #0 [ 34.952189][ T5970] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 34.954385][ T5970] Call trace: [ 34.955086][ T5970] dump_backtrace+0x1b8/0x1e4 [ 34.956075][ T5970] show_stack+0x2c/0x44 [ 34.957006][ T5970] dump_stack_lvl+0xd0/0x124 [ 34.958060][ T5970] dump_stack+0x1c/0x28 [ 34.959003][ T5970] print_circular_bug+0x150/0x1b8 [ 34.960094][ T5970] check_noncircular+0x2cc/0x378 [ 34.961129][ T5970] __lock_acquire+0x3308/0x7604 [ 34.962204][ T5970] lock_acquire+0x23c/0x71c [ 34.963185][ T5970] down_write+0x50/0xc0 [ 34.964181][ T5970] vfs_setxattr+0x17c/0x344 [ 34.965149][ T5970] setxattr+0x208/0x29c [ 34.966051][ T5970] path_setxattr+0x17c/0x258 [ 34.967076][ T5970] __arm64_sys_setxattr+0xbc/0xd8 [ 34.968178][ T5970] invoke_syscall+0x98/0x2c0 [ 34.969091][ T5970] el0_svc_common+0x138/0x244 [ 34.970107][ T5970] do_el0_svc+0x64/0x198 [ 34.971010][ T5970] el0_svc+0x4c/0x160 [ 34.971855][ T5970] el0t_64_sync_handler+0x84/0xfc [ 34.972935][ T5970] el0t_64_sync+0x190/0x194