Warning: Permanently added '10.128.1.163' (ED25519) to the list of known hosts. 2024/03/31 19:32:52 ignoring optional flag "sandboxArg"="0" 2024/03/31 19:32:52 parsed 1 programs 2024/03/31 19:32:53 executed programs: 0 [ 47.780108][ T1435] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 50.293994][ T1861] loop0: detected capacity change from 0 to 64 [ 50.326066][ T1861] [ 50.328418][ T1861] ============================================ [ 50.334672][ T1861] WARNING: possible recursive locking detected [ 50.340885][ T1861] 6.1.83-syzkaller #0 Not tainted [ 50.346064][ T1861] -------------------------------------------- [ 50.352303][ T1861] syz-executor.0/1861 is trying to acquire lock: [ 50.358698][ T1861] ffff88810929f0b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x76/0x80 [ 50.367880][ T1861] [ 50.367880][ T1861] but task is already holding lock: [ 50.375220][ T1861] ffff88810929f0b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x76/0x80 [ 50.384322][ T1861] [ 50.384322][ T1861] other info that might help us debug this: [ 50.392379][ T1861] Possible unsafe locking scenario: [ 50.392379][ T1861] [ 50.399804][ T1861] CPU0 [ 50.403059][ T1861] ---- [ 50.406396][ T1861] lock(&tree->tree_lock/1); [ 50.411173][ T1861] lock(&tree->tree_lock/1); [ 50.415905][ T1861] [ 50.415905][ T1861] *** DEADLOCK *** [ 50.415905][ T1861] [ 50.424030][ T1861] May be due to missing lock nesting notation [ 50.424030][ T1861] [ 50.432314][ T1861] 6 locks held by syz-executor.0/1861: [ 50.437733][ T1861] #0: ffff88810aa8d8e8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xa6/0xc0 [ 50.446725][ T1861] #1: ffff88810929d450 (sb_writers#13){.+.+}-{0:0}, at: vfs_write+0xbc/0x2b0 [ 50.455539][ T1861] #2: ffff888106f894a8 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: generic_file_write_iter+0x27/0xb0 [ 50.466706][ T1861] #3: ffff888106f892f8 (&HFS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfs_extend_file+0x3c/0x470 [ 50.477272][ T1861] #4: ffff88810929f0b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x76/0x80 [ 50.486887][ T1861] #5: ffff888106f880f8 (&HFS_I(tree->inode)->extents_lock){+.+.}-{3:3}, at: hfs_extend_file+0x3c/0x470 [ 50.498143][ T1861] [ 50.498143][ T1861] stack backtrace: [ 50.503999][ T1861] CPU: 1 PID: 1861 Comm: syz-executor.0 Not tainted 6.1.83-syzkaller #0 [ 50.512375][ T1861] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 50.522397][ T1861] Call Trace: [ 50.525649][ T1861] [ 50.528603][ T1861] dump_stack_lvl+0x89/0xd7 [ 50.533079][ T1861] __lock_acquire+0x73d/0x2830 [ 50.537814][ T1861] ? fs_reclaim_acquire+0x6b/0xe0 [ 50.542804][ T1861] ? hfs_find_init+0x76/0x80 [ 50.547449][ T1861] lock_acquire+0xe3/0x270 [ 50.551833][ T1861] ? hfs_find_init+0x76/0x80 [ 50.556385][ T1861] ? slab_post_alloc_hook+0x67/0x460 [ 50.561723][ T1861] ? hfs_find_init+0x76/0x80 [ 50.566283][ T1861] __mutex_lock+0x99/0x970 [ 50.570679][ T1861] ? hfs_find_init+0x76/0x80 [ 50.575232][ T1861] hfs_find_init+0x76/0x80 [ 50.579625][ T1861] hfs_extend_file+0xc7/0x470 [ 50.584291][ T1861] hfs_bmap_reserve+0x20/0x90 [ 50.589033][ T1861] __hfs_ext_write_extent+0x7a/0xb0 [ 50.594201][ T1861] __hfs_ext_cache_extent+0x21/0x100 [ 50.599628][ T1861] hfs_extend_file+0xf4/0x470 [ 50.604359][ T1861] hfs_get_block+0xa3/0x2d0 [ 50.608915][ T1861] __block_write_begin_int+0x13b/0x670 [ 50.614519][ T1861] ? hfs_free_extents+0x100/0x100 [ 50.619508][ T1861] ? hfs_free_extents+0x100/0x100 [ 50.624514][ T1861] block_write_begin+0x45/0xa0 [ 50.629302][ T1861] cont_write_begin+0x291/0x2c0 [ 50.634138][ T1861] hfs_write_begin+0x28/0x50 [ 50.638707][ T1861] ? hfs_free_extents+0x100/0x100 [ 50.643698][ T1861] generic_perform_write+0x9e/0x220 [ 50.648948][ T1861] __generic_file_write_iter+0x82/0x140 [ 50.654546][ T1861] generic_file_write_iter+0x42/0xb0 [ 50.659797][ T1861] vfs_write+0x23a/0x2b0 [ 50.664031][ T1861] ksys_write+0x6c/0xd0 [ 50.668165][ T1861] do_syscall_64+0x3d/0x80 [ 50.672583][ T1861] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.678444][ T1861] RIP: 0033:0x7ffa2007cae9 [ 50.682913][ T1861] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 [ 50.702580][ T1861] RSP: 002b:00007ffa20e490c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 50.711134][ T1861] RAX: ffffffffffffffda RBX: 00007ffa2019bf80 RCX: 00007ffa2007cae9 [ 50.719160][ T1861] RDX: 000000000208e24b RSI: 0000000020000180 RDI: 0000000000000004 [ 50.727287][ T1861] RBP: 00007ffa200c847a R08: 0000000000000000 R09: 0000000000000000 [ 50.735224][ T1861] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 50.744128][ T1861] R13: 0000000000000006 R14: 00007ffa2019bf80 R15: 00007ffe94aaaa38 [ 50.752067][ T1861] [ 55.368867][ T33] kworker/u4:2: attempt to access beyond end of device [ 55.368867][ T33] loop0: rw=1048577, sector=95, nr_sectors = 1 limit=64 [ 55.382801][ T33] Buffer I/O error on dev loop0, logical block 95, lost async page write [ 55.391287][ T33] kworker/u4:2: attempt to access beyond end of device [ 55.391287][ T33] loop0: rw=1048577, sector=96, nr_sectors = 1 limit=64 [ 55.404903][ T33] Buffer I/O error on dev loop0, logical block 96, lost async page write [ 55.413425][ T33] kworker/u4:2: attempt to access beyond end of device [ 55.413425][ T33] loop0: rw=1048577, sector=98, nr_sectors = 1 limit=64 [ 55.427220][ T33] Buffer I/O error on dev loop0, logical block 98, lost async page write [ 55.435693][ T33] kworker/u4:2: attempt to access beyond end of device [ 55.435693][ T33] loop0: rw=1048577, sector=100, nr_sectors = 1 limit=64 [ 55.449755][ T33] Buffer I/O error on dev loop0, logical block 100, lost async page write [ 55.458245][ T33] kworker/u4:2: attempt to access beyond end of device [ 55.458245][ T33] loop0: rw=1048577, sector=101, nr_sectors = 1 limit=64 [ 55.472046][ T33] Buffer I/O error on dev loop0, logical block 101, lost async page write [ 55.480624][ T33] kworker/u4:2: attempt to access beyond end of device [ 55.480624][ T33] loop0: rw=1048577, sector=102, nr_sectors = 1 limit=64 [ 55.494339][ T33] Buffer I/O error on dev loop0, logical block 102, lost async page write [ 55.503095][ T33] kworker/u4:2: attempt to access beyond end of device [ 55.503095][ T33] loop0: rw=1048577, sector=103, nr_sectors = 1 limit=64 [ 55.517004][ T33] Buffer I/O error on dev loop0, logical block 103, lost async page write [ 55.525560][ T33] kworker/u4:2: attempt to access beyond end of device [ 55.525560][ T33] loop0: rw=1048577, sector=104, nr_sectors = 1 limit=64 [ 55.539729][ T33] Buffer I/O error on dev loop0, logical block 104, lost async page write [ 55.549001][ T33] kworker/u4:2: attempt to access beyond end of device [ 55.549001][ T33] loop0: rw=1048577, sector=105, nr_sectors = 4064 limit=64