Warning: Permanently added '10.128.1.113' (ED25519) to the list of known hosts. executing program [ 34.009593][ T6095] loop0: detected capacity change from 0 to 8192 [ 34.014366][ T6095] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 34.017265][ T6095] REISERFS (device loop0): found reiserfs format "3.6" with non-standard journal [ 34.019330][ T6095] REISERFS (device loop0): using ordered data mode [ 34.020775][ T6095] reiserfs: using flush barriers [ 34.022552][ T6095] 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.026287][ T6095] REISERFS (device loop0): checking transaction log (loop0) [ 34.056773][ T6095] REISERFS (device loop0): Using rupasov hash to sort names [ 34.059177][ T6095] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 34.064539][ T6095] [ 34.065088][ T6095] ====================================================== [ 34.066643][ T6095] WARNING: possible circular locking dependency detected [ 34.068150][ T6095] 6.7.0-rc8-syzkaller-g0802e17d9aca #0 Not tainted [ 34.069624][ T6095] ------------------------------------------------------ [ 34.071130][ T6095] syz-executor331/6095 is trying to acquire lock: [ 34.072563][ T6095] ffff0000deca0980 (&type->i_mutex_dir_key#6/3){+.+.}-{3:3}, at: open_xa_dir+0x11c/0x578 [ 34.074766][ T6095] [ 34.074766][ T6095] but task is already holding lock: [ 34.076413][ T6095] ffff0000ceb5c090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock_nested+0x68/0xd8 [ 34.078515][ T6095] [ 34.078515][ T6095] which lock already depends on the new lock. [ 34.078515][ T6095] [ 34.080793][ T6095] [ 34.080793][ T6095] the existing dependency chain (in reverse order) is: [ 34.082747][ T6095] [ 34.082747][ T6095] -> #1 (&sbi->lock){+.+.}-{3:3}: [ 34.084318][ T6095] __mutex_lock_common+0x190/0x21a0 [ 34.085627][ T6095] mutex_lock_nested+0x2c/0x38 [ 34.086810][ T6095] reiserfs_write_lock+0x7c/0xe8 [ 34.088017][ T6095] reiserfs_mkdir+0x280/0x77c [ 34.089140][ T6095] open_xa_dir+0x288/0x578 [ 34.090254][ T6095] xattr_lookup+0x3c/0x268 [ 34.091321][ T6095] reiserfs_xattr_set_handle+0xe0/0xe94 [ 34.092618][ T6095] reiserfs_security_write+0x13c/0x1d0 [ 34.093912][ T6095] reiserfs_new_inode+0x1084/0x1698 [ 34.095169][ T6095] reiserfs_create+0x33c/0x5a4 [ 34.096347][ T6095] path_openat+0xfb4/0x2888 [ 34.097442][ T6095] do_filp_open+0x1bc/0x3cc [ 34.098512][ T6095] do_sys_openat2+0x124/0x1b8 [ 34.099673][ T6095] __arm64_sys_openat+0x1f0/0x240 [ 34.100881][ T6095] invoke_syscall+0x98/0x2b8 [ 34.101979][ T6095] el0_svc_common+0x130/0x23c [ 34.103140][ T6095] do_el0_svc+0x48/0x58 [ 34.104210][ T6095] el0_svc+0x54/0x158 [ 34.105177][ T6095] el0t_64_sync_handler+0x84/0xfc [ 34.106397][ T6095] el0t_64_sync+0x190/0x194 [ 34.107501][ T6095] [ 34.107501][ T6095] -> #0 (&type->i_mutex_dir_key#6/3){+.+.}-{3:3}: [ 34.109456][ T6095] __lock_acquire+0x3384/0x763c [ 34.110634][ T6095] lock_acquire+0x23c/0x71c [ 34.111726][ T6095] down_write_nested+0x58/0xcc [ 34.112889][ T6095] open_xa_dir+0x11c/0x578 [ 34.113946][ T6095] xattr_lookup+0x3c/0x268 [ 34.115054][ T6095] reiserfs_xattr_get+0xf0/0x96c [ 34.116328][ T6095] security_get+0x94/0xd0 [ 34.117368][ T6095] __vfs_getxattr+0x394/0x3c0 [ 34.118496][ T6095] smk_fetch+0xc8/0x150 [ 34.119552][ T6095] smack_d_instantiate+0x594/0x880 [ 34.120775][ T6095] security_d_instantiate+0x98/0xf0 [ 34.122062][ T6095] d_instantiate_new+0x64/0x120 [ 34.123265][ T6095] reiserfs_create+0x520/0x5a4 [ 34.124392][ T6095] path_openat+0xfb4/0x2888 [ 34.125529][ T6095] do_filp_open+0x1bc/0x3cc [ 34.126627][ T6095] do_sys_openat2+0x124/0x1b8 [ 34.127799][ T6095] __arm64_sys_openat+0x1f0/0x240 [ 34.129026][ T6095] invoke_syscall+0x98/0x2b8 [ 34.130171][ T6095] el0_svc_common+0x130/0x23c [ 34.131283][ T6095] do_el0_svc+0x48/0x58 [ 34.132289][ T6095] el0_svc+0x54/0x158 [ 34.133271][ T6095] el0t_64_sync_handler+0x84/0xfc [ 34.134501][ T6095] el0t_64_sync+0x190/0x194 [ 34.135701][ T6095] [ 34.135701][ T6095] other info that might help us debug this: [ 34.135701][ T6095] [ 34.137985][ T6095] Possible unsafe locking scenario: [ 34.137985][ T6095] [ 34.139569][ T6095] CPU0 CPU1 [ 34.140696][ T6095] ---- ---- [ 34.141893][ T6095] lock(&sbi->lock); [ 34.142775][ T6095] lock(&type->i_mutex_dir_key#6/3); [ 34.144501][ T6095] lock(&sbi->lock); [ 34.145892][ T6095] lock(&type->i_mutex_dir_key#6/3); [ 34.147099][ T6095] [ 34.147099][ T6095] *** DEADLOCK *** [ 34.147099][ T6095] [ 34.148889][ T6095] 3 locks held by syz-executor331/6095: [ 34.150120][ T6095] #0: ffff0000d3c60418 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 34.152087][ T6095] #1: ffff0000deca02e0 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x5f0/0x2888 [ 34.154241][ T6095] #2: ffff0000ceb5c090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock_nested+0x68/0xd8 [ 34.156411][ T6095] [ 34.156411][ T6095] stack backtrace: [ 34.157711][ T6095] CPU: 1 PID: 6095 Comm: syz-executor331 Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 [ 34.159807][ T6095] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 34.161920][ T6095] Call trace: [ 34.162647][ T6095] dump_backtrace+0x1b8/0x1e4 [ 34.163651][ T6095] show_stack+0x2c/0x3c [ 34.164540][ T6095] dump_stack_lvl+0xd0/0x124 [ 34.165551][ T6095] dump_stack+0x1c/0x28 [ 34.166470][ T6095] print_circular_bug+0x150/0x1b8 [ 34.167623][ T6095] check_noncircular+0x310/0x404 [ 34.168674][ T6095] __lock_acquire+0x3384/0x763c [ 34.169697][ T6095] lock_acquire+0x23c/0x71c [ 34.170642][ T6095] down_write_nested+0x58/0xcc [ 34.171704][ T6095] open_xa_dir+0x11c/0x578 [ 34.172696][ T6095] xattr_lookup+0x3c/0x268 [ 34.173647][ T6095] reiserfs_xattr_get+0xf0/0x96c [ 34.174752][ T6095] security_get+0x94/0xd0 [ 34.175704][ T6095] __vfs_getxattr+0x394/0x3c0 [ 34.176702][ T6095] smk_fetch+0xc8/0x150 [ 34.177567][ T6095] smack_d_instantiate+0x594/0x880 [ 34.178641][ T6095] security_d_instantiate+0x98/0xf0 [ 34.179753][ T6095] d_instantiate_new+0x64/0x120 [ 34.180857][ T6095] reiserfs_create+0x520/0x5a4 [ 34.181896][ T6095] path_openat+0xfb4/0x2888 [ 34.182879][ T6095] do_filp_open+0x1bc/0x3cc [ 34.183889][ T6095] do_sys_openat2+0x124/0x1b8 [ 34.184890][ T6095] __arm64_sys_openat+0x1f0/0x240 [ 34.185965][ T6095] invoke_syscall+0x98/0x2b8 [ 34.186962][ T6095] el0_svc_common+0x130/0x23c [ 34.187971][ T6095] do_el0_svc+0x48/0x58 [ 34.188859][ T6095] el0_svc+0x54/0x158 [ 34.189718][ T6095] el0t_64_sync_handler+0x84/0xfc [ 34.190817][ T6095] el0t_64_sync+0x190/0x194 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program