Warning: Permanently added '10.128.0.231' (ED25519) to the list of known hosts. 2023/10/21 07:54:40 ignoring optional flag "sandboxArg"="0" 2023/10/21 07:54:41 parsed 1 programs 2023/10/21 07:54:42 executed programs: 0 [ 47.481261][ T1435] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 49.883088][ T1860] loop0: detected capacity change from 0 to 64 [ 49.916812][ T1860] [ 49.919142][ T1860] ============================================ [ 49.925518][ T1860] WARNING: possible recursive locking detected [ 49.931723][ T1860] 6.1.59-syzkaller #0 Not tainted [ 49.936715][ T1860] -------------------------------------------- [ 49.942841][ T1860] syz-executor.0/1860 is trying to acquire lock: [ 49.949491][ T1860] ffff88810ee810b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x76/0x80 [ 49.958590][ T1860] [ 49.958590][ T1860] but task is already holding lock: [ 49.966107][ T1860] ffff88810ee810b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x76/0x80 [ 49.975361][ T1860] [ 49.975361][ T1860] other info that might help us debug this: [ 49.983485][ T1860] Possible unsafe locking scenario: [ 49.983485][ T1860] [ 49.990908][ T1860] CPU0 [ 49.994165][ T1860] ---- [ 49.997432][ T1860] lock(&tree->tree_lock/1); [ 50.002085][ T1860] lock(&tree->tree_lock/1); [ 50.006906][ T1860] [ 50.006906][ T1860] *** DEADLOCK *** [ 50.006906][ T1860] [ 50.015040][ T1860] May be due to missing lock nesting notation [ 50.015040][ T1860] [ 50.023339][ T1860] 6 locks held by syz-executor.0/1860: [ 50.028767][ T1860] #0: ffff88810aee6ee8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xa6/0xc0 [ 50.037937][ T1860] #1: ffff888106b84450 (sb_writers#13){.+.+}-{0:0}, at: vfs_write+0xbc/0x2b0 [ 50.046928][ T1860] #2: ffff8881047494a8 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: generic_file_write_iter+0x27/0xb0 [ 50.058101][ T1860] #3: ffff8881047492f8 (&HFS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfs_extend_file+0x3c/0x470 [ 50.068737][ T1860] #4: ffff88810ee810b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x76/0x80 [ 50.078417][ T1860] #5: ffff8881047480f8 (&HFS_I(tree->inode)->extents_lock){+.+.}-{3:3}, at: hfs_extend_file+0x3c/0x470 [ 50.089663][ T1860] [ 50.089663][ T1860] stack backtrace: [ 50.095525][ T1860] CPU: 0 PID: 1860 Comm: syz-executor.0 Not tainted 6.1.59-syzkaller #0 [ 50.103810][ T1860] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 [ 50.113917][ T1860] Call Trace: [ 50.117170][ T1860] [ 50.120074][ T1860] dump_stack_lvl+0x89/0xd7 [ 50.124541][ T1860] __lock_acquire+0x73d/0x2830 [ 50.129272][ T1860] ? fs_reclaim_acquire+0x6b/0xe0 [ 50.134454][ T1860] ? hfs_find_init+0x76/0x80 [ 50.139017][ T1860] lock_acquire+0xe3/0x270 [ 50.143415][ T1860] ? hfs_find_init+0x76/0x80 [ 50.148075][ T1860] ? slab_post_alloc_hook+0x67/0x460 [ 50.153513][ T1860] ? hfs_find_init+0x76/0x80 [ 50.158154][ T1860] __mutex_lock+0x99/0x970 [ 50.162797][ T1860] ? hfs_find_init+0x76/0x80 [ 50.167481][ T1860] hfs_find_init+0x76/0x80 [ 50.171950][ T1860] hfs_extend_file+0xc7/0x470 [ 50.176592][ T1860] hfs_bmap_reserve+0x20/0x90 [ 50.181231][ T1860] __hfs_ext_write_extent+0x7a/0xb0 [ 50.186392][ T1860] __hfs_ext_cache_extent+0x21/0x100 [ 50.191739][ T1860] hfs_extend_file+0xf4/0x470 [ 50.196474][ T1860] hfs_get_block+0xa3/0x2d0 [ 50.200939][ T1860] __block_write_begin_int+0x13b/0x670 [ 50.206380][ T1860] ? hfs_free_extents+0x100/0x100 [ 50.211552][ T1860] ? hfs_free_extents+0x100/0x100 [ 50.216627][ T1860] block_write_begin+0x45/0xa0 [ 50.221362][ T1860] cont_write_begin+0x291/0x2c0 [ 50.226264][ T1860] hfs_write_begin+0x28/0x50 [ 50.230902][ T1860] ? hfs_free_extents+0x100/0x100 [ 50.236063][ T1860] generic_perform_write+0x9e/0x220 [ 50.241222][ T1860] __generic_file_write_iter+0x82/0x140 [ 50.246729][ T1860] generic_file_write_iter+0x42/0xb0 [ 50.252233][ T1860] vfs_write+0x23a/0x2b0 [ 50.256528][ T1860] ksys_write+0x6c/0xd0 [ 50.260738][ T1860] do_syscall_64+0x3d/0x80 [ 50.265120][ T1860] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.271083][ T1860] RIP: 0033:0x7f87e287cae9 [ 50.275648][ T1860] 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.295220][ T1860] RSP: 002b:00007f87e35680c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 50.303605][ T1860] RAX: ffffffffffffffda RBX: 00007f87e299bf80 RCX: 00007f87e287cae9 [ 50.311542][ T1860] RDX: 000000000208e24b RSI: 0000000020000180 RDI: 0000000000000004 [ 50.319482][ T1860] RBP: 00007f87e28c847a R08: 0000000000000000 R09: 0000000000000000 [ 50.327420][ T1860] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 50.335455][ T1860] R13: 0000000000000006 R14: 00007f87e299bf80 R15: 00007ffcd065a9c8 [ 50.343502][ T1860] [ 54.949428][ T268] kworker/u4:3: attempt to access beyond end of device [ 54.949428][ T268] loop0: rw=1048577, sector=95, nr_sectors = 1 limit=64 [ 54.963284][ T268] Buffer I/O error on dev loop0, logical block 95, lost async page write [ 54.972054][ T268] kworker/u4:3: attempt to access beyond end of device [ 54.972054][ T268] loop0: rw=1048577, sector=96, nr_sectors = 1 limit=64 [ 54.985846][ T268] Buffer I/O error on dev loop0, logical block 96, lost async page write [ 54.994259][ T268] kworker/u4:3: attempt to access beyond end of device [ 54.994259][ T268] loop0: rw=1048577, sector=98, nr_sectors = 1 limit=64 [ 55.008507][ T268] Buffer I/O error on dev loop0, logical block 98, lost async page write [ 55.016939][ T268] kworker/u4:3: attempt to access beyond end of device [ 55.016939][ T268] loop0: rw=1048577, sector=100, nr_sectors = 1 limit=64 [ 55.030807][ T268] Buffer I/O error on dev loop0, logical block 100, lost async page write [ 55.039484][ T268] kworker/u4:3: attempt to access beyond end of device [ 55.039484][ T268] loop0: rw=1048577, sector=101, nr_sectors = 1 limit=64 [ 55.053370][ T268] Buffer I/O error on dev loop0, logical block 101, lost async page write [ 55.062056][ T268] kworker/u4:3: attempt to access beyond end of device [ 55.062056][ T268] loop0: rw=1048577, sector=102, nr_sectors = 1 limit=64 [ 55.076241][ T268] Buffer I/O error on dev loop0, logical block 102, lost async page write [ 55.085016][ T268] kworker/u4:3: attempt to access beyond end of device [ 55.085016][ T268] loop0: rw=1048577, sector=103, nr_sectors = 1 limit=64 [ 55.099175][ T268] Buffer I/O error on dev loop0, logical block 103, lost async page write [ 55.107703][ T268] kworker/u4:3: attempt to access beyond end of device [ 55.107703][ T268] loop0: rw=1048577, sector=104, nr_sectors = 1 limit=64 [ 55.121659][ T268] Buffer I/O error on dev loop0, logical block 104, lost async page write [ 55.130717][ T268] kworker/u4:3: attempt to access beyond end of device [ 55.130717][ T268] loop0: rw=1048577, sector=105, nr_sectors = 2120 limit=64 [ 55.145271][ T268] kworker/u4:3: attempt to access beyond end of device [ 55.145271][ T268] loop0: rw=1048577, sector=2225, nr_sectors = 1944 limit=64