./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor7219622 <...> DUID 00:04:dd:0f:a4:e5:cb:b8:04:95:2f:30:92:03:b3:b6:0d:bc forked to background, child pid 4646 [ 30.844328][ T4647] 8021q: adding VLAN 0 to HW filter on device bond0 [ 30.854022][ T4647] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.1.72' (ECDSA) to the list of known hosts. execve("./syz-executor7219622", ["./syz-executor7219622"], 0x7ffec91d3f30 /* 10 vars */) = 0 brk(NULL) = 0x555555d68000 brk(0x555555d68c40) = 0x555555d68c40 arch_prctl(ARCH_SET_FS, 0x555555d68300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor7219622", 4096) = 25 brk(0x555555d89c40) = 0x555555d89c40 brk(0x555555d8a000) = 0x555555d8a000 mprotect(0x7f89be43d000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f89b5f84000 write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 munmap(0x7f89b5f84000, 524288) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./bus", 0777) = 0 mount("/dev/loop0", "./bus", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "") = 0 openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 chdir("./bus") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 creat("./bus", 000) = 4 syzkaller login: [ 54.350461][ T5074] loop0: detected capacity change from 0 to 1024 [ 54.359627][ T5074] ======================================================= [ 54.359627][ T5074] WARNING: The mand mount option has been deprecated and [ 54.359627][ T5074] and is ignored by this kernel. Remove the mand [ 54.359627][ T5074] option from the mount to silence this warning. [ 54.359627][ T5074] ======================================================= [ 54.420310][ T5074] ================================================================== [ 54.428446][ T5074] BUG: KASAN: wild-memory-access in hfsplus_bnode_read+0xf1/0x200 [ 54.436282][ T5074] Read of size 1 at addr 000508800000103f by task syz-executor721/5074 [ 54.444591][ T5074] [ 54.446900][ T5074] CPU: 1 PID: 5074 Comm: syz-executor721 Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #0 [ 54.456964][ T5074] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 54.467007][ T5074] Call Trace: [ 54.470270][ T5074] [ 54.473184][ T5074] dump_stack_lvl+0x1b1/0x290 [ 54.477860][ T5074] ? nf_tcp_handle_invalid+0x630/0x630 [ 54.483300][ T5074] ? panic+0x710/0x710 [ 54.487346][ T5074] ? _printk+0xc0/0x100 [ 54.491479][ T5074] ? _raw_spin_lock_irqsave+0x8e/0x100 [ 54.496927][ T5074] ? panic+0x710/0x710 [ 54.500975][ T5074] print_report+0xed/0x1f0 [ 54.505373][ T5074] ? PageHeadHuge+0x8a/0x1d0 [ 54.510114][ T5074] ? __virt_addr_valid+0x54/0x2d0 [ 54.515236][ T5074] ? hfsplus_bnode_read+0xf1/0x200 [ 54.520330][ T5074] kasan_report+0xcd/0x100 [ 54.524732][ T5074] ? hfsplus_bnode_read+0xf1/0x200 [ 54.529831][ T5074] ? hfsplus_bnode_read+0xf1/0x200 [ 54.534922][ T5074] kasan_check_range+0x2a7/0x2e0 [ 54.539856][ T5074] ? hfsplus_bnode_read+0xf1/0x200 [ 54.544951][ T5074] memcpy+0x25/0x60 [ 54.548740][ T5074] hfsplus_bnode_read+0xf1/0x200 [ 54.553677][ T5074] hfsplus_bnode_find+0x749/0xd80 [ 54.558687][ T5074] ? stack_trace_snprint+0xf0/0xf0 [ 54.563783][ T5074] ? hfsplus_bnode_unlink+0x5d0/0x5d0 [ 54.569140][ T5074] ? hfsplus_bmap_reserve+0x4be/0x500 [ 54.574500][ T5074] ? lockdep_lock+0x290/0x290 [ 54.579158][ T5074] hfsplus_bmap_alloc+0xa0/0x610 [ 54.584081][ T5074] ? hfsplus_bmap_reserve+0x500/0x500 [ 54.589435][ T5074] hfs_btree_inc_height+0xe2/0xd30 [ 54.594529][ T5074] ? hfsplus_brec_insert+0xd70/0xd70 [ 54.599796][ T5074] ? rcu_read_lock_sched_held+0x87/0x110 [ 54.605409][ T5074] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 54.611369][ T5074] hfsplus_brec_insert+0x130/0xd70 [ 54.616464][ T5074] ? hfsplus_find_init+0x80/0x1b0 [ 54.621469][ T5074] ? trace_contention_end+0x72/0x1d0 [ 54.626735][ T5074] ? __mutex_lock_common+0x45f/0x26e0 [ 54.632087][ T5074] ? hfsplus_brec_find+0x15f/0x520 [ 54.637184][ T5074] ? hfsplus_bmap_reserve+0x4be/0x500 [ 54.642536][ T5074] ? hfsplus_brec_keylen+0x310/0x310 [ 54.647816][ T5074] ? mutex_lock_io_nested+0x60/0x60 [ 54.652995][ T5074] ? __kmem_cache_alloc_node+0x21a/0x340 [ 54.658608][ T5074] __hfsplus_ext_write_extent+0x356/0x590 [ 54.664318][ T5074] __hfsplus_ext_cache_extent+0x8d/0x810 [ 54.669934][ T5074] ? mutex_lock_nested+0x17/0x20 [ 54.674851][ T5074] hfsplus_file_extend+0x3cc/0x19d0 [ 54.680033][ T5074] ? hfsplus_get_block+0x1560/0x1560 [ 54.685296][ T5074] ? filemap_get_folios+0x557/0x830 [ 54.690480][ T5074] ? find_lock_entries+0x1310/0x1310 [ 54.695747][ T5074] ? trace_writeback_dirty_inode+0xdf/0x2b0 [ 54.701625][ T5074] hfsplus_get_block+0x415/0x1560 [ 54.706631][ T5074] ? create_empty_buffers+0xe30/0xe30 [ 54.711989][ T5074] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 54.717698][ T5074] ? do_raw_spin_unlock+0x134/0x8a0 [ 54.722880][ T5074] ? folio_alloc+0x47/0x50 [ 54.727291][ T5074] ? create_page_buffers+0x244/0x4b0 [ 54.732730][ T5074] __block_write_begin_int+0x54c/0x1a80 [ 54.738420][ T5074] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 54.744136][ T5074] ? page_zero_new_buffers+0x940/0x940 [ 54.749576][ T5074] ? PageHeadHuge+0x8a/0x1d0 [ 54.754147][ T5074] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 54.759845][ T5074] block_write_begin+0x93/0x1e0 [ 54.764677][ T5074] ? cont_write_begin+0x5e5/0x860 [ 54.769685][ T5074] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 54.775382][ T5074] cont_write_begin+0x606/0x860 [ 54.780218][ T5074] ? generic_cont_expand_simple+0x250/0x250 [ 54.786091][ T5074] ? trace_writeback_dirty_inode+0xdf/0x2b0 [ 54.791986][ T5074] ? __mark_inode_dirty+0x24a/0x600 [ 54.797167][ T5074] hfsplus_write_begin+0x86/0xd0 [ 54.802084][ T5074] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 54.807787][ T5074] cont_write_begin+0x2cf/0x860 [ 54.812623][ T5074] ? generic_cont_expand_simple+0x250/0x250 [ 54.818500][ T5074] ? ktime_get_coarse_real_ts64+0x45/0x140 [ 54.824294][ T5074] ? lockdep_hardirqs_on+0x8d/0x130 [ 54.829497][ T5074] ? seqcount_lockdep_reader_access+0x1a2/0x1f0 [ 54.835719][ T5074] ? ktime_get_real_ts64+0x4b0/0x4b0 [ 54.841002][ T5074] hfsplus_write_begin+0x86/0xd0 [ 54.845931][ T5074] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 54.851634][ T5074] generic_cont_expand_simple+0x151/0x250 [ 54.857336][ T5074] ? submit_bh+0x20/0x20 [ 54.861566][ T5074] ? current_time+0x1ea/0x300 [ 54.866223][ T5074] ? setattr_prepare+0x1fc/0xc10 [ 54.871142][ T5074] hfsplus_setattr+0x168/0x280 [ 54.875891][ T5074] ? hfsplus_fileattr_set+0x330/0x330 [ 54.881246][ T5074] notify_change+0xe50/0x1100 [ 54.885906][ T5074] do_truncate+0x200/0x2f0 [ 54.890304][ T5074] ? put_page_bootmem+0x2d0/0x2d0 [ 54.895315][ T5074] do_sys_ftruncate+0x2b0/0x350 [ 54.900144][ T5074] do_syscall_64+0x3d/0xb0 [ 54.904542][ T5074] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.910423][ T5074] RIP: 0033:0x7f89be3d07a9 [ 54.914825][ T5074] 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 [ 54.934415][ T5074] RSP: 002b:00007fff0ca4aac8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d [ 54.942807][ T5074] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f89be3d07a9 [ 54.950769][ T5074] RDX: 0000000000000000 RSI: 0000000000048280 RDI: 0000000000000004 [ 54.958732][ T5074] RBP: 00007f89be390040 R08: 0000000000000000 R09: 0000000000000000 [ 54.966683][ T5074] R10: 00000000000005f1 R11: 0000000000000246 R12: 00007f89be3900d0 [ 54.974632][ T5074] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 54.982593][ T5074] [ 54.985600][ T5074] ================================================================== [ 54.993919][ T5074] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 55.001123][ T5074] CPU: 0 PID: 5074 Comm: syz-executor721 Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #0 [ 55.011177][ T5074] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 55.021218][ T5074] Call Trace: [ 55.024486][ T5074] [ 55.027407][ T5074] dump_stack_lvl+0x1b1/0x290 [ 55.032081][ T5074] ? nf_tcp_handle_invalid+0x630/0x630 [ 55.037536][ T5074] ? panic+0x710/0x710 [ 55.041616][ T5074] ? lock_release+0x81/0x820 [ 55.046197][ T5074] ? vscnprintf+0x59/0x80 [ 55.050516][ T5074] panic+0x2d6/0x710 [ 55.054397][ T5074] ? asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 55.060543][ T5074] ? check_panic_on_warn+0x1d/0xa0 [ 55.065649][ T5074] ? memcpy_page_flushcache+0x100/0x100 [ 55.071187][ T5074] ? _raw_spin_unlock_irqrestore+0x110/0x120 [ 55.077161][ T5074] ? _raw_spin_unlock+0x40/0x40 [ 55.082007][ T5074] ? print_report+0xed/0x1f0 [ 55.086597][ T5074] ? PageHeadHuge+0x8a/0x1d0 [ 55.091185][ T5074] check_panic_on_warn+0x80/0xa0 [ 55.096115][ T5074] ? hfsplus_bnode_read+0xf1/0x200 [ 55.101220][ T5074] end_report+0x47/0x90 [ 55.105374][ T5074] kasan_report+0xda/0x100 [ 55.109785][ T5074] ? hfsplus_bnode_read+0xf1/0x200 [ 55.114890][ T5074] ? hfsplus_bnode_read+0xf1/0x200 [ 55.120007][ T5074] kasan_check_range+0x2a7/0x2e0 [ 55.124938][ T5074] ? hfsplus_bnode_read+0xf1/0x200 [ 55.130043][ T5074] memcpy+0x25/0x60 [ 55.133850][ T5074] hfsplus_bnode_read+0xf1/0x200 [ 55.138783][ T5074] hfsplus_bnode_find+0x749/0xd80 [ 55.143803][ T5074] ? stack_trace_snprint+0xf0/0xf0 [ 55.148912][ T5074] ? hfsplus_bnode_unlink+0x5d0/0x5d0 [ 55.154280][ T5074] ? hfsplus_bmap_reserve+0x4be/0x500 [ 55.159651][ T5074] ? lockdep_lock+0x290/0x290 [ 55.164322][ T5074] hfsplus_bmap_alloc+0xa0/0x610 [ 55.169259][ T5074] ? hfsplus_bmap_reserve+0x500/0x500 [ 55.174628][ T5074] hfs_btree_inc_height+0xe2/0xd30 [ 55.179741][ T5074] ? hfsplus_brec_insert+0xd70/0xd70 [ 55.185023][ T5074] ? rcu_read_lock_sched_held+0x87/0x110 [ 55.190647][ T5074] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 55.196626][ T5074] hfsplus_brec_insert+0x130/0xd70 [ 55.201731][ T5074] ? hfsplus_find_init+0x80/0x1b0 [ 55.206747][ T5074] ? trace_contention_end+0x72/0x1d0 [ 55.212026][ T5074] ? __mutex_lock_common+0x45f/0x26e0 [ 55.217391][ T5074] ? hfsplus_brec_find+0x15f/0x520 [ 55.222500][ T5074] ? hfsplus_bmap_reserve+0x4be/0x500 [ 55.227866][ T5074] ? hfsplus_brec_keylen+0x310/0x310 [ 55.233144][ T5074] ? mutex_lock_io_nested+0x60/0x60 [ 55.238332][ T5074] ? __kmem_cache_alloc_node+0x21a/0x340 [ 55.243961][ T5074] __hfsplus_ext_write_extent+0x356/0x590 [ 55.249674][ T5074] __hfsplus_ext_cache_extent+0x8d/0x810 [ 55.255295][ T5074] ? mutex_lock_nested+0x17/0x20 [ 55.260245][ T5074] hfsplus_file_extend+0x3cc/0x19d0 [ 55.265453][ T5074] ? hfsplus_get_block+0x1560/0x1560 [ 55.270729][ T5074] ? filemap_get_folios+0x557/0x830 [ 55.275951][ T5074] ? find_lock_entries+0x1310/0x1310 [ 55.281247][ T5074] ? trace_writeback_dirty_inode+0xdf/0x2b0 [ 55.287140][ T5074] hfsplus_get_block+0x415/0x1560 [ 55.292165][ T5074] ? create_empty_buffers+0xe30/0xe30 [ 55.297541][ T5074] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 55.303259][ T5074] ? do_raw_spin_unlock+0x134/0x8a0 [ 55.308455][ T5074] ? folio_alloc+0x47/0x50 [ 55.312865][ T5074] ? create_page_buffers+0x244/0x4b0 [ 55.318145][ T5074] __block_write_begin_int+0x54c/0x1a80 [ 55.323694][ T5074] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 55.329408][ T5074] ? page_zero_new_buffers+0x940/0x940 [ 55.334869][ T5074] ? PageHeadHuge+0x8a/0x1d0 [ 55.339450][ T5074] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 55.345162][ T5074] block_write_begin+0x93/0x1e0 [ 55.350004][ T5074] ? cont_write_begin+0x5e5/0x860 [ 55.355017][ T5074] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 55.360727][ T5074] cont_write_begin+0x606/0x860 [ 55.365578][ T5074] ? generic_cont_expand_simple+0x250/0x250 [ 55.371464][ T5074] ? trace_writeback_dirty_inode+0xdf/0x2b0 [ 55.377349][ T5074] ? __mark_inode_dirty+0x24a/0x600 [ 55.382538][ T5074] hfsplus_write_begin+0x86/0xd0 [ 55.387469][ T5074] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 55.393196][ T5074] cont_write_begin+0x2cf/0x860 [ 55.398043][ T5074] ? generic_cont_expand_simple+0x250/0x250 [ 55.403953][ T5074] ? ktime_get_coarse_real_ts64+0x45/0x140 [ 55.409777][ T5074] ? lockdep_hardirqs_on+0x8d/0x130 [ 55.414981][ T5074] ? seqcount_lockdep_reader_access+0x1a2/0x1f0 [ 55.421220][ T5074] ? ktime_get_real_ts64+0x4b0/0x4b0 [ 55.426520][ T5074] hfsplus_write_begin+0x86/0xd0 [ 55.431469][ T5074] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 55.437201][ T5074] generic_cont_expand_simple+0x151/0x250 [ 55.442922][ T5074] ? submit_bh+0x20/0x20 [ 55.447159][ T5074] ? current_time+0x1ea/0x300 [ 55.452001][ T5074] ? setattr_prepare+0x1fc/0xc10 [ 55.456931][ T5074] hfsplus_setattr+0x168/0x280 [ 55.461684][ T5074] ? hfsplus_fileattr_set+0x330/0x330 [ 55.467066][ T5074] notify_change+0xe50/0x1100 [ 55.471761][ T5074] do_truncate+0x200/0x2f0 [ 55.476179][ T5074] ? put_page_bootmem+0x2d0/0x2d0 [ 55.481235][ T5074] do_sys_ftruncate+0x2b0/0x350 [ 55.486343][ T5074] do_syscall_64+0x3d/0xb0 [ 55.490758][ T5074] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.496652][ T5074] RIP: 0033:0x7f89be3d07a9 [ 55.501058][ T5074] 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 [ 55.520651][ T5074] RSP: 002b:00007fff0ca4aac8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d [ 55.529141][ T5074] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f89be3d07a9 [ 55.537109][ T5074] RDX: 0000000000000000 RSI: 0000000000048280 RDI: 0000000000000004 [ 55.545071][ T5074] RBP: 00007f89be390040 R08: 0000000000000000 R09: 0000000000000000 [ 55.553029][ T5074] R10: 00000000000005f1 R11: 0000000000000246 R12: 00007f89be3900d0 [ 55.560987][ T5074] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 55.568951][ T5074] [ 55.572138][ T5074] Kernel Offset: disabled [ 55.576463][ T5074] Rebooting in 86400 seconds..