Warning: Permanently added '10.128.1.68' (ED25519) to the list of known hosts. 2023/11/24 09:37:35 ignoring optional flag "sandboxArg"="0" 2023/11/24 09:37:35 parsed 1 programs 2023/11/24 09:37:36 executed programs: 0 [ 47.008462][ T1435] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 49.517698][ T1861] loop0: detected capacity change from 0 to 64 [ 49.549106][ T1861] [ 49.551445][ T1861] ============================================ [ 49.557569][ T1861] WARNING: possible recursive locking detected [ 49.563889][ T1861] 6.1.63-syzkaller #0 Not tainted [ 49.568973][ T1861] -------------------------------------------- [ 49.575701][ T1861] syz-executor.0/1861 is trying to acquire lock: [ 49.582282][ T1861] ffff888102fca0b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x76/0x80 [ 49.591970][ T1861] [ 49.591970][ T1861] but task is already holding lock: [ 49.599650][ T1861] ffff888102fca0b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x76/0x80 [ 49.608854][ T1861] [ 49.608854][ T1861] other info that might help us debug this: [ 49.617094][ T1861] Possible unsafe locking scenario: [ 49.617094][ T1861] [ 49.624640][ T1861] CPU0 [ 49.627889][ T1861] ---- [ 49.631232][ T1861] lock(&tree->tree_lock/1); [ 49.636659][ T1861] lock(&tree->tree_lock/1); [ 49.641479][ T1861] [ 49.641479][ T1861] *** DEADLOCK *** [ 49.641479][ T1861] [ 49.649839][ T1861] May be due to missing lock nesting notation [ 49.649839][ T1861] [ 49.658306][ T1861] 6 locks held by syz-executor.0/1861: [ 49.663846][ T1861] #0: ffff888109e8ace8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xa6/0xc0 [ 49.673113][ T1861] #1: ffff888102fc8450 (sb_writers#13){.+.+}-{0:0}, at: vfs_write+0xbc/0x2b0 [ 49.682458][ T1861] #2: ffff8881083302a8 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: generic_file_write_iter+0x27/0xb0 [ 49.693889][ T1861] #3: ffff8881083300f8 (&HFS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfs_extend_file+0x3c/0x470 [ 49.704717][ T1861] #4: ffff888102fca0b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x76/0x80 [ 49.714519][ T1861] #5: ffff8881057180f8 (&HFS_I(tree->inode)->extents_lock){+.+.}-{3:3}, at: hfs_extend_file+0x3c/0x470 [ 49.726385][ T1861] [ 49.726385][ T1861] stack backtrace: [ 49.732707][ T1861] CPU: 0 PID: 1861 Comm: syz-executor.0 Not tainted 6.1.63-syzkaller #0 [ 49.741175][ T1861] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 49.751901][ T1861] Call Trace: [ 49.755155][ T1861] [ 49.758098][ T1861] dump_stack_lvl+0x89/0xd7 [ 49.762743][ T1861] __lock_acquire+0x73d/0x2830 [ 49.768274][ T1861] ? fs_reclaim_acquire+0x6b/0xe0 [ 49.773627][ T1861] ? hfs_find_init+0x76/0x80 [ 49.778184][ T1861] lock_acquire+0xe3/0x270 [ 49.782568][ T1861] ? hfs_find_init+0x76/0x80 [ 49.787127][ T1861] ? slab_post_alloc_hook+0x67/0x460 [ 49.792734][ T1861] ? hfs_find_init+0x76/0x80 [ 49.797489][ T1861] __mutex_lock+0x99/0x970 [ 49.802158][ T1861] ? hfs_find_init+0x76/0x80 [ 49.806752][ T1861] hfs_find_init+0x76/0x80 [ 49.811165][ T1861] hfs_extend_file+0xc7/0x470 [ 49.815990][ T1861] hfs_bmap_reserve+0x20/0x90 [ 49.820733][ T1861] __hfs_ext_write_extent+0x7a/0xb0 [ 49.826294][ T1861] __hfs_ext_cache_extent+0x21/0x100 [ 49.831638][ T1861] hfs_extend_file+0xf4/0x470 [ 49.836295][ T1861] hfs_get_block+0xa3/0x2d0 [ 49.840765][ T1861] __block_write_begin_int+0x13b/0x670 [ 49.846190][ T1861] ? hfs_free_extents+0x100/0x100 [ 49.851209][ T1861] ? hfs_free_extents+0x100/0x100 [ 49.856304][ T1861] block_write_begin+0x45/0xa0 [ 49.861295][ T1861] cont_write_begin+0x291/0x2c0 [ 49.866146][ T1861] hfs_write_begin+0x28/0x50 [ 49.870702][ T1861] ? hfs_free_extents+0x100/0x100 [ 49.875700][ T1861] generic_perform_write+0x9e/0x220 [ 49.880946][ T1861] __generic_file_write_iter+0x82/0x140 [ 49.886475][ T1861] generic_file_write_iter+0x42/0xb0 [ 49.891726][ T1861] vfs_write+0x23a/0x2b0 [ 49.895932][ T1861] ksys_write+0x6c/0xd0 [ 49.900140][ T1861] do_syscall_64+0x3d/0x80 [ 49.904609][ T1861] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 49.910553][ T1861] RIP: 0033:0x7f133d87cae9 [ 49.915022][ 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 [ 49.935579][ T1861] RSP: 002b:00007f133e65e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 49.944044][ T1861] RAX: ffffffffffffffda RBX: 00007f133d99bf80 RCX: 00007f133d87cae9 [ 49.952003][ T1861] RDX: 000000000208e24b RSI: 0000000020000180 RDI: 0000000000000004 [ 49.960651][ T1861] RBP: 00007f133d8c847a R08: 0000000000000000 R09: 0000000000000000 [ 49.969318][ T1861] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 49.977264][ T1861] R13: 0000000000000006 R14: 00007f133d99bf80 R15: 00007ffce97cbc68 [ 49.985403][ T1861] [ 54.579899][ T310] kworker/u4:3: attempt to access beyond end of device [ 54.579899][ T310] loop0: rw=1048577, sector=95, nr_sectors = 1 limit=64 [ 54.594135][ T310] Buffer I/O error on dev loop0, logical block 95, lost async page write [ 54.602642][ T310] kworker/u4:3: attempt to access beyond end of device [ 54.602642][ T310] loop0: rw=1048577, sector=96, nr_sectors = 1 limit=64 [ 54.617336][ T310] Buffer I/O error on dev loop0, logical block 96, lost async page write [ 54.626049][ T310] kworker/u4:3: attempt to access beyond end of device [ 54.626049][ T310] loop0: rw=1048577, sector=98, nr_sectors = 1 limit=64 [ 54.640203][ T310] Buffer I/O error on dev loop0, logical block 98, lost async page write [ 54.648606][ T310] kworker/u4:3: attempt to access beyond end of device [ 54.648606][ T310] loop0: rw=1048577, sector=100, nr_sectors = 1 limit=64 [ 54.663281][ T310] Buffer I/O error on dev loop0, logical block 100, lost async page write [ 54.672092][ T310] kworker/u4:3: attempt to access beyond end of device [ 54.672092][ T310] loop0: rw=1048577, sector=101, nr_sectors = 1 limit=64 [ 54.686505][ T310] Buffer I/O error on dev loop0, logical block 101, lost async page write [ 54.695474][ T310] kworker/u4:3: attempt to access beyond end of device [ 54.695474][ T310] loop0: rw=1048577, sector=102, nr_sectors = 1 limit=64 [ 54.709485][ T310] Buffer I/O error on dev loop0, logical block 102, lost async page write [ 54.718421][ T310] kworker/u4:3: attempt to access beyond end of device [ 54.718421][ T310] loop0: rw=1048577, sector=103, nr_sectors = 1 limit=64 [ 54.732564][ T310] Buffer I/O error on dev loop0, logical block 103, lost async page write [ 54.741083][ T310] kworker/u4:3: attempt to access beyond end of device [ 54.741083][ T310] loop0: rw=1048577, sector=104, nr_sectors = 1 limit=64 [ 54.755322][ T310] Buffer I/O error on dev loop0, logical block 104, lost async page write [ 54.765048][ T310] kworker/u4:3: attempt to access beyond end of device [ 54.765048][ T310] loop0: rw=1048577, sector=105, nr_sectors = 4064 limit=64