================================================================== BUG: KASAN: global-out-of-bounds in fib6_clean_node+0x3a6/0x5e0 Read of size 8 at addr ffffffff9aa21228 by task syz.6.3723/21108 CPU: 1 UID: 0 PID: 21108 Comm: syz.6.3723 Not tainted 6.14.0-rc6-syzkaller-00016-g0fed89a961ea #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0x16e/0x5b0 mm/kasan/report.c:521 kasan_report+0x143/0x180 mm/kasan/report.c:634 fib6_clean_node+0x3a6/0x5e0 fib6_walk_continue+0x658/0x8f0 net/ipv6/ip6_fib.c:2124 fib6_walk+0x168/0x2b0 net/ipv6/ip6_fib.c:2172 fib6_clean_tree net/ipv6/ip6_fib.c:2252 [inline] __fib6_clean_all+0x31f/0x4b0 net/ipv6/ip6_fib.c:2268 rt6_sync_down_dev net/ipv6/route.c:4913 [inline] rt6_disable_ip+0x170/0x800 net/ipv6/route.c:4918 addrconf_ifdown+0x15d/0x1b00 net/ipv6/addrconf.c:3849 addrconf_notify+0x3cb/0x1020 notifier_call_chain+0x1a5/0x3f0 kernel/notifier.c:85 call_netdevice_notifiers_extack net/core/dev.c:2244 [inline] call_netdevice_notifiers net/core/dev.c:2258 [inline] unregister_netdevice_many_notify+0x102f/0x1f10 net/core/dev.c:11884 unregister_netdevice_many net/core/dev.c:11948 [inline] unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11818 unregister_netdevice include/linux/netdevice.h:3337 [inline] __tun_detach+0x6d9/0x15d0 drivers/net/tun.c:685 tun_detach drivers/net/tun.c:701 [inline] tun_chr_close+0x105/0x1b0 drivers/net/tun.c:3517 __fput+0x3e9/0x9f0 fs/file_table.c:464 task_work_run+0x24f/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f278478d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2784acfb88 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f27849a7ba0 RCX: 00007f278478d169 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f27849a7ba0 R08: 00000000000026ec R09: 0000001a84acfe7f R10: 00000000003fd6f0 R11: 0000000000000246 R12: 00000000000a9c83 R13: 00007f2784acfc80 R14: ffffffffffffffff R15: 00007f2784acfca0 The buggy address belongs to the variable: binder_devices+0x8/0x20 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1aa21 flags: 0xfff00000002000(reserved|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002000 ffffea00006a8848 ffffea00006a8848 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffffffff9aa21100: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 ffffffff9aa21180: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 >ffffffff9aa21200: f9 f9 f9 f9 00 f9 f9 f9 00 00 f9 f9 00 00 00 00 ^ ffffffff9aa21280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff9aa21300: 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9 f9 f9 ==================================================================