================================================================== BUG: KASAN: global-out-of-bounds in dev_hard_header include/linux/netdevice.h:3262 [inline] BUG: KASAN: global-out-of-bounds in macvlan_hard_header+0x12b/0x150 drivers/net/macvlan.c:590 Read of size 8 at addr ffffffff8ef3c698 by task kworker/0:8/8513 CPU: 0 PID: 8513 Comm: kworker/0:8 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: mld mld_ifc_work Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description.constprop.0.cold+0xf/0x309 mm/kasan/report.c:256 __kasan_report mm/kasan/report.c:442 [inline] kasan_report.cold+0x83/0xdf mm/kasan/report.c:459 dev_hard_header include/linux/netdevice.h:3262 [inline] macvlan_hard_header+0x12b/0x150 drivers/net/macvlan.c:590 dev_hard_header include/linux/netdevice.h:3265 [inline] neigh_resolve_output net/core/neighbour.c:1518 [inline] neigh_resolve_output+0x4ac/0x820 net/core/neighbour.c:1503 neigh_output include/net/neighbour.h:527 [inline] ip6_finish_output2+0x571/0x14e0 net/ipv6/ip6_output.c:126 __ip6_finish_output net/ipv6/ip6_output.c:191 [inline] __ip6_finish_output+0x4c1/0x1050 net/ipv6/ip6_output.c:170 ip6_finish_output+0x32/0x200 net/ipv6/ip6_output.c:201 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x1e4/0x530 net/ipv6/ip6_output.c:224 dst_output include/net/dst.h:450 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] mld_sendpack+0x9a1/0xe40 net/ipv6/mcast.c:1826 mld_send_cr net/ipv6/mcast.c:2127 [inline] mld_ifc_work+0x71c/0xdc0 net/ipv6/mcast.c:2659 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 The buggy address belongs to the variable: nr_zapped_lock_chains+0x18/0x40 Memory state around the buggy address: ffffffff8ef3c580: 00 00 00 00 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 ffffffff8ef3c600: 04 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 >ffffffff8ef3c680: 00 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 00 ^ ffffffff8ef3c700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff8ef3c780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================