================================================================== BUG: KASAN: global-out-of-bounds in fib6_clean_node+0x2dc/0x4d0 Read of size 8 at addr ffff800097ba7c48 by task syz-executor/6846 CPU: 1 UID: 0 PID: 6846 Comm: syz-executor Not tainted 6.14.0-rc6-syzkaller-g059f6cbcfa70 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:466 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0x198/0x550 mm/kasan/report.c:521 kasan_report+0xd8/0x138 mm/kasan/report.c:634 __asan_report_load8_noabort+0x20/0x2c mm/kasan/report_generic.c:381 fib6_clean_node+0x2dc/0x4d0 fib6_walk_continue+0x5b8/0x7e0 net/ipv6/ip6_fib.c:2124 fib6_walk+0x144/0x258 net/ipv6/ip6_fib.c:2172 fib6_clean_tree net/ipv6/ip6_fib.c:2252 [inline] __fib6_clean_all+0x29c/0x418 net/ipv6/ip6_fib.c:2268 fib6_clean_all+0x3c/0x50 net/ipv6/ip6_fib.c:2279 rt6_sync_up+0x154/0x1cc net/ipv6/route.c:4799 addrconf_notify+0x918/0xce8 net/ipv6/addrconf.c:3743 notifier_call_chain+0x1c4/0x550 kernel/notifier.c:85 raw_notifier_call_chain+0x3c/0x50 kernel/notifier.c:453 __dev_notify_flags+0x2c4/0x550 dev_change_flags+0xd0/0x15c net/core/dev.c:9331 do_setlink+0xa54/0x36c0 net/core/rtnetlink.c:3118 rtnl_changelink net/core/rtnetlink.c:3733 [inline] __rtnl_newlink net/core/rtnetlink.c:3885 [inline] rtnl_newlink+0x1344/0x1844 net/core/rtnetlink.c:4022 rtnetlink_rcv_msg+0x670/0xa9c net/core/rtnetlink.c:6912 netlink_rcv_skb+0x234/0x408 net/netlink/af_netlink.c:2533 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6939 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x668/0x8a4 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x7b4/0xa9c net/netlink/af_netlink.c:1882 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:733 [inline] __sys_sendto+0x360/0x4d8 net/socket.c:2187 __do_sys_sendto net/socket.c:2194 [inline] __se_sys_sendto net/socket.c:2190 [inline] __arm64_sys_sendto+0xd8/0xf8 net/socket.c:2190 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 The buggy address belongs to the variable: binder_devices+0x8/0x20 The buggy address belongs to the virtual mapping at [ffff80008fb30000, ffff800097c21000) created by: declare_kernel_vmas+0xa8/0xb8 arch/arm64/mm/mmu.c:774 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1ad5a7 flags: 0x5ffc00000002000(reserved|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000002000 fffffdffc5b569c8 fffffdffc5b569c8 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff800097ba7b00: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 ffff800097ba7b80: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 >ffff800097ba7c00: f9 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 00 00 f9 f9 ^ ffff800097ba7c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff800097ba7d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 f9 ================================================================== Unable to handle kernel paging request at virtual address dfff800000000000 KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] Mem abort info: ESR = 0x0000000096000005 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: level 1 translation fault Data abort info: ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [dfff800000000000] address between user and kernel address ranges Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Modules linked in: CPU: 0 UID: 0 PID: 6846 Comm: syz-executor Tainted: G B 6.14.0-rc6-syzkaller-g059f6cbcfa70 #0 Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : fib6_metric_locked include/net/ip6_fib.h:577 [inline] pc : rt6_mtu_change_route+0xd0/0x1fc net/ipv6/route.c:4970 lr : __in6_dev_get include/net/addrconf.h:347 [inline] lr : rt6_mtu_change_route+0x8c/0x1fc net/ipv6/route.c:4966 sp : ffff8000a2636480 x29: ffff8000a2636480 x28: ffff80008a4b41c8 x27: ffff0000ed8e9c00 x26: dfff800000000000 x25: 1ffff000144c6cf4 x24: 1ffff000144c6cfa x23: dfff800000000000 x22: ffff0000ee398000 x21: 0000000000000000 x20: ffff0000ed8e9c00 x19: ffff8000a2636900 x18: 1ffff000144c6cf2 x17: 0000000000000000 x16: ffff8000806a0364 x15: 0000000000000003 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000d5450000 x11: 0000000000ff0100 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : 0000000000000000 x7 : 0000000000000000 x6 : ffff80008a4d6530 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000010 x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: fib6_metric_locked include/net/ip6_fib.h:577 [inline] (P) rt6_mtu_change_route+0xd0/0x1fc net/ipv6/route.c:4970 (P) fib6_clean_node+0x20c/0x4d0 net/ipv6/ip6_fib.c:2199 fib6_walk_continue+0x5b8/0x7e0 net/ipv6/ip6_fib.c:2124 fib6_walk+0x144/0x258 net/ipv6/ip6_fib.c:2172 fib6_clean_tree net/ipv6/ip6_fib.c:2252 [inline] __fib6_clean_all+0x29c/0x418 net/ipv6/ip6_fib.c:2268 fib6_clean_all+0x3c/0x50 net/ipv6/ip6_fib.c:2279 rt6_mtu_change+0x110/0x170 net/ipv6/route.c:4990 addrconf_notify+0x978/0xce8 net/ipv6/addrconf.c:3752 notifier_call_chain+0x1c4/0x550 kernel/notifier.c:85 raw_notifier_call_chain+0x3c/0x50 kernel/notifier.c:453 __dev_notify_flags+0x2c4/0x550 dev_change_flags+0xd0/0x15c net/core/dev.c:9331 do_setlink+0xa54/0x36c0 net/core/rtnetlink.c:3118 rtnl_changelink net/core/rtnetlink.c:3733 [inline] __rtnl_newlink net/core/rtnetlink.c:3885 [inline] rtnl_newlink+0x1344/0x1844 net/core/rtnetlink.c:4022 rtnetlink_rcv_msg+0x670/0xa9c net/core/rtnetlink.c:6912 netlink_rcv_skb+0x234/0x408 net/netlink/af_netlink.c:2533 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6939 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x668/0x8a4 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x7b4/0xa9c net/netlink/af_netlink.c:1882 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:733 [inline] __sys_sendto+0x360/0x4d8 net/socket.c:2187 __do_sys_sendto net/socket.c:2194 [inline] __se_sys_sendto net/socket.c:2190 [inline] __arm64_sys_sendto+0xd8/0xf8 net/socket.c:2190 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: aa1503e0 9769c7dd f94002b5 d343fea8 (38f76908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: aa1503e0 mov x0, x21 4: 9769c7dd bl 0xfffffffffda71f78 8: f94002b5 ldr x21, [x21] c: d343fea8 lsr x8, x21, #3 * 10: 38f76908 ldrsb w8, [x8, x23] <-- trapping instruction