Warning: Permanently added '10.128.1.104' (ED25519) to the list of known hosts. 2023/09/18 18:42:40 ignoring optional flag "sandboxArg"="0" 2023/09/18 18:42:40 parsed 1 programs 2023/09/18 18:42:42 executed programs: 0 [ 47.785265] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k FS [ 47.831180] IPVS: ftp: loaded support on port[0] = 21 [ 49.353114] ================================================================== [ 49.360586] BUG: KASAN: wild-memory-access in hfsplus_bnode_read+0xc7/0x180 [ 49.367928] Read of size 1 at addr 0005080000000fff by task syz-executor.0/3031 [ 49.375588] [ 49.377202] CPU: 0 PID: 3031 Comm: syz-executor.0 Not tainted 4.19.0-syzkaller #0 [ 49.384802] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 [ 49.394142] Call Trace: [ 49.396802] dump_stack+0x10c/0x17a [ 49.400427] kasan_report.cold.7+0x6d/0x305 [ 49.404818] ? hfsplus_bnode_read+0xc7/0x180 [ 49.409206] check_memory_region+0x13c/0x1b0 [ 49.413592] memcpy+0x23/0x50 [ 49.416695] hfsplus_bnode_read+0xc7/0x180 [ 49.420906] ? do_raw_spin_unlock+0x172/0x260 [ 49.425466] hfsplus_bnode_find+0x544/0x950 [ 49.429857] ? hfsplus_bnode_put.part.1+0x3a0/0x3a0 [ 49.435111] ? unwind_next_frame.part.6+0x19a/0x940 [ 49.440107] ? unwind_dump+0x110/0x110 [ 49.444423] ? kasan_check_read+0x11/0x20 [ 49.448645] ? rcu_is_watching+0x27/0x70 [ 49.452793] hfsplus_bmap_alloc+0x33a/0xc60 [ 49.457268] ? unwind_get_return_address+0x58/0xa0 [ 49.462185] ? __save_stack_trace+0x8d/0xf0 [ 49.466881] ? hfsplus_btree_write+0x450/0x450 [ 49.471446] ? __lock_acquire.isra.10+0xae8/0x1870 [ 49.476707] ? kasan_kmalloc+0xaf/0xc0 [ 49.480788] ? __kmalloc+0x139/0x260 [ 49.484773] ? hfsplus_find_init+0x96/0x200 [ 49.489255] hfs_btree_inc_height+0xd1/0x970 [ 49.493644] ? hfs_bnode_split+0xe30/0xe30 [ 49.498105] ? kasan_check_write+0x14/0x20 [ 49.502315] ? __mutex_lock+0x623/0xd80 [ 49.506738] ? hfsplus_find_init+0x150/0x200 [ 49.511138] ? kasan_check_write+0x14/0x20 [ 49.515489] hfsplus_brec_insert+0x1ad/0xc40 [ 49.520136] ? fs_reclaim_release+0xf/0x30 [ 49.524362] ? hfsplus_brec_insert.cold.1+0x11/0x11 [ 49.529355] ? hfsplus_brec_keylen+0x2d0/0x2d0 [ 49.533939] ? kasan_kmalloc+0xaf/0xc0 [ 49.537856] __hfsplus_ext_write_extent+0x3b5/0x500 [ 49.542932] ? mutex_lock_nested+0x16/0x20 [ 49.547249] ? mutex_lock_nested+0x16/0x20 [ 49.551493] hfsplus_ext_read_extent+0x7e4/0xd70 [ 49.556229] ? __hfsplus_ext_write_extent+0x500/0x500 [ 49.561673] ? pagevec_lookup_range+0x23/0x60 [ 49.566149] hfsplus_file_extend+0x5d7/0xee0 [ 49.570542] ? hfsplus_free_fork+0x7f0/0x7f0 [ 49.575053] ? find_held_lock+0x1b0/0x300 [ 49.579212] ? _raw_spin_unlock+0x22/0x30 [ 49.583512] hfsplus_get_block+0x132/0x8d0 [ 49.587723] __block_write_begin_int+0x35f/0x1a90 [ 49.592557] ? hfsplus_file_extend+0xee0/0xee0 [ 49.597118] ? __breadahead+0xc0/0xc0 [ 49.600984] ? pagecache_get_page.part.5+0x26d/0x8e0 [ 49.606076] ? kasan_check_write+0x14/0x20 [ 49.610384] ? hfsplus_file_extend+0xee0/0xee0 [ 49.615157] block_write_begin+0x48/0x260 [ 49.619371] cont_write_begin+0x39c/0x5e0 [ 49.623774] ? hfsplus_file_extend+0xee0/0xee0 [ 49.628419] ? block_write_begin+0x260/0x260 [ 49.632974] ? unlock_page_memcg+0x2c/0x40 [ 49.637297] ? mark_buffer_dirty+0x23a/0x370 [ 49.641683] ? __block_commit_write.isra.9+0xfb/0x230 [ 49.646940] hfsplus_write_begin+0x79/0x150 [ 49.651355] ? hfsplus_file_extend+0xee0/0xee0 [ 49.656089] ? balance_dirty_pages+0x2560/0x2560 [ 49.661081] pagecache_write_begin+0x59/0xc0 [ 49.665658] cont_write_begin+0x1ce/0x5e0 [ 49.669995] ? hfsplus_file_extend+0xee0/0xee0 [ 49.674553] ? block_write_begin+0x260/0x260 [ 49.679719] ? lock_acquire+0x177/0x310 [ 49.683863] ? smk_access_entry+0x1e0/0x1e0 [ 49.688163] hfsplus_write_begin+0x79/0x150 [ 49.692545] ? hfsplus_file_extend+0xee0/0xee0 [ 49.697335] ? smk_tskacc+0x227/0x3d0 [ 49.701136] pagecache_write_begin+0x59/0xc0 [ 49.705548] ? kasan_check_read+0x11/0x20 [ 49.709873] generic_cont_expand_simple+0x102/0x140 [ 49.715287] ? page_zero_new_buffers+0x450/0x450 [ 49.720113] ? smack_d_instantiate+0xf40/0xf40 [ 49.724763] ? setattr_prepare+0xd7/0x610 [ 49.729163] hfsplus_setattr+0x119/0x1f0 [ 49.733318] notify_change+0x6ba/0xcb0 [ 49.737195] do_truncate+0xef/0x1a0 [ 49.740807] ? __se_sys_close+0x80/0x80 [ 49.744758] ? lock_acquire+0x177/0x310 [ 49.748731] ? __sb_start_write+0x137/0x1e0 [ 49.753046] ? do_sys_ftruncate+0x1eb/0x480 [ 49.757452] do_sys_ftruncate+0x2be/0x480 [ 49.761581] __x64_sys_ftruncate+0x54/0x80 [ 49.765897] do_syscall_64+0xca/0x340 [ 49.769767] ? prepare_exit_to_usermode+0xec/0x130 [ 49.774857] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 49.780114] RIP: 0033:0x7f9ffb38ab29 [ 49.783811] 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.803274] RSP: 002b:00007f9ffaf0d0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d [ 49.811138] RAX: ffffffffffffffda RBX: 00007f9ffb4a9f80 RCX: 00007f9ffb38ab29 [ 49.818402] RDX: 0000000000000000 RSI: 0000000000048280 RDI: 0000000000000004 [ 49.825672] RBP: 00007f9ffb3d647a R08: 0000000000000000 R09: 0000000000000000 [ 49.833104] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 49.840448] R13: 0000000000000006 R14: 00007f9ffb4a9f80 R15: 00007ffd0a021068 [ 49.847987] ================================================================== [ 49.855692] Disabling lock debugging due to kernel taint [ 49.861617] Kernel panic - not syncing: panic_on_warn set ... [ 49.861617] [ 49.869335] Kernel Offset: disabled [ 49.872953] Rebooting in 86400 seconds..