================================================================== BUG: KASAN: global-out-of-bounds in fib6_ifdown+0x7f5/0x8f0 net/ipv6/route.c:4863 Read of size 8 at addr ffffffff9ac27510 by task kworker/u32:2/46 CPU: 0 UID: 0 PID: 46 Comm: kworker/u32:2 Not tainted 6.14.0-rc6-syzkaller-00022-gb7f94fcf5546 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: netns cleanup_net Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0xc3/0x670 mm/kasan/report.c:521 kasan_report+0xd9/0x110 mm/kasan/report.c:634 fib6_ifdown+0x7f5/0x8f0 net/ipv6/route.c:4863 fib6_clean_node+0x2a5/0x5b0 net/ipv6/ip6_fib.c:2199 fib6_walk_continue+0x44f/0x8d0 net/ipv6/ip6_fib.c:2124 fib6_walk+0x182/0x370 net/ipv6/ip6_fib.c:2172 fib6_clean_tree+0xd7/0x120 net/ipv6/ip6_fib.c:2252 __fib6_clean_all+0x100/0x2d0 net/ipv6/ip6_fib.c:2268 rt6_sync_down_dev net/ipv6/route.c:4913 [inline] rt6_disable_ip+0x2ef/0x940 net/ipv6/route.c:4918 addrconf_ifdown.isra.0+0x126/0x1af0 net/ipv6/addrconf.c:3849 addrconf_notify+0x220/0x19c0 net/ipv6/addrconf.c:3772 notifier_call_chain+0xb7/0x410 kernel/notifier.c:85 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2206 call_netdevice_notifiers_extack net/core/dev.c:2244 [inline] call_netdevice_notifiers net/core/dev.c:2258 [inline] dev_close_many+0x333/0x6a0 net/core/dev.c:1748 dev_close net/core/dev.c:1770 [inline] dev_close+0x181/0x230 net/core/dev.c:1764 cfg80211_shutdown_all_interfaces+0x9a/0x200 net/wireless/core.c:277 ieee80211_remove_interfaces+0xc4/0x720 net/mac80211/iface.c:2279 ieee80211_unregister_hw+0x55/0x3a0 net/mac80211/main.c:1681 mac80211_hwsim_del_radio drivers/net/wireless/virtual/mac80211_hwsim.c:5664 [inline] hwsim_exit_net+0x3ad/0x7d0 drivers/net/wireless/virtual/mac80211_hwsim.c:6544 ops_exit_list+0xb0/0x180 net/core/net_namespace.c:172 cleanup_net+0x5c6/0xb30 net/core/net_namespace.c:652 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3400 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 The buggy address belongs to the variable: __key.0+0x30/0x40 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1ac27 flags: 0xfff00000002000(reserved|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002000 ffffea00006b09c8 ffffea00006b09c8 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: ffffffff9ac27400: f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 ffffffff9ac27480: f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 00 00 f9 f9 >ffffffff9ac27500: f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 ^ ffffffff9ac27580: 00 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 ffffffff9ac27600: 00 00 f9 f9 f9 f9 f9 f9 00 00 f9 f9 f9 f9 f9 f9 ==================================================================