Warning: Permanently added '10.128.1.101' (ED25519) to the list of known hosts. executing program [ 40.149427][ T4019] loop0: detected capacity change from 0 to 8192 [ 40.233426][ T4019] REISERFS (device loop0): found reiserfs format "3.6" with non-standard journal [ 40.236010][ T4019] REISERFS (device loop0): using ordered data mode [ 40.237661][ T4019] reiserfs: using flush barriers [ 40.240094][ T4019] 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 [ 40.245174][ T4019] REISERFS (device loop0): checking transaction log (loop0) [ 40.291876][ T4019] REISERFS (device loop0): Using tea hash to sort names [ 40.294388][ T4019] REISERFS warning (device loop0): vs-13060 reiserfs_update_sd_size: stat data of object [1 2 0x0 SD] (nlink == 4) not found (pos 2) [ 40.298128][ T4019] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 40.323011][ T4019] [ 40.323652][ T4019] ====================================================== [ 40.325603][ T4019] WARNING: possible circular locking dependency detected [ 40.327431][ T4019] 5.15.180-syzkaller #0 Not tainted [ 40.328715][ T4019] ------------------------------------------------------ [ 40.330595][ T4019] syz-executor262/4019 is trying to acquire lock: [ 40.332362][ T4019] ffff0000ddd78980 (&type->i_mutex_dir_key#6/3){+.+.}-{3:3}, at: open_xa_dir+0x118/0x57c [ 40.335038][ T4019] [ 40.335038][ T4019] but task is already holding lock: [ 40.337010][ T4019] ffff0000c9970090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock_nested+0x68/0xd8 [ 40.339606][ T4019] [ 40.339606][ T4019] which lock already depends on the new lock. [ 40.339606][ T4019] [ 40.342397][ T4019] [ 40.342397][ T4019] the existing dependency chain (in reverse order) is: [ 40.344941][ T4019] [ 40.344941][ T4019] -> #1 (&sbi->lock){+.+.}-{3:3}: [ 40.346944][ T4019] __mutex_lock_common+0x194/0x1edc [ 40.348470][ T4019] mutex_lock_nested+0xac/0x11c [ 40.349901][ T4019] reiserfs_write_lock+0x7c/0xe8 [ 40.351421][ T4019] reiserfs_mkdir+0x278/0x788 [ 40.352845][ T4019] open_xa_dir+0x284/0x57c [ 40.354120][ T4019] xattr_lookup+0x3c/0x268 [ 40.355473][ T4019] reiserfs_xattr_set_handle+0xd8/0xb34 [ 40.357113][ T4019] reiserfs_xattr_set+0x388/0x4a8 [ 40.358569][ T4019] trusted_set+0x98/0xec [ 40.359865][ T4019] __vfs_setxattr+0x388/0x3a4 [ 40.361210][ T4019] __vfs_setxattr_noperm+0x120/0x564 [ 40.362722][ T4019] __vfs_setxattr_locked+0x1ec/0x218 [ 40.364262][ T4019] vfs_setxattr+0x158/0x2ac [ 40.365559][ T4019] setxattr+0x248/0x2ac [ 40.366804][ T4019] __arm64_sys_fsetxattr+0x1a8/0x224 [ 40.368342][ T4019] invoke_syscall+0x98/0x2b8 [ 40.369660][ T4019] el0_svc_common+0x138/0x258 [ 40.370994][ T4019] do_el0_svc+0x58/0x14c [ 40.372287][ T4019] el0_svc+0x78/0x1e0 [ 40.373497][ T4019] el0t_64_sync_handler+0xcc/0xe4 [ 40.375003][ T4019] el0t_64_sync+0x1a0/0x1a4 [ 40.376360][ T4019] [ 40.376360][ T4019] -> #0 (&type->i_mutex_dir_key#6/3){+.+.}-{3:3}: [ 40.378832][ T4019] __lock_acquire+0x2928/0x651c [ 40.380294][ T4019] lock_acquire+0x1f4/0x620 [ 40.381595][ T4019] down_write_nested+0xc0/0x130 [ 40.383041][ T4019] open_xa_dir+0x118/0x57c [ 40.384441][ T4019] reiserfs_for_each_xattr+0x16c/0x68c [ 40.386092][ T4019] reiserfs_delete_xattrs+0x2c/0xa4 [ 40.387593][ T4019] reiserfs_evict_inode+0x1d8/0x3e8 [ 40.389163][ T4019] evict+0x3c8/0x810 [ 40.390349][ T4019] iput+0x6c4/0x77c [ 40.391485][ T4019] reiserfs_mknod+0x2c8/0x5a4 [ 40.392856][ T4019] vfs_mknod+0x3c4/0x44c [ 40.394141][ T4019] do_mknodat+0x3dc/0x5ac [ 40.395441][ T4019] __arm64_sys_mknodat+0xb0/0xcc [ 40.396816][ T4019] invoke_syscall+0x98/0x2b8 [ 40.398119][ T4019] el0_svc_common+0x138/0x258 [ 40.399435][ T4019] do_el0_svc+0x58/0x14c [ 40.400765][ T4019] el0_svc+0x78/0x1e0 [ 40.401973][ T4019] el0t_64_sync_handler+0xcc/0xe4 [ 40.403425][ T4019] el0t_64_sync+0x1a0/0x1a4 [ 40.404845][ T4019] [ 40.404845][ T4019] other info that might help us debug this: [ 40.404845][ T4019] [ 40.407571][ T4019] Possible unsafe locking scenario: [ 40.407571][ T4019] [ 40.409546][ T4019] CPU0 CPU1 [ 40.410996][ T4019] ---- ---- [ 40.412366][ T4019] lock(&sbi->lock); [ 40.413422][ T4019] lock(&type->i_mutex_dir_key#6/3); [ 40.415644][ T4019] lock(&sbi->lock); [ 40.417370][ T4019] lock(&type->i_mutex_dir_key#6/3); [ 40.418772][ T4019] [ 40.418772][ T4019] *** DEADLOCK *** [ 40.418772][ T4019] [ 40.420892][ T4019] 3 locks held by syz-executor262/4019: [ 40.422419][ T4019] #0: ffff0000cb48a460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 40.424936][ T4019] #1: ffff0000ddd782e0 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x1ac/0x39c [ 40.427789][ T4019] #2: ffff0000c9970090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock_nested+0x68/0xd8 [ 40.430461][ T4019] [ 40.430461][ T4019] stack backtrace: [ 40.432042][ T4019] CPU: 1 PID: 4019 Comm: syz-executor262 Not tainted 5.15.180-syzkaller #0 [ 40.434339][ T4019] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 40.437006][ T4019] Call trace: [ 40.437860][ T4019] dump_backtrace+0x0/0x43c [ 40.439059][ T4019] show_stack+0x2c/0x3c [ 40.440144][ T4019] __dump_stack+0x30/0x40 [ 40.441289][ T4019] dump_stack_lvl+0xf8/0x160 [ 40.442513][ T4019] dump_stack+0x1c/0x5c [ 40.443603][ T4019] print_circular_bug+0x148/0x1b0 [ 40.444867][ T4019] check_noncircular+0x240/0x2d4 [ 40.446166][ T4019] __lock_acquire+0x2928/0x651c [ 40.447459][ T4019] lock_acquire+0x1f4/0x620 [ 40.448630][ T4019] down_write_nested+0xc0/0x130 [ 40.449910][ T4019] open_xa_dir+0x118/0x57c [ 40.451128][ T4019] reiserfs_for_each_xattr+0x16c/0x68c [ 40.452539][ T4019] reiserfs_delete_xattrs+0x2c/0xa4 [ 40.453854][ T4019] reiserfs_evict_inode+0x1d8/0x3e8 [ 40.455184][ T4019] evict+0x3c8/0x810 [ 40.456205][ T4019] iput+0x6c4/0x77c [ 40.457208][ T4019] reiserfs_mknod+0x2c8/0x5a4 [ 40.458382][ T4019] vfs_mknod+0x3c4/0x44c [ 40.459489][ T4019] do_mknodat+0x3dc/0x5ac [ 40.460606][ T4019] __arm64_sys_mknodat+0xb0/0xcc [ 40.461894][ T4019] invoke_syscall+0x98/0x2b8 [ 40.463139][ T4019] el0_svc_common+0x138/0x258 [ 40.464337][ T4019] do_el0_svc+0x58/0x14c [ 40.465435][ T4019] el0_svc+0x78/0x1e0 [ 40.466493][ T4019] el0t_64_sync_handler+0xcc/0xe4 [ 40.467833][ T4019] el0t_64_sync+0x1a0/0x1a4