Warning: Permanently added '10.128.1.152' (ED25519) to the list of known hosts. executing program [ 82.737990][ T29] audit: type=1800 audit(1734630108.079:2): pid=5829 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed comm="syz-executor381" name="dbroot" dev="configfs" ino=4902 res=0 errno=0 [ 82.738747][ T5829] [ 82.760687][ T5829] ============================================ [ 82.766825][ T5829] WARNING: possible recursive locking detected [ 82.772977][ T5829] 6.13.0-rc3-syzkaller-00073-geabcdba3ad40 #0 Not tainted [ 82.780080][ T5829] -------------------------------------------- [ 82.786220][ T5829] syz-executor381/5829 is trying to acquire lock: [ 82.792624][ T5829] ffff8880268ded78 (&p->frag_sem){.+.+}-{4:4}, at: __configfs_open_file+0xe8/0x9c0 [ 82.801968][ T5829] [ 82.801968][ T5829] but task is already holding lock: [ 82.809477][ T5829] ffff8880268ded78 (&p->frag_sem){.+.+}-{4:4}, at: configfs_write_iter+0x216/0x4b0 [ 82.818803][ T5829] [ 82.818803][ T5829] other info that might help us debug this: [ 82.826850][ T5829] Possible unsafe locking scenario: [ 82.826850][ T5829] [ 82.834288][ T5829] CPU0 [ 82.837569][ T5829] ---- [ 82.840841][ T5829] lock(&p->frag_sem); [ 82.844994][ T5829] lock(&p->frag_sem); [ 82.849157][ T5829] [ 82.849157][ T5829] *** DEADLOCK *** [ 82.849157][ T5829] [ 82.857303][ T5829] May be due to missing lock nesting notation [ 82.857303][ T5829] [ 82.865636][ T5829] 4 locks held by syz-executor381/5829: [ 82.871201][ T5829] #0: ffff88801e7f0420 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x12b/0x250 [ 82.880255][ T5829] #1: ffff888026d52688 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x75/0x4b0 [ 82.890130][ T5829] #2: ffff8880268ded78 (&p->frag_sem){.+.+}-{4:4}, at: configfs_write_iter+0x216/0x4b0 [ 82.899910][ T5829] #3: ffffffff8ee089c8 (target_devices_lock){+.+.}-{4:4}, at: target_core_item_dbroot_store+0x23/0x2e0 [ 82.911102][ T5829] [ 82.911102][ T5829] stack backtrace: [ 82.917002][ T5829] CPU: 1 UID: 0 PID: 5829 Comm: syz-executor381 Not tainted 6.13.0-rc3-syzkaller-00073-geabcdba3ad40 #0 [ 82.928147][ T5829] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 [ 82.938233][ T5829] Call Trace: [ 82.941518][ T5829] [ 82.944454][ T5829] dump_stack_lvl+0x116/0x1f0 [ 82.949174][ T5829] print_deadlock_bug+0x2e3/0x410 [ 82.954246][ T5829] __lock_acquire+0x2117/0x3c40 [ 82.959142][ T5829] ? __pfx___lock_acquire+0x10/0x10 [ 82.964371][ T5829] ? path_openat+0x1e6a/0x2d60 [ 82.969153][ T5829] ? do_filp_open+0x20c/0x470 [ 82.973852][ T5829] ? file_open_name+0x2a4/0x450 [ 82.978731][ T5829] ? filp_open+0x4b/0x80 [ 82.983002][ T5829] ? target_core_item_dbroot_store+0x10d/0x2e0 [ 82.989176][ T5829] ? configfs_write_iter+0x2f6/0x4b0 [ 82.994477][ T5829] ? vfs_write+0x5ae/0x1150 [ 82.998990][ T5829] ? ksys_write+0x12b/0x250 [ 83.003507][ T5829] lock_acquire.part.0+0x11b/0x380 [ 83.008630][ T5829] ? __configfs_open_file+0xe8/0x9c0 [ 83.013924][ T5829] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 83.019565][ T5829] ? rcu_is_watching+0x12/0xc0 [ 83.024347][ T5829] ? trace_lock_acquire+0x14e/0x1f0 [ 83.029589][ T5829] ? __configfs_open_file+0xe8/0x9c0 [ 83.034892][ T5829] ? lock_acquire+0x2f/0xb0 [ 83.039409][ T5829] ? __configfs_open_file+0xe8/0x9c0 [ 83.044708][ T5829] down_read+0x9a/0x330 [ 83.048887][ T5829] ? __configfs_open_file+0xe8/0x9c0 [ 83.054193][ T5829] ? __pfx_down_read+0x10/0x10 [ 83.058987][ T5829] __configfs_open_file+0xe8/0x9c0 [ 83.064122][ T5829] do_dentry_open+0xf59/0x1ea0 [ 83.068904][ T5829] ? __pfx_configfs_open_file+0x10/0x10 [ 83.074467][ T5829] ? inode_permission+0xdd/0x5f0 [ 83.079452][ T5829] vfs_open+0x82/0x3f0 [ 83.083563][ T5829] ? may_open+0x1f2/0x400 [ 83.087931][ T5829] path_openat+0x1e6a/0x2d60 [ 83.092546][ T5829] ? __pfx_path_openat+0x10/0x10 [ 83.097509][ T5829] ? kasan_save_stack+0x42/0x60 [ 83.102382][ T5829] ? kasan_save_stack+0x33/0x60 [ 83.107271][ T5829] ? kasan_save_track+0x14/0x30 [ 83.112154][ T5829] ? __kasan_slab_alloc+0x89/0x90 [ 83.117205][ T5829] do_filp_open+0x20c/0x470 [ 83.121730][ T5829] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 83.127821][ T5829] ? __pfx_do_filp_open+0x10/0x10 [ 83.132886][ T5829] file_open_name+0x2a4/0x450 [ 83.137597][ T5829] ? __pfx_file_open_name+0x10/0x10 [ 83.142826][ T5829] ? kmem_cache_alloc_noprof+0x21b/0x3b0 [ 83.148481][ T5829] ? getname_kernel+0x52/0x370 [ 83.153274][ T5829] ? __pfx_target_core_item_dbroot_store+0x10/0x10 [ 83.159801][ T5829] filp_open+0x4b/0x80 [ 83.163887][ T5829] target_core_item_dbroot_store+0x10d/0x2e0 [ 83.169888][ T5829] configfs_write_iter+0x2f6/0x4b0 [ 83.175014][ T5829] vfs_write+0x5ae/0x1150 [ 83.179355][ T5829] ? __pfx_configfs_write_iter+0x10/0x10 [ 83.184998][ T5829] ? __pfx_vfs_write+0x10/0x10 [ 83.189792][ T5829] ? find_held_lock+0x2d/0x110 [ 83.194583][ T5829] ? __pfx_lock_release+0x10/0x10 [ 83.199621][ T5829] ksys_write+0x12b/0x250 [ 83.203964][ T5829] ? __pfx_ksys_write+0x10/0x10 [ 83.208827][ T5829] ? do_user_addr_fault+0x83d/0x13f0 [ 83.214122][ T5829] do_syscall_64+0xcd/0x250 [ 83.218647][ T5829] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 83.224560][ T5829] RIP: 0033:0x7f70a1169979 [ 83.228992][ T5829] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 [ 83.248612][ T5829] RSP: 002b:00007ffcb84c8f08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 83.257066][ T5829] RAX: ffffffffffffffda RBX: 00007f70a11b3300 RCX: 00007f70a1169979 [ 83.265050][ T5829] RDX: 0000000000000080 RSI: 0000000020000040 RDI: 0000000000000003 [ 83.273045][ T5829] RBP: 00007f70a11b30fd R08: 0000000000000006 R09: 0000000000000006 [ 83.281045][ T5829] R10: 0000000000000006 R11: 0000000000000246 R12: 00007f70a11b817c [ 83.289015][ T