loop1: rw=524288, sector=1056, nr_sectors = 16 limit=16 syz.1.126: attempt to access beyond end of device loop1: rw=524288, sector=8, nr_sectors = 16 limit=16 ================================================================== BUG: KASAN: slab-out-of-bounds in memcpy_to_page include/linux/highmem.h:403 [inline] BUG: KASAN: slab-out-of-bounds in z_erofs_transform_plain+0x3a4/0x490 fs/erofs/decompressor.c:346 Read of size 4096 at addr ffff0000f5bfc000 by task syz.1.126/4722 CPU: 1 PID: 4722 Comm: syz.1.126 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call trace: dump_backtrace+0x1c0/0x1ec arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x258/0x290 mm/kasan/generic.c:189 memcpy+0x48/0x90 mm/kasan/shadow.c:65 memcpy_to_page include/linux/highmem.h:403 [inline] z_erofs_transform_plain+0x3a4/0x490 fs/erofs/decompressor.c:346 z_erofs_decompress+0x9c/0xd4 fs/erofs/decompressor.c:434 z_erofs_decompress_pcluster fs/erofs/zdata.c:1159 [inline] z_erofs_decompress_queue+0x100c/0x1b40 fs/erofs/zdata.c:1240 z_erofs_runqueue+0x152c/0x16cc fs/erofs/zdata.c:1603 z_erofs_read_folio+0x2d8/0x5c8 fs/erofs/zdata.c:1693 filemap_read_folio+0x134/0x384 mm/filemap.c:2490 filemap_update_page mm/filemap.c:2575 [inline] filemap_get_pages mm/filemap.c:2689 [inline] filemap_read+0x12cc/0x2104 mm/filemap.c:2759 generic_file_read_iter+0xf8/0x5c4 mm/filemap.c:2941 call_read_iter include/linux/fs.h:2259 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x3d4/0x7f0 fs/read_write.c:470 ksys_read+0x12c/0x224 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __arm64_sys_read+0x7c/0x90 fs/read_write.c:621 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Allocated by task 4625: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505 __kasan_slab_alloc+0x70/0x88 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x74/0x430 mm/slab.h:737 slab_alloc_node mm/slub.c:3359 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc+0x22c/0x308 mm/slub.c:3383 dst_alloc+0xf8/0x170 net/core/dst.c:88 ip6_dst_alloc net/ipv6/route.c:345 [inline] ip6_rt_pcpu_alloc net/ipv6/route.c:1413 [inline] rt6_make_pcpu_route net/ipv6/route.c:1462 [inline] ip6_pol_route+0x80c/0x1048 net/ipv6/route.c:2296 ip6_pol_route_output+0x60/0x94 net/ipv6/route.c:2635 pol_lookup_func include/net/ip6_fib.h:579 [inline] fib6_rule_lookup+0x190/0x4b4 net/ipv6/fib6_rules.c:116 ip6_route_output_flags_noref+0x250/0x314 net/ipv6/route.c:2667 ip6_route_output_flags+0xe4/0x360 net/ipv6/route.c:2680 ip6_route_output include/net/ip6_route.h:98 [inline] ip6_dst_lookup_tail+0x170/0x1300 net/ipv6/ip6_output.c:1131 ip6_dst_lookup_flow+0x54/0xe0 net/ipv6/ip6_output.c:1262 sctp_v6_get_dst+0x69c/0x1728 net/sctp/ipv6.c:327 sctp_transport_route+0xe8/0x258 net/sctp/transport.c:457 sctp_assoc_add_peer+0x4e0/0x1560 net/sctp/associola.c:665 sctp_process_param net/sctp/sm_make_chunk.c:2577 [inline] sctp_process_init+0x828/0x20a0 net/sctp/sm_make_chunk.c:2397 sctp_sf_do_unexpected_init+0xab4/0x10ac net/sctp/sm_statefuns.c:1614 sctp_sf_do_5_2_1_siminit+0x50/0x68 net/sctp/sm_statefuns.c:1743 sctp_do_sm+0x1d8/0x481c net/sctp/sm_sideeffect.c:1167 sctp_assoc_bh_rcv+0x37c/0x69c net/sctp/associola.c:1054 sctp_inq_push+0x190/0x1b4 net/sctp/inqueue.c:88 sctp_backlog_rcv+0x134/0x33c net/sctp/input.c:346 sk_backlog_rcv include/net/sock.h:1138 [inline] __release_sock+0x1b4/0x3b4 net/core/sock.c:2945 release_sock+0x60/0x1bc net/core/sock.c:3511 sctp_wait_for_connect+0x2b0/0x530 net/sctp/socket.c:9355 sctp_sendmsg_to_asoc+0xf70/0x1354 net/sctp/socket.c:1882 sctp_sendmsg+0x13a8/0x20b4 net/sctp/socket.c:2028 inet_sendmsg+0x154/0x284 net/ipv4/af_inet.c:841 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] __sys_sendto+0x324/0x440 net/socket.c:2152 __do_sys_sendto net/socket.c:2164 [inline] __se_sys_sendto net/socket.c:2160 [inline] __arm64_sys_sendto+0xd8/0xf8 net/socket.c:2160 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Last potentially related work creation: kasan_save_stack+0x40/0x70 mm/kasan/common.c:46 __kasan_record_aux_stack+0xc0/0xdc mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:496 call_rcu+0x100/0x94c kernel/rcu/tree.c:2849 dst_release+0x11c/0x1b8 net/core/dst.c:177 refdst_drop include/net/dst.h:256 [inline] skb_dst_drop include/net/dst.h:268 [inline] __dev_queue_xmit+0x6f0/0x3118 net/core/dev.c:4326 dev_queue_xmit include/linux/netdevice.h:3051 [inline] neigh_connected_output+0x358/0x3e8 net/core/neighbour.c:1597 neigh_output include/net/neighbour.h:545 [inline] ip6_finish_output2+0xd5c/0x1840 net/ipv6/ip6_output.c:138 __ip6_finish_output net/ipv6/ip6_output.c:205 [inline] ip6_finish_output+0x594/0x92c net/ipv6/ip6_output.c:216 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip6_output+0x274/0x500 net/ipv6/ip6_output.c:237 dst_output include/net/dst.h:453 [inline] NF_HOOK+0x15c/0x444 include/linux/netfilter.h:302 mld_sendpack+0x88c/0x10ec net/ipv6/mcast.c:1825 mld_send_initial_cr+0x1dc/0x26c net/ipv6/mcast.c:2244 ipv6_mc_dad_complete+0x74/0x214 net/ipv6/mcast.c:2252 addrconf_dad_completed+0x600/0xb28 net/ipv6/addrconf.c:4276 addrconf_dad_work+0x93c/0x10d4 net/ipv6/addrconf.c:-1 process_one_work+0x7f8/0x13a4 kernel/workqueue.c:2292 worker_thread+0x8c4/0xfec kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 The buggy address belongs to the object at ffff0000f5bfc000 which belongs to the cache ip6_dst_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff0000f5bfc000, ffff0000f5bfc0f0) The buggy address belongs to the physical page: page:0000000017c34684 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x135bfc memcg:ffff0000f5bfd501 flags: 0x5ffc00000000200(slab|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000200 fffffc0003d70000 dead000000000002 ffff0000d5fc6480 raw: 0000000000000000 00000000000c000c 00000001ffffffff ffff0000f5bfd501 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000f5bfbf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000f5bfc000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0000f5bfc080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc fc ^ ffff0000f5bfc100: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 ffff0000f5bfc180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== syz.1.126: attempt to access beyond end of device loop1: rw=0, sector=1056, nr_sectors = 8 limit=16