Warning: Permanently added '10.128.10.2' (ED25519) to the list of known hosts. executing program [ 58.844614][ T3544] loop0: detected capacity change from 0 to 8192 [ 58.861189][ T3544] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 58.874360][ T3544] REISERFS (device loop0): found reiserfs format "3.6" with non-standard journal [ 58.884406][ T3544] REISERFS (device loop0): using ordered data mode [ 58.891099][ T3544] reiserfs: using flush barriers [ 58.901329][ T3544] 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 [ 58.918205][ T3544] REISERFS (device loop0): checking transaction log (loop0) [ 58.928187][ T3544] REISERFS (device loop0): Using tea hash to sort names [ 58.936428][ T3544] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 58.948088][ T3544] [ 58.950445][ T3544] ====================================================== [ 58.957497][ T3544] WARNING: possible circular locking dependency detected [ 58.964533][ T3544] 6.1.79-syzkaller #0 Not tainted [ 58.969565][ T3544] ------------------------------------------------------ [ 58.976672][ T3544] syz-executor182/3544 is trying to acquire lock: [ 58.983076][ T3544] ffff8880735282e0 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: vfs_setxattr+0x1dd/0x420 [ 58.992848][ T3544] [ 58.992848][ T3544] but task is already holding lock: [ 59.000203][ T3544] ffff888023684460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 [ 59.008993][ T3544] [ 59.008993][ T3544] which lock already depends on the new lock. [ 59.008993][ T3544] [ 59.019389][ T3544] [ 59.019389][ T3544] the existing dependency chain (in reverse order) is: [ 59.028392][ T3544] [ 59.028392][ T3544] -> #2 (sb_writers#9){.+.+}-{0:0}: [ 59.035779][ T3544] lock_acquire+0x1f8/0x5a0 [ 59.040814][ T3544] sb_start_write+0x4d/0x1c0 [ 59.045928][ T3544] mnt_want_write_file+0x5a/0x1f0 [ 59.051479][ T3544] reiserfs_ioctl+0x170/0x340 [ 59.056683][ T3544] __se_sys_ioctl+0xf1/0x160 [ 59.061805][ T3544] do_syscall_64+0x3d/0xb0 [ 59.066773][ T3544] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 59.073194][ T3544] [ 59.073194][ T3544] -> #1 (&sbi->lock){+.+.}-{3:3}: [ 59.080406][ T3544] lock_acquire+0x1f8/0x5a0 [ 59.085438][ T3544] __mutex_lock+0x132/0xd80 [ 59.090468][ T3544] reiserfs_write_lock+0x76/0xd0 [ 59.095926][ T3544] reiserfs_lookup+0x15c/0x4b0 [ 59.101217][ T3544] __lookup_slow+0x27e/0x3d0 [ 59.106333][ T3544] lookup_one_len+0x187/0x2d0 [ 59.111531][ T3544] reiserfs_lookup_privroot+0x85/0x1e0 [ 59.117508][ T3544] reiserfs_fill_super+0x21bd/0x2620 [ 59.123316][ T3544] mount_bdev+0x2c9/0x3f0 [ 59.128168][ T3544] legacy_get_tree+0xeb/0x180 [ 59.133371][ T3544] vfs_get_tree+0x88/0x270 [ 59.138322][ T3544] do_new_mount+0x2ba/0xb40 [ 59.143352][ T3544] __se_sys_mount+0x2d5/0x3c0 [ 59.148554][ T3544] do_syscall_64+0x3d/0xb0 [ 59.153497][ T3544] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 59.159928][ T3544] [ 59.159928][ T3544] -> #0 (&type->i_mutex_dir_key#6){+.+.}-{3:3}: [ 59.168366][ T3544] validate_chain+0x1661/0x5950 [ 59.173745][ T3544] __lock_acquire+0x125b/0x1f80 [ 59.179128][ T3544] lock_acquire+0x1f8/0x5a0 [ 59.184158][ T3544] down_write+0x36/0x60 [ 59.188836][ T3544] vfs_setxattr+0x1dd/0x420 [ 59.193870][ T3544] setxattr+0x250/0x2b0 [ 59.198546][ T3544] path_setxattr+0x1bc/0x2a0 [ 59.203655][ T3544] __x64_sys_setxattr+0xb7/0xd0 [ 59.209031][ T3544] do_syscall_64+0x3d/0xb0 [ 59.213977][ T3544] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 59.220396][ T3544] [ 59.220396][ T3544] other info that might help us debug this: [ 59.220396][ T3544] [ 59.230746][ T3544] Chain exists of: [ 59.230746][ T3544] &type->i_mutex_dir_key#6 --> &sbi->lock --> sb_writers#9 [ 59.230746][ T3544] [ 59.243879][ T3544] Possible unsafe locking scenario: [ 59.243879][ T3544] [ 59.251321][ T3544] CPU0 CPU1 [ 59.256684][ T3544] ---- ---- [ 59.262305][ T3544] lock(sb_writers#9); [ 59.266466][ T3544] lock(&sbi->lock); [ 59.272966][ T3544] lock(sb_writers#9); [ 59.279645][ T3544] lock(&type->i_mutex_dir_key#6); [ 59.284849][ T3544] [ 59.284849][ T3544] *** DEADLOCK *** [ 59.284849][ T3544] [ 59.292984][ T3544] 1 lock held by syz-executor182/3544: [ 59.298445][ T3544] #0: ffff888023684460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 [ 59.307597][ T3544] [ 59.307597][ T3544] stack backtrace: [ 59.313568][ T3544] CPU: 1 PID: 3544 Comm: syz-executor182 Not tainted 6.1.79-syzkaller #0 [ 59.322009][ T3544] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 [ 59.332073][ T3544] Call Trace: [ 59.335358][ T3544] [ 59.338291][ T3544] dump_stack_lvl+0x1e3/0x2cb [ 59.342994][ T3544] ? nf_tcp_handle_invalid+0x642/0x642 [ 59.348470][ T3544] ? print_circular_bug+0x12b/0x1a0 [ 59.353668][ T3544] check_noncircular+0x2fa/0x3b0 [ 59.358618][ T3544] ? add_chain_block+0x850/0x850 [ 59.363563][ T3544] ? lockdep_lock+0x11f/0x2a0 [ 59.368251][ T3544] ? add_chain_block+0x850/0x850 [ 59.373198][ T3544] ? _find_first_zero_bit+0xd0/0x100 [ 59.378490][ T3544] validate_chain+0x1661/0x5950 [ 59.383353][ T3544] ? lockdep_lock+0x2a0/0x2a0 [ 59.388043][ T3544] ? reacquire_held_locks+0x660/0x660 [ 59.393428][ T3544] ? reacquire_held_locks+0x660/0x660 [ 59.398814][ T3544] ? lockdep_unlock+0x165/0x300 [ 59.403669][ T3544] ? lockdep_lock+0x2a0/0x2a0 [ 59.408355][ T3544] ? lockdep_unlock+0x165/0x300 [ 59.413216][ T3544] ? mark_lock+0x9a/0x340 [ 59.417559][ T3544] __lock_acquire+0x125b/0x1f80 [ 59.422426][ T3544] lock_acquire+0x1f8/0x5a0 [ 59.426934][ T3544] ? vfs_setxattr+0x1dd/0x420 [ 59.431621][ T3544] ? read_lock_is_recursive+0x10/0x10 [ 59.437004][ T3544] ? __might_sleep+0xb0/0xb0 [ 59.441600][ T3544] down_write+0x36/0x60 [ 59.445802][ T3544] ? vfs_setxattr+0x1dd/0x420 [ 59.450512][ T3544] vfs_setxattr+0x1dd/0x420 [ 59.455044][ T3544] ? xattr_permission+0x4f0/0x4f0 [ 59.460089][ T3544] ? __might_fault+0xbd/0x110 [ 59.464779][ T3544] setxattr+0x250/0x2b0 [ 59.468961][ T3544] ? path_setxattr+0x2a0/0x2a0 [ 59.473759][ T3544] ? __mnt_want_write+0x222/0x2a0 [ 59.478806][ T3544] path_setxattr+0x1bc/0x2a0 [ 59.483405][ T3544] ? simple_xattr_list_add+0xf0/0xf0 [ 59.488693][ T3544] ? syscall_enter_from_user_mode+0x2e/0x220 [ 59.494697][ T3544] __x64_sys_setxattr+0xb7/0xd0 [ 59.499573][ T3544] do_syscall_64+0x3d/0xb0 [ 59.504007][ T3544] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 59.510005][ T3544] RIP: 0033:0x7f983571e649 [ 59.514425][ T3544] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 59.534040][ T3544] RSP: 002b:00007fff56dd08e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc [ 59.542456][ T3544] RAX: ffffffffffffffda RBX: 00007fff56dd0a