Warning: Permanently added '10.128.1.181' (ED25519) to the list of known hosts. executing program [ 64.469942][ T5052] loop0: detected capacity change from 0 to 64 executing program [ 64.564840][ T5056] loop0: detected capacity change from 0 to 64 executing program [ 64.631688][ T5059] loop0: detected capacity change from 0 to 64 executing program [ 64.717860][ T5062] loop0: detected capacity change from 0 to 64 executing program [ 64.790585][ T5065] loop0: detected capacity change from 0 to 64 executing program [ 64.890905][ T5067] loop0: detected capacity change from 0 to 64 executing program [ 64.978935][ T5070] loop0: detected capacity change from 0 to 64 executing program executing program [ 65.052308][ T5073] loop0: detected capacity change from 0 to 64 [ 65.097996][ T5076] loop0: detected capacity change from 0 to 64 executing program [ 65.185755][ T5079] loop0: detected capacity change from 0 to 64 executing program [ 65.261165][ T5082] loop0: detected capacity change from 0 to 64 executing program [ 65.351593][ T5085] loop0: detected capacity change from 0 to 64 executing program [ 65.432112][ T5088] loop0: detected capacity change from 0 to 64 [ 65.449845][ T5088] [ 65.452435][ T5088] ====================================================== [ 65.459997][ T5088] WARNING: possible circular locking dependency detected [ 65.467205][ T5088] 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Not tainted [ 65.473961][ T5088] ------------------------------------------------------ [ 65.482009][ T5088] syz-executor111/5088 is trying to acquire lock: [ 65.488513][ T5088] ffff8880296120b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x16e/0x1f0 [ 65.497860][ T5088] [ 65.497860][ T5088] but task is already holding lock: [ 65.505242][ T5088] ffff888028d75578 (&HFS_I(tree->inode)->extents_lock){+.+.}-{3:3}, at: hfs_extend_file+0xff/0x1450 [ 65.516639][ T5088] [ 65.516639][ T5088] which lock already depends on the new lock. [ 65.516639][ T5088] [ 65.527416][ T5088] [ 65.527416][ T5088] the existing dependency chain (in reverse order) is: [ 65.536687][ T5088] [ 65.536687][ T5088] -> #1 (&HFS_I(tree->inode)->extents_lock){+.+.}-{3:3}: [ 65.546093][ T5088] lock_acquire+0x1e4/0x530 [ 65.551120][ T5088] __mutex_lock+0x136/0xd70 [ 65.556345][ T5088] hfs_extend_file+0xff/0x1450 [ 65.561817][ T5088] hfs_bmap_reserve+0xd9/0x400 [ 65.567105][ T5088] __hfs_ext_write_extent+0x22e/0x4f0 [ 65.573002][ T5088] hfs_ext_write_extent+0x154/0x1d0 [ 65.578749][ T5088] hfs_write_inode+0xbc/0xec0 [ 65.584042][ T5088] __writeback_single_inode+0x69f/0xfd0 [ 65.590146][ T5088] writeback_sb_inodes+0x8e4/0x1220 [ 65.596218][ T5088] wb_writeback+0x447/0xc70 [ 65.601260][ T5088] wb_workfn+0x400/0x1070 [ 65.606227][ T5088] process_scheduled_works+0xa00/0x1770 [ 65.612387][ T5088] worker_thread+0x86d/0xd70 [ 65.617582][ T5088] kthread+0x2f0/0x390 [ 65.622198][ T5088] ret_from_fork+0x4b/0x80 [ 65.627188][ T5088] ret_from_fork_asm+0x1a/0x30 [ 65.632574][ T5088] [ 65.632574][ T5088] -> #0 (&tree->tree_lock/1){+.+.}-{3:3}: [ 65.640759][ T5088] validate_chain+0x18cb/0x58e0 [ 65.646141][ T5088] __lock_acquire+0x1346/0x1fd0 [ 65.651509][ T5088] lock_acquire+0x1e4/0x530 [ 65.656518][ T5088] __mutex_lock+0x136/0xd70 [ 65.661649][ T5088] hfs_find_init+0x16e/0x1f0 [ 65.666873][ T5088] hfs_extend_file+0x31b/0x1450 [ 65.672339][ T5088] hfs_bmap_reserve+0xd9/0x400 [ 65.677622][ T5088] hfs_cat_create+0x1e0/0x970 [ 65.682928][ T5088] hfs_create+0x66/0xe0 [ 65.687677][ T5088] path_openat+0x1425/0x3240 [ 65.693168][ T5088] do_filp_open+0x235/0x490 [ 65.698727][ T5088] do_sys_openat2+0x13e/0x1d0 [ 65.704078][ T5088] __x64_sys_openat+0x247/0x2a0 [ 65.709545][ T5088] do_syscall_64+0xfb/0x240 [ 65.714574][ T5088] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 65.721069][ T5088] [ 65.721069][ T5088] other info that might help us debug this: [ 65.721069][ T5088] [ 65.731483][ T5088] Possible unsafe locking scenario: [ 65.731483][ T5088] [ 65.738947][ T5088] CPU0 CPU1 [ 65.744394][ T5088] ---- ---- [ 65.749837][ T5088] lock(&HFS_I(tree->inode)->extents_lock); [ 65.755809][ T5088] lock(&tree->tree_lock/1); [ 65.763173][ T5088] lock(&HFS_I(tree->inode)->extents_lock); [ 65.772107][ T5088] lock(&tree->tree_lock/1); [ 65.777264][ T5088] [ 65.777264][ T5088] *** DEADLOCK *** [ 65.777264][ T5088] [ 65.785845][ T5088] 4 locks held by syz-executor111/5088: [ 65.792055][ T5088] #0: ffff888029610420 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 [ 65.801642][ T5088] #1: ffff888028d75da8 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x7d3/0x3240 [ 65.812267][ T5088] #2: ffff8880296140b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfs_find_init+0x16e/0x1f0 [ 65.822134][ T5088] #3: ffff888028d75578 (&HFS_I(tree->inode)->extents_lock){+.+.}-{3:3}, at: hfs_extend_file+0xff/0x1450 [ 65.833628][ T5088] [ 65.833628][ T5088] stack backtrace: [ 65.839504][ T5088] CPU: 1 PID: 5088 Comm: syz-executor111 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 [ 65.849916][ T5088] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 65.860926][ T5088] Call Trace: [ 65.864198][ T5088] [ 65.867121][ T5088] dump_stack_lvl+0x241/0x360 [ 65.871969][ T5088] ? __pfx_dump_stack_lvl+0x10/0x10 [ 65.877160][ T5088] ? print_circular_bug+0x130/0x1a0 [ 65.882358][ T5088] check_noncircular+0x36a/0x4a0 [ 65.887743][ T5088] ? __pfx___bfs+0x10/0x10 [ 65.892180][ T5088] ? __pfx_check_noncircular+0x10/0x10 [ 65.897630][ T5088] ? lockdep_lock+0x123/0x2b0 [ 65.902394][ T5088] ? _find_first_zero_bit+0xd4/0x100 [ 65.907681][ T5088] validate_chain+0x18cb/0x58e0 [ 65.912616][ T5088] ? __pfx_validate_chain+0x10/0x10 [ 65.917822][ T5088] ? mark_lock+0x9a/0x350 [ 65.922142][ T5088] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 65.928330][ T5088] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 65.935543][ T5088] ? mark_lock+0x9a/0x350 [ 65.940170][ T5088] __lock_acquire+0x1346/0x1fd0 [ 65.945385][ T5088] lock_acquire+0x1e4/0x530 [ 65.950009][ T5088] ? hfs_find_init+0x16e/0x1f0 [ 65.955341][ T5088] ? __pfx_lock_acquire+0x10/0x10 [ 65.960738][ T5088] ? __pfx___might_resched+0x10/0x10 [ 65.966113][ T5088] __mutex_lock+0x136/0xd70 [ 65.970901][ T5088] ? hfs_find_init+0x16e/0x1f0 [ 65.975765][ T5088] ? hfs_find_init+0x16e/0x1f0 [ 65.980628][ T5088] ? __pfx___mutex_lock+0x10/0x10 [ 65.985928][ T5088] ? trace_kmalloc+0x1f/0xb0 [ 65.990529][ T5088] ? __kmalloc+0x251/0x4a0 [ 65.995031][ T5088] hfs_find_init+0x16e/0x1f0 [ 65.999615][ T5088] hfs_extend_file+0x31b/0x1450 [ 66.004459][ T5088] ? __pfx_hfs_extend_file+0x10/0x10 [ 66.009756][ T5088] ? rcu_is_watching+0x15/0xb0 [ 66.015053][ T5088] ? __mutex_lock+0x2ef/0xd70 [ 66.019723][ T5088] ? hfs_find_init+0x16e/0x1f0 [ 66.024493][ T5088] ? __pfx___mutex_lock+0x10/0x10 [ 66.029682][ T5088] hfs_bmap_reserve+0xd9/0x400 [ 66.034483][ T5088] hfs_cat_create+0x1e0/0x970 [ 66.039154][ T5088] ? __pfx_hfs_cat_create+0x10/0x10 [ 66.044353][ T5088] ? _raw_spin_unlock+0x28/0x50 [ 66.049371][ T5088] ? hfs_new_inode+0x82d/0xa60 [ 66.054133][ T5088] hfs_create+0x66/0xe0 [ 66.058274][ T5088] ? __pfx_hfs_create+0x10/0x10 [ 66.063286][ T5088] path_openat+0x1425/0x3240 [ 66.067997][ T5088] ? __pfx_path_openat+0x10/0x10 [ 66.072953][ T5088] do_filp_open+0x235/0x490 [ 66.077481][ T5088] ? __pfx_do_filp_open+0x10/0x10 [ 66.082784][ T5088] ? _raw_spin_unlock+0x28/0x50 [ 66.087728][ T5088] ? alloc_fd+0x59d/0x640 [ 66.092154][ T5088] do_sys_openat2+0x13e/0x1d0 [ 66.096917][ T5088] ? __pfx_do_sys_openat2+0x10/0x10 [ 66.102206][ T5088] ? arch_do_signal_or_restart+0x51f/0x860 [ 66.108105][ T5088] __x64_sys_openat+0x247/0x2a0 [ 66.113124][ T5088] ? __pfx___x64_sys_openat+0x10/0x10 [ 66.118487][ T5088] ? exc_page_fault+0x585/0x890 [ 66.123337][ T5088] ? do_syscall_64+0xb6/0x240 [ 66.128104][ T5088] do_syscall_64+0xfb/0x240 [ 66.132624][ T5088] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 66.138618][ T5088] RIP: 0033:0x7f33108dc759 [ 66.143041][ T5088] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 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 b0 ff ff ff f7 d8 64 89 01 48 [ 66.162822][ T5088] RSP: 002b:00007f3310892168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 66.171236][ T5088] RAX: ffffffffffffffda RBX: 00007f33109656c8 RCX: 00007f33108dc759 [ 66.179201][ T5088] RDX: 000000000000275a RSI: 0000000020000000 RDI: 00000000ffffff9c [ 66.187172][ T5088] RBP: 00007f33109656c0 R08: 00007f33109656c0 R09: 0000000000000000 [ 66.195149][ T5088] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f33109656cc [ 66.203126][ T5088] R13: 0000000000000016 R14: 00007ffeb3131aa0 R15: 00007ffeb3131b88 [ 66.211466][ T5088] [ 66.215256][ T5088] hfs: request for non-existent node 16777216 in B*Tree [ 66.222563][ T5088] hfs: request for non-existent node 16777216 in B*Tree [ 66.229581][ T5088] hfs: inconsistency in B*Tree (5,0,1,0,1) executing program [ 66.289188][ T5091] loop0: detected capacity change from 0 to 64 executing program [ 66.359819][ T5094] loop0: detected capacity change from 0 to 64 executing program [ 66.430407][ T5097] loop0: detected capacity change from 0 to 64 executing program [ 66.517951][ T5100] loop0: detected capacity change from 0 to 64 executing program executing program [ 66.587597][ T5103] loop0: detected capacity change from 0 to 64 [ 66.619716][ T5106] loop0: detected capacity change from 0 to 64 [ 66.627659][ T5106] hfs: unable to parse mount options executing program [ 66.910310][ T5109] loop0: detected capacity change from 0 to 64 executing program [ 66.988102][ T5112] loop0: detected capacity change from 0 to 64 executing program [ 67.070207][ T5115] loop0: detected capacity change from 0 to 64 executing program executing program [ 67.138655][ T5118] loop0: detected capacity change from 0 to 64 [ 67.199935][ T5121] loop0: detected capacity change from 0 to 64 executing program [ 67.270843][ T5124] loop0: detected capacity change from 0 to 64 executing program [ 67.338900][ T5127] loop0: detected capacity change from 0 to 64 executing program [ 67.410526][ T5130] loop0: detected capacity change from 0 to 64 executing program [ 67.490917][ T5133] loop0: detected capacity change from 0 to 64 executing program [ 67.559561][ T5136] loop0: detected capacity change from 0 to 64 executing program [ 67.628534][ T5138] loop0: detected capacity change from 0 to 64 executing program [ 67.705092][ T5141] loop0: detected capacity change from 0 to 64 executing program [ 67.774537][ T5144] loop0: detected capacity change from 0 to 64 executing program [ 67.840631][ T5146] loop0: detected capacity change from 0 to 64 executing program [ 67.915550][ T5149] loop0: detected capacity change from 0 to 64 executing program [ 67.997888][ T5152] loop0: detected capacity change from 0 to 64 executing program [ 68.078428][ T5155] loop0: detected capacity change from 0 to 64 executing program [ 68.149456][ T5158] loop0: detected capacity change from 0 to 64 executing program [ 68.224306][ T5161] loop0: detected capacity change from 0 to 64 executing program [ 68.299694][ T5164] loop0: detected capacity change from 0 to 64 executing program [ 68.373988][ T5167] loop0: detected capacity change from 0 to 64 executing program executing program [ 68.453064][ T5170] loop0: detected capacity change from 0 to 64 [ 68.513812][ T5173] loop0: detected capacity change from 0 to 64 executing program [ 68.589523][ T5176] loop0: detected capacity change from 0 to 64 executing program executing program [ 68.658580][ T5179] loop0: detected capacity change from 0 to 64 executing program [ 68.709033][ T5182] loop0: detected capacity change from 0 to 64 [ 68.758652][ T5185] loop0: detected capacity change from 0 to 64 executing program [ 68.833232][ T5188] loop0: detected capacity change from 0 to 64 executing program executing program executing program [ 68.934986][ T5191] loop0: detected capacity change from 0 to 64 [ 68.969459][ T5194] loop0: detected capacity change from 0 to 64 [ 69.001717][ T5197] loop0: detected capacity change from 0 to 64 executing program executing program [ 69.089799][ T5200] loop0: detected capacity change from 0 to 64 [ 69.125416][ T5203] loop0: detected capacity change from 0 to 64 executing program [ 69.195219][ T5206] loop0: detected capacity change from 0 to 64 executing program [ 69.270510][ T5209] loop0: detected capacity change from 0 to 64 executing program [ 69.338963][ T5212] loop0: detected capacity change from 0 to 64 executing program executing program [ 69.397726][ T5215] loop0: detected capacity change from 0 to 64 executing program [ 69.459702][ T5218] loop0: detected capacity change from 0 to 64 executing program [ 69.517053][ T5221] loop0: detected capacity change from 0 to 64 [ 69.568663][ T5224] loop0: detected capacity change from 0 to 64 executing program executing program [ 69.640035][ T5227] loop0: detected capacity change from 0 to 64 [ 69.678676][ T5230] loop0: detected capacity change from 0 to 64 [ 69.686600][ T5230] hfs: unable to parse mount options executing program executing program [ 69.975649][ T5233] loop0: detected capacity change from 0 to 64 [ 70.013752][ T5236] loop0: detected capacity change from 0 to 64 executing program [ 70.129743][ T5239] loop0: detected capacity change from 0 to 64 executing program executing program [ 70.224352][ T5241] loop0: detected capacity change from 0 to 64 [ 70.285055][ T5244] loop0: detected capacity change from 0 to 64 executing program [ 70.363151][ T5247] loop0: detected capacity change from 0 to 64 executing program [ 70.445780][ T5250] loop0: detected capacity change from 0 to 64 executing program [ 70.523446][ T5253] loop0: detected capacity change from 0 to 64 executing program [ 70.604404][ T5256] loop0: detected capacity change from 0 to 64 executing program [ 70.668494][ T5259] loop0: detected capacity change from 0 to 64 executing program [ 70.741029][ T5262] loop0: detected capacity change from 0 to 64 executing program [ 70.808995][ T5265] loop0: detected capacity change from 0 to 64 executing program [ 70.884917][ T5268] loop0: detected capacity change from 0 to 64 executing program executing program executing program [ 70.939369][ T5271] loop0: detected capacity change from 0 to 64 [ 70.974347][ T5274] loop0: detected capacity change from 0 to 64 [ 71.006359][ T5277] loop0: detected capacity change from 0 to 64 executing program executing program [ 71.078779][ T5280] loop0: detected capacity change from 0 to 64 [ 71.111818][ T5283] loop0: detected capacity change from 0 to 64 executing program executing program [ 71.184750][ T5053] I/O error, dev loop0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [ 71.189165][ T5286] loop0: detected capacity change from 0 to 64 [ 71.195369][ T5053] I/O error, dev loop0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 71.211346][ T5053] Buffer I/O error on dev loop0, logical block 0, async page read [ 71.247741][ T5289] loop0: detected capacity change from 0 to 64 [ 71.255654][ T5289] hfs: unable to parse mount options [ 71.284205][ T5053] I/O error, dev loop0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 executing program [ 71.567914][ T5292] loop0: detected capacity change from 0 to 64 executing program [ 71.644302][ T5295] loop0: detected capacity change from 0 to 64 executing program executing program [ 71.719806][ T5298] loop0: detected capacity change from 0 to 64 [ 71.749614][ T5301] loop0: detected capacity change from 0 to 64 executing program [ 71.809595][ T5304] loop0: detected capacity change from 0 to 64 executing program [ 71.881984][ T5307] loop0: detected capacity change from 0 to 64 executing program [ 71.959256][ T5310] loop0: detected capacity change from 0 to 64 executing program [ 72.028590][ T5313] loop0: detected capacity change from 0 to 64 executing program [ 72.116755][ T5316] loop0: detected capacity change from 0 to 64 executing program [ 72.189086][ T5319] loop0: detected capacity change from 0 to 64 executing program [ 72.259219][ T5322] loop0: detected capacity change from 0 to 64 executing program executing program [ 72.329018][ T5325] loop0: detected capacity change from 0 to 64 [ 72.359604][ T5328] loop0: detected capacity change from 0 to 64 executing program [ 72.444952][ T5331] loop0: detected capacity change from 0 to 64 executing program [ 72.518647][ T5334] loop0: detected capacity change from 0 to 64 executing program [ 72.594611][ T5337] loop0: detected capacity change from 0 to 64 executing program [ 72.689100][ T5340] loop0: detected capacity change from 0 to 64 executing program [ 72.787863][ T5343] loop0: detected capacity change from 0 to 64 executing program executing program [ 72.868672][ T5346] loop0: detected capacity change from 0 to 64 [ 72.909567][ T5349] loop0: detected capacity change from 0 to 64 executing program [ 72.983925][ T5352] loop0: detected capacity change from 0 to 64 executing program [ 73.054098][ T5355] loop0: detected capacity change from 0 to 64 executing program [ 73.130900][ T5358] loop0: detected capacity change from 0 to 64 executing program [ 73.198239][ T5361] loop0: detected capacity change from 0 to 64 executing program [ 73.297942][ T5364] loop0: detected capacity change from 0 to 64 executing program [ 73.377494][ T5367] loop0: detected capacity change from 0 to 64 executing program [ 73.453334][ T5370] loop0: detected capacity change from 0 to 64 executing program [ 73.525070][ T5373] loop0: detected capacity change from 0 to 64 executing program [ 73.598588][ T5376] loop0: detected capacity change from 0 to 64 executing program [ 73.670101][ T5379] loop0: detected capacity change from 0 to 64 executing program [ 73.738918][ T5382] loop0: detected capacity change from 0 to 64 executing program [ 73.810045][ T5385] loop0: detected capacity change from 0 to 64 executing program [ 73.888727][ T5388] loop0: detected capacity change from 0 to 64 executing program [ 73.954525][ T5053] I/O error, dev loop0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [ 73.959229][ T5391] loop0: detected capacity change from 0 to 64 [ 73.966135][ T5053] I/O error, dev loop0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 73.982279][ T5053] Buffer I/O error on dev loop0, logical block 0, async page read executing program [ 74.054097][ T5394] loop0: detected capacity change from 0 to 64 executing program [ 74.117912][ T5397] loop0: detected capacity change from 0 to 64 executing program [ 74.209007][ T5400] loop0: detected capacity change from 0 to 64 executing program [ 74.278347][ T5403] loop0: detected capacity change from 0 to 64 executing program [ 74.359222][ T5406] loop0: detected capacity change from 0 to 64 executing program [ 74.438245][ T5409] loop0: detected capacity change from 0 to 64 executing program [ 74.511197][ T5412] loop0: detected capacity change from 0 to 64 executing program [ 74.600201][ T5415] loop0: detected capacity change from 0 to 64 executing program executing program [ 74.678395][ T5418] loop0: detected capacity change from 0 to 64 [ 74.718108][ T5421] loop0: detected capacity change from 0 to 64 executing program [ 74.814539][ T5424] loop0: detected capacity change from 0 to 64 executing program executing program [ 74.889837][ T5427] loop0: detected capacity change from 0 to 64 [ 74.923312][ T5430] loop0: detected capacity change from 0 to 64 executing program [ 75.000591][ T5433] loop0: detected capacity change from 0 to 64 executing program executing program [ 75.085101][ T5436] loop0: detected capacity change from 0 to 64 [ 75.139885][ T5438] loop0: detected capacity change from 0 to 64 executing program [ 75.208782][ T5441] loop0: detected capacity change from 0 to 64 executing program [ 75.274454][ T5053] I/O error, dev loop0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [ 75.278546][ T5444] loop0: detected capacity change from 0 to 64 [ 75.284991][ T5053] I/O error, dev loop0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 75.299595][ T5053] Buffer I/O error on dev loop0, logical block 0, async page read executing program [ 75.377711][ T5447] loop0: detected capacity change from 0 to 64 executing program