Warning: Permanently added '[localhost]:64154' (ED25519) to the list of known hosts. executing program [ 62.943895][ T5305] loop0: detected capacity change from 0 to 32768 [ 63.009671][ T5305] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 63.016792][ T5305] bcachefs (loop0): initializing new filesystem [ 63.022628][ T5305] bcachefs (loop0): going read-write [ 63.027143][ T5305] bcachefs (loop0): marking superblocks [ 63.041275][ T5305] bcachefs (loop0): initializing freespace [ 63.046020][ T5305] bcachefs (loop0): done initializing freespace [ 63.054207][ T5305] bcachefs (loop0): reading snapshots table [ 63.057072][ T5305] bcachefs (loop0): reading snapshots done [ 63.071819][ T5305] bcachefs (loop0): done starting filesystem [ 63.128181][ T5305] [ 63.129258][ T5305] ============================================ [ 63.131665][ T5305] WARNING: possible recursive locking detected [ 63.133961][ T5305] 6.14.0-rc1-syzkaller-00181-g7ee983c850b4 #0 Not tainted [ 63.137458][ T5305] -------------------------------------------- [ 63.139745][ T5305] syz-executor294/5305 is trying to acquire lock: [ 63.142101][ T5305] ffff888044775078 (&sb->s_type->i_mutex_key#16){++++}-{4:4}, at: bch2_symlink+0x176/0x310 [ 63.145631][ T5305] [ 63.145631][ T5305] but task is already holding lock: [ 63.148263][ T5305] ffff888044774148 (&sb->s_type->i_mutex_key#16){++++}-{4:4}, at: ovl_copy_up_flags+0x19cb/0x47c0 [ 63.152085][ T5305] [ 63.152085][ T5305] other info that might help us debug this: [ 63.155127][ T5305] Possible unsafe locking scenario: [ 63.155127][ T5305] [ 63.157758][ T5305] CPU0 [ 63.159031][ T5305] ---- [ 63.160356][ T5305] lock(&sb->s_type->i_mutex_key#16); [ 63.162345][ T5305] lock(&sb->s_type->i_mutex_key#16); [ 63.164315][ T5305] [ 63.164315][ T5305] *** DEADLOCK *** [ 63.164315][ T5305] [ 63.167350][ T5305] May be due to missing lock nesting notation [ 63.167350][ T5305] [ 63.170534][ T5305] 7 locks held by syz-executor294/5305: [ 63.172567][ T5305] #0: ffff88801df94420 (sb_writers#10){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 [ 63.176044][ T5305] #1: ffff88804470de50 (&ovl_i_mutex_dir_key[depth]/1){+.+.}-{4:4}, at: do_renameat2+0x62c/0x13f0 [ 63.180297][ T5305] #2: ffff88804470e418 (&ovl_i_mutex_key[depth]){+.+.}-{4:4}, at: lock_two_nondirectories+0xe1/0x170 [ 63.184540][ T5305] #3: ffff88804470e9e0 (&ovl_i_mutex_key[depth]/4){+.+.}-{4:4}, at: vfs_rename+0x6a2/0xf00 [ 63.188468][ T5305] #4: ffff88804470e7d0 (&ovl_i_lock_key[depth]){+.+.}-{4:4}, at: ovl_copy_up_start+0x53/0x310 [ 63.192480][ T5305] #5: ffff8880477b0420 (sb_writers#9){.+.+}-{0:0}, at: ovl_copy_up_flags+0x19b4/0x47c0 [ 63.196109][ T5305] #6: ffff888044774148 (&sb->s_type->i_mutex_key#16){++++}-{4:4}, at: ovl_copy_up_flags+0x19cb/0x47c0 [ 63.200340][ T5305] [ 63.200340][ T5305] stack backtrace: [ 63.202526][ T5305] CPU: 0 UID: 0 PID: 5305 Comm: syz-executor294 Not tainted 6.14.0-rc1-syzkaller-00181-g7ee983c850b4 #0 [ 63.202539][ T5305] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 63.202547][ T5305] Call Trace: [ 63.202553][ T5305] [ 63.202558][ T5305] dump_stack_lvl+0x241/0x360 [ 63.202568][ T5305] ? __pfx_dump_stack_lvl+0x10/0x10 [ 63.202574][ T5305] ? __pfx__printk+0x10/0x10 [ 63.202582][ T5305] ? lockdep_unlock+0x16a/0x300 [ 63.202596][ T5305] print_deadlock_bug+0x483/0x620 [ 63.202605][ T5305] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 63.202618][ T5305] validate_chain+0x15e2/0x5920 [ 63.202630][ T5305] ? __pfx_validate_chain+0x10/0x10 [ 63.202642][ T5305] ? __bch2_create+0xe95/0xf40 [ 63.202657][ T5305] ? look_up_lock_class+0x77/0x170 [ 63.202724][ T5305] ? register_lock_class+0x102/0x980 [ 63.202738][ T5305] ? __pfx_register_lock_class+0x10/0x10 [ 63.202757][ T5305] ? mark_lock+0x9a/0x360 [ 63.202771][ T5305] __lock_acquire+0x1397/0x2100 [ 63.202787][ T5305] lock_acquire+0x1ed/0x550 [ 63.202799][ T5305] ? bch2_symlink+0x176/0x310 [ 63.202810][ T5305] ? __pfx_lock_acquire+0x10/0x10 [ 63.202823][ T5305] ? __pfx___might_resched+0x10/0x10 [ 63.202836][ T5305] ? __pfx_aa_get_newest_label+0x10/0x10 [ 63.202850][ T5305] ? from_kgid+0x1a7/0x730 [ 63.202862][ T5305] ? rcu_is_watching+0x15/0xb0 [ 63.202872][ T5305] down_write+0x99/0x220 [ 63.202887][ T5305] ? bch2_symlink+0x176/0x310 [ 63.202896][ T5305] ? __pfx_down_write+0x10/0x10 [ 63.202908][ T5305] ? bpf_lsm_capable+0x9/0x10 [ 63.202923][ T5305] bch2_symlink+0x176/0x310 [ 63.202932][ T5305] ? __pfx_bch2_symlink+0x10/0x10 [ 63.202942][ T5305] ? inode_permission+0xff/0x460 [ 63.202952][ T5305] ? bpf_lsm_inode_symlink+0x9/0x10 [ 63.202966][ T5305] ? security_inode_symlink+0xbe/0x330 [ 63.202976][ T5305] vfs_symlink+0x137/0x2e0 [ 63.202991][ T5305] ovl_do_symlink+0x85/0xd0 [ 63.203004][ T5305] ovl_create_real+0x346/0x550 [ 63.203014][ T5305] ? __pfx_ovl_create_real+0x10/0x10 [ 63.203027][ T5305] ovl_copy_up_flags+0x19fe/0x47c0 [ 63.203041][ T5305] ? is_bpf_text_address+0x285/0x2a0 [ 63.203063][ T5305] ? __pfx_ovl_copy_up_flags+0x10/0x10 [ 63.203076][ T5305] ? add_lock_to_list+0x1e8/0x2f0 [ 63.203086][ T5305] ? validate_chain+0x15c0/0x5920 [ 63.203099][ T5305] ? __pfx_validate_chain+0x10/0x10 [ 63.203108][ T5305] ? stack_trace_save+0x118/0x1d0 [ 63.203119][ T5305] ? __pfx_page_put_link+0x10/0x10 [ 63.203128][ T5305] ? __pfx_stack_trace_save+0x10/0x10 [ 63.203148][ T5305] ? __pfx_ovl_lower_positive+0x10/0x10 [ 63.203160][ T5305] ovl_rename+0x62a/0x1760 [ 63.203171][ T5305] ? __pfx_lock_acquire+0x10/0x10 [ 63.203183][ T5305] ? __pfx___might_resched+0x10/0x10 [ 63.203194][ T5305] ? __pfx___might_resched+0x10/0x10 [ 63.203206][ T5305] ? do_raw_spin_lock+0x14f/0x370 [ 63.203218][ T5305] ? __pfx_ovl_rename+0x10/0x10 [ 63.203228][ T5305] ? down_write_nested+0x195/0x220 [ 63.203237][ T5305] ? __pfx_down_write_nested+0x10/0x10 [ 63.203248][ T5305] ? __pfx_ovl_rename+0x10/0x10 [ 63.203260][ T5305] vfs_rename+0xbdb/0xf00 [ 63.203276][ T5305] ? __pfx_vfs_rename+0x10/0x10 [ 63.203291][ T5305] ? bpf_lsm_path_rename+0x9/0x10 [ 63.203305][ T5305] do_renameat2+0xd94/0x13f0 [ 63.203324][ T5305] ? __pfx_do_renameat2+0x10/0x10 [ 63.203339][ T5305] ? __virt_addr_valid+0x183/0x530 [ 63.203353][ T5305] ? __virt_addr_valid+0x45f/0x530 [ 63.203366][ T5305] ? __phys_addr_symbol+0x2f/0x70 [ 63.203382][ T5305] ? strncpy_from_user+0x146/0x270 [ 63.203393][ T5305] ? getname_flags+0x1e3/0x540 [ 63.203404][ T5305] __x64_sys_rename+0x82/0x90 [ 63.203412][ T5305] do_syscall_64+0xf3/0x230 [ 63.203425][ T5305] ? clear_bhb_loop+0x35/0x90 [ 63.203440][ T5305] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 63.203453][ T5305] RIP: 0033:0x7f0d8dddad19 [ 63.203464][ T5305] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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 [ 63.203472][ T5305] RSP: 002b:00007ffd9dbea2d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 [ 63.203484][ T5305] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f0d8dddad19 [ 63.203491][ T5305] RDX: 00007f0d8dddad19 RSI: 0000400000000840 RDI: 0000400000000800 [ 63.203497][ T5305] RBP: 0031656c69662f2e R08: 000055558454d4c0 R09: 000055558454d4c0 [ 63.203504][ T5305] R10: 000055558454d4c0 R11: 0000000000000246 R12: 00007ffd9dbea300 [ 63.203511][ T5305] R13: 00007ffd9dbea528 R14: 431bde82d7b634db R15: 00007f0d8de2303b [ 63.203520][ T5305] [ 63.378198][ T5305] syz-executor294 (5305) used greatest stack depth: 10768 bytes left executing program [ 63.529393][ T5317] overlayfs: workdir and upperdir must reside under the same mount executing program [ 63.689065][ T5318] overlayfs: workdir and upperdir must reside under the same mount executing program [ 63.837921][ T5319] overlayfs: workdir and upperdir must reside under the same mount executing program [ 64.029715][ T5320] overlayfs: workdir and upperdir must reside under the same mount executing program [ 64.201508][ T5323] overlayfs: workdir and upperdir must reside under the same mount executing program [ 64.351951][ T5324] overlayfs: workdir and upperdir must reside under the same mount executing program [ 64.514020][ T5325] overlayfs: workdir and upperdir must reside under the same mount executing program [ 64.660930][ T5326] overlayfs: workdir and upperdir must reside under the same mount executing program [ 64.820079][ T5327] overlayfs: workdir and upperdir must reside under the same mount executing program [ 64.975806][ T5328] overlayfs: workdir and upperdir must reside under the same mount executing program [ 65.126031][ T5329] overlayfs: workdir and upperdir must reside under the same mount executing program [ 65.283204][ T5330] overlayfs: workdir and upperdir must reside under the same mount executing program [ 65.434085][ T5331] overlayfs: workdir and upperdir must reside under the same mount executing program [ 65.576212][ T5332] overlayfs: workdir and upperdir must reside under the same mount executing program [ 65.723359][ T5333] overlayfs: workdir and upperdir must reside under the same mount executing program [ 65.877746][ T5334] overlayfs: workdir and upperdir must reside under the same mount executing program [ 66.027700][ T5335] overlayfs: workdir and upperdir must reside under the same mount executing program [ 66.193086][ T5336] overlayfs: workdir and upperdir must reside under the same mount executing program [ 66.354993][ T5337] overlayfs: workdir and upperdir must reside under the same mount executing program [ 66.490502][ T5338] overlayfs: workdir and upperdir must reside under the same mount executing program [ 66.638283][ T5339] overlayfs: workdir and upperdir must reside under the same mount executing program [ 66.818389][ T5340] overlayfs: workdir and upperdir must reside under the same mount executing program [ 66.968692][ T5341] overlayfs: workdir and upperdir must reside under the same mount executing program [ 67.125891][ T5342] overlayfs: workdir and upperdir must reside under the same mount executing program [ 67.274443][ T5343] overlayfs: workdir and upperdir must reside under the same mount executing program [ 67.415188][ T5344] overlayfs: workdir and upperdir must reside under the same mount executing program [ 67.582223][ T5345] overlayfs: workdir and upperdir must reside under the same mount executing program [ 67.737709][ T5346] overlayfs: workdir and upperdir must reside under the same mount executing program [ 67.892227][ T5347] overlayfs: workdir and upperdir must reside under the same mount executing program [ 68.048800][ T5348] overlayfs: workdir and upperdir must reside under the same mount executing program [ 68.202728][ T5349] overlayfs: workdir and upperdir must reside under the same mount executing program [ 68.345877][ T5350] overlayfs: workdir and upperdir must reside under the same mount executing program [ 68.491335][ T5351] overlayfs: workdir and upperdir must reside under the same mount executing program [ 68.636504][ T5352] overlayfs: workdir and upperdir must reside under the same mount executing program [ 68.783692][ T5353] overlayfs: workdir and upperdir must reside under the same mount executing program [ 68.929863][ T5354] overlayfs: workdir and upperdir must reside under the same mount executing program [ 69.097661][ T5355] overlayfs: workdir and upperdir must reside under the same mount executing program [ 69.251249][ T5356] overlayfs: workdir and upperdir must reside under the same mount executing program [ 69.398743][ T5357] overlayfs: workdir and upperdir must reside under the same mount executing program [ 69.563390][ T5358] overlayfs: workdir and upperdir must reside under the same mount executing program [ 69.710378][ T5359] overlayfs: workdir and upperdir must reside under the same mount executing program [ 69.862174][ T5360] overlayfs: workdir and upperdir must reside under the same mount executing program [ 70.010129][ T5361] overlayfs: workdir and upperdir must reside under the same mount executing program [ 70.172042][ T5362] overlayfs: workdir and upperdir must reside under the same mount executing program [ 70.326994][ T5363] overlayfs: workdir and upperdir must reside under the same mount executing program [ 70.470638][ T5364] overlayfs: workdir and upperdir must reside under the same mount executing program [ 70.623002][ T5365] overlayfs: workdir and upperdir must reside under the same mount executing program [ 70.774876][ T5366] overlayfs: workdir and upperdir must reside under the same mount executing program [ 70.931447][ T5367] overlayfs: workdir and upperdir must reside under the same mount executing program [ 71.086207][ T5368] overlayfs: workdir and upperdir must reside under the same mount executing program [ 71.240368][ T5369] overlayfs: workdir and upperdir must reside under the same mount executing program [ 71.393211][ T5370] overlayfs: workdir and upperdir must reside under the same mount executing program [ 71.557035][ T5371] overlayfs: workdir and upperdir must reside under the same mount executing program [ 71.700183][ T5372] overlayfs: workdir and upperdir must reside under the same mount executing program [ 71.848761][ T5373] overlayfs: workdir and upperdir must reside under the same mount executing program [ 72.004390][ T5374] overlayfs: workdir and upperdir must reside under the same mount executing program [ 72.143942][ T5375] overlayfs: workdir and upperdir must reside under the same mount executing program [ 72.301588][ T5376] overlayfs: workdir and upperdir must reside under the same mount executing program [ 72.459942][ T5377] overlayfs: workdir and upperdir must reside under the same mount executing program [ 72.615470][ T5378] overlayfs: workdir and upperdir must reside under the same mount executing program [ 72.785615][ T5379] overlayfs: workdir and upperdir must reside under the same mount executing program [ 72.937584][ T5381] overlayfs: workdir and upperdir must reside under the same mount executing program [ 73.100665][ T5382] overlayfs: workdir and upperdir must reside under the same mount executing program VM DIAGNOSIS: 09:13:48 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000079 RBX=ffffffff9a746080 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000d0b62b0 R8 =ffffffff8576d45b R9 =1ffff11003e21046 R10=dffffc0000000000 R11=ffffffff8576d410 R12=dffffc0000000000 R13=0000000000000079 R14=0000000000000079 R15=00000000000003f8 RIP=ffffffff8576d48e RFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 ffffffff 00c00000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 ffffffff 00c00000 FS =0000 000055558454c380 ffffffff 00c00000 GS =0000 ffff88801fc00000 ffffffff 00c00000 LDT=0000 0000000000000000 ffffffff 00c00000 TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000001000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00007f0d8de570f8 CR3=0000000042dc0000 CR4=00352ef0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000fffe0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 Opmask00=00000000ffffffff Opmask01=0000000000000000 Opmask02=00000000000000ff Opmask03=0000000000000000 Opmask04=0000000000000000 Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd9dbe98d0 00007ffd9dbe98b0 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd9dbe9a10 00007ffd9dbe9890 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007f0d8de44c44 00007f0d8de58260 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd9dbe98d0 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd9dbe9a10 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd9dbe9a10 00007ffd9dbe9890 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd9dbe98d0 00007ffd9dbe98b0 ZMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM16=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM17=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 7366656863616362 ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM25=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM26=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM27=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM28=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM29=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM30=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM31=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000