loop5: rw=524288, sector=1056, nr_sectors = 16 limit=16 syz.5.886: attempt to access beyond end of device loop5: 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+0x39c/0x494 fs/erofs/decompressor.c:347 Read of size 4096 at addr ffff0000f26c8000 by task syz.5.886/7474 CPU: 1 PID: 7474 Comm: syz.5.886 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/23/2026 Call trace: dump_backtrace+0x1c4/0x1f0 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+0x39c/0x494 fs/erofs/decompressor.c:347 z_erofs_decompress+0x9c/0xd4 fs/erofs/decompressor.c:435 z_erofs_decompress_pcluster fs/erofs/zdata.c:1159 [inline] z_erofs_decompress_queue+0x103c/0x1bf4 fs/erofs/zdata.c:1240 z_erofs_runqueue+0x1508/0x16a8 fs/erofs/zdata.c:1612 z_erofs_read_folio+0x2dc/0x5cc fs/erofs/zdata.c:1702 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+0x1290/0x20dc mm/filemap.c:2759 generic_file_read_iter+0xf8/0x5ac mm/filemap.c:2941 call_read_iter include/linux/fs.h:2265 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x3cc/0x7b8 fs/read_write.c:470 ksys_read+0x12c/0x228 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/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c 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 5848: 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_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0xa0/0xb8 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:211 [inline] kmalloc_trace+0x7c/0x94 mm/slab_common.c:1031 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:699 [inline] ref_tracker_alloc+0x138/0x3f0 lib/ref_tracker.c:85 __netdev_tracker_alloc include/linux/netdevice.h:4049 [inline] netdev_hold include/linux/netdevice.h:4078 [inline] ipv6_add_dev+0x334/0xeec net/ipv6/addrconf.c:402 ipv6_find_idev+0xd4/0x1e4 net/ipv6/addrconf.c:489 inet6_rtm_newaddr+0x378/0x780 net/ipv6/addrconf.c:4969 rtnetlink_rcv_msg+0x694/0xcc4 net/core/rtnetlink.c:6166 netlink_rcv_skb+0x220/0x3ec net/netlink/af_netlink.c:2516 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6184 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5fc/0x80c net/netlink/af_netlink.c:1344 netlink_sendmsg+0x6f0/0x9d8 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] __sys_sendto+0x324/0x440 net/socket.c:2153 __do_sys_sendto net/socket.c:2165 [inline] __se_sys_sendto net/socket.c:2161 [inline] __arm64_sys_sendto+0xe4/0x104 net/socket.c:2161 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c 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 kvfree_call_rcu+0xb4/0x6f0 kernel/rcu/tree.c:3405 kernfs_unlink_open_file+0x370/0x41c fs/kernfs/file.c:653 kernfs_fop_release+0x128/0x194 fs/kernfs/file.c:825 __fput+0x1b4/0x7b0 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1f4/0x280 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x20f8/0x2c84 arch/arm64/kernel/signal.c:1151 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x12c arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 The buggy address belongs to the object at ffff0000f26c8000 which belongs to the cache kmalloc-128 of size 128 The buggy address is located 0 bytes inside of 128-byte region [ffff0000f26c8000, ffff0000f26c8080) The buggy address belongs to the physical page: page:000000000b1096b3 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff0000f26c8e00 pfn:0x1326c8 flags: 0x5ffc00000000200(slab|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000200 fffffc0003d442c8 fffffc000356ff88 ffff0000c0002300 raw: ffff0000f26c8e00 000000000010000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000f26c7f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000f26c7f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0000f26c8000: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000f26c8080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000f26c8100: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ================================================================== syz.5.886: attempt to access beyond end of device loop5: rw=0, sector=1056, nr_sectors = 8 limit=16