DUID 00:04:19:c0:d1:0e:d7:c0:27:6c:e7:df:2b:fb:70:54:6d:6b forked to background, child pid 3212 [ 26.892518][ T3213] 8021q: adding VLAN 0 to HW filter on device bond0 [ 26.911227][ T3213] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.1.8' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 53.131212][ T3538] loop0: detected capacity change from 0 to 1024 [ 53.140060][ T3538] ======================================================= [ 53.140060][ T3538] WARNING: The mand mount option has been deprecated and [ 53.140060][ T3538] and is ignored by this kernel. Remove the mand [ 53.140060][ T3538] option from the mount to silence this warning. [ 53.140060][ T3538] ======================================================= [ 53.186740][ T3538] [ 53.189151][ T3538] ============================================ [ 53.195303][ T3538] WARNING: possible recursive locking detected [ 53.201458][ T3538] 6.1.31-syzkaller #0 Not tainted [ 53.206476][ T3538] -------------------------------------------- [ 53.212603][ T3538] syz-executor410/3538 is trying to acquire lock: [ 53.218990][ T3538] ffff88807bad9548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x37f/0x14e0 [ 53.229856][ T3538] [ 53.229856][ T3538] but task is already holding lock: [ 53.237196][ T3538] ffff88807bada988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x2d6/0xb40 [ 53.248302][ T3538] [ 53.248302][ T3538] other info that might help us debug this: [ 53.256336][ T3538] Possible unsafe locking scenario: [ 53.256336][ T3538] [ 53.263762][ T3538] CPU0 [ 53.267018][ T3538] ---- [ 53.270269][ T3538] lock(&HFSPLUS_I(inode)->extents_lock); [ 53.276060][ T3538] lock(&HFSPLUS_I(inode)->extents_lock); [ 53.281850][ T3538] [ 53.281850][ T3538] *** DEADLOCK *** [ 53.281850][ T3538] [ 53.289965][ T3538] May be due to missing lock nesting notation [ 53.289965][ T3538] [ 53.298259][ T3538] 4 locks held by syz-executor410/3538: [ 53.303780][ T3538] #0: ffff88807bef6460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 [ 53.312894][ T3538] #1: ffff88807badab80 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: do_truncate+0x208/0x300 [ 53.323227][ T3538] #2: ffff88807bada988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x2d6/0xb40 [ 53.334770][ T3538] #3: ffff888076df08f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_free+0xb7/0x4d0 [ 53.344746][ T3538] [ 53.344746][ T3538] stack backtrace: [ 53.350612][ T3538] CPU: 0 PID: 3538 Comm: syz-executor410 Not tainted 6.1.31-syzkaller #0 [ 53.359171][ T3538] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 53.369222][ T3538] Call Trace: [ 53.372482][ T3538] [ 53.375392][ T3538] dump_stack_lvl+0x1e3/0x2cb [ 53.380062][ T3538] ? nf_tcp_handle_invalid+0x642/0x642 [ 53.385499][ T3538] ? panic+0x75d/0x75d [ 53.389548][ T3538] validate_chain+0x4726/0x58e0 [ 53.398904][ T3538] ? stack_trace_snprint+0xe0/0xe0 [ 53.404014][ T3538] ? check_noncircular+0x1e3/0x3b0 [ 53.409121][ T3538] ? reacquire_held_locks+0x660/0x660 [ 53.414480][ T3538] ? add_chain_block+0x850/0x850 [ 53.419408][ T3538] ? lockdep_unlock+0x165/0x300 [ 53.424248][ T3538] ? lockdep_lock+0x2a0/0x2a0 [ 53.428910][ T3538] ? look_up_lock_class+0x77/0x140 [ 53.434019][ T3538] ? register_lock_class+0x100/0x990 [ 53.439301][ T3538] ? validate_chain+0x13d1/0x58e0 [ 53.444316][ T3538] ? is_dynamic_key+0x1f0/0x1f0 [ 53.449147][ T3538] ? mark_lock+0x9a/0x340 [ 53.453454][ T3538] __lock_acquire+0x125b/0x1f80 [ 53.458301][ T3538] lock_acquire+0x1f8/0x5a0 [ 53.463129][ T3538] ? hfsplus_get_block+0x37f/0x14e0 [ 53.468311][ T3538] ? read_lock_is_recursive+0x10/0x10 [ 53.473678][ T3538] ? __might_sleep+0xb0/0xb0 [ 53.478392][ T3538] ? do_truncate+0x21c/0x300 [ 53.483233][ T3538] ? is_dynamic_key+0x1f0/0x1f0 [ 53.488068][ T3538] ? entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 53.494121][ T3538] ? mark_lock+0x9a/0x340 [ 53.498431][ T3538] __mutex_lock_common+0x1d4/0x2520 [ 53.503611][ T3538] ? hfsplus_get_block+0x37f/0x14e0 [ 53.508808][ T3538] ? hfsplus_get_block+0x37f/0x14e0 [ 53.514000][ T3538] ? mutex_lock_io_nested+0x60/0x60 [ 53.519204][ T3538] mutex_lock_nested+0x17/0x20 [ 53.523955][ T3538] hfsplus_get_block+0x37f/0x14e0 [ 53.529000][ T3538] ? hfsplus_ext_write_extent+0x1f0/0x1f0 [ 53.534719][ T3538] ? do_raw_spin_unlock+0x137/0x8a0 [ 53.539934][ T3538] ? create_page_buffers+0x24e/0x4b0 [ 53.545204][ T3538] block_read_full_folio+0x403/0xf60 [ 53.550475][ T3538] ? hfsplus_ext_write_extent+0x1f0/0x1f0 [ 53.556176][ T3538] ? block_is_partially_uptodate+0x590/0x590 [ 53.562137][ T3538] ? folio_add_lru+0xa80/0xa80 [ 53.566883][ T3538] ? folio_add_lru+0x42e/0xa80 [ 53.571627][ T3538] filemap_read_folio+0x199/0x780 [ 53.576656][ T3538] ? filemap_add_folio+0x570/0x570 [ 53.581835][ T3538] ? hfsplus_writepage+0x30/0x30 [ 53.586756][ T3538] ? maybe_unlock_mmap_for_io+0x130/0x130 [ 53.592457][ T3538] ? __mutex_lock_common+0x429/0x2520 [ 53.597830][ T3538] ? mutex_lock_io_nested+0x60/0x60 [ 53.603020][ T3538] do_read_cache_folio+0x2ee/0x810 [ 53.608396][ T3538] ? hfsplus_writepage+0x30/0x30 [ 53.613339][ T3538] do_read_cache_page+0x32/0x220 [ 53.618267][ T3538] hfsplus_block_free+0x124/0x4d0 [ 53.623282][ T3538] hfsplus_free_extents+0x17a/0xae0 [ 53.628471][ T3538] hfsplus_file_truncate+0x7cc/0xb40 [ 53.633746][ T3538] ? hfsplus_add_extent+0x880/0x880 [ 53.638943][ T3538] ? unmap_mapping_range+0xf4/0x280 [ 53.644137][ T3538] ? unmap_mapping_pages+0x180/0x180 [ 53.649417][ T3538] ? current_time+0x1d1/0x2f0 [ 53.654253][ T3538] ? setattr_prepare+0x1e0/0xc20 [ 53.659172][ T3538] ? truncate_setsize+0xcb/0xf0 [ 53.664011][ T3538] hfsplus_setattr+0x1b9/0x280 [ 53.668788][ T3538] ? hfsplus_fileattr_set+0x330/0x330 [ 53.674141][ T3538] notify_change+0xdcd/0x1080 [ 53.678795][ T3538] do_truncate+0x21c/0x300 [ 53.683277][ T3538] ? put_page_bootmem+0x2e0/0x2e0 [ 53.688282][ T3538] ? bpf_lsm_path_truncate+0x5/0x10 [ 53.693463][ T3538] vfs_truncate+0x2dd/0x3a0 [ 53.697945][ T3538] do_sys_truncate+0xda/0x190 [ 53.702603][ T3538] ? break_lease+0xd0/0xd0 [ 53.706996][ T3538] ? syscall_enter_from_user_mode+0x2e/0x220 [ 53.712956][ T3538] ? lockdep_hardirqs_on+0x94/0x130 [ 53.718132][ T3538] ? syscall_enter_from_user_mode+0x2e/0x220 [ 53.724097][ T3538] do_syscall_64+0x3d/0xb0 [ 53.728495][ T3538] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 53.734365][ T3538] RIP: 0033:0x7f7071e85789 [ 53.738759][ T3538] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 53.758516][ T3538] RSP: 002b:00007ffe8b9ee908 EFLAGS: 00000246 ORIG_RAX: 000000000000004c [ 53.767169][ T3538] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f7071e85789 [ 53.775125][ T3538] RDX: 00007f7071e43e03 RSI: 0000000000000000 RDI: 0000000020000040 [ 53.783170][ T3538] RBP: 00007f7071e45020 R08: 000000000000064b R09: 000