================================================================== BUG: KASAN: invalid-access in __packet_get_status+0xb0/0x12c net/packet/af_packet.c:439 Read at addr f4ff00001aec0000 by task kworker/1:4/17844 Pointer tag: [f4], memory tag: [f0] CPU: 1 PID: 17844 Comm: kworker/1:4 Not tainted 6.8.0-rc2-syzkaller-00031-g861c0981648f #0 Hardware name: linux,dummy-virt (DT) Workqueue: wg-crypt-wg0 wg_packet_tx_worker Call trace: dump_backtrace+0x94/0xec arch/arm64/kernel/stacktrace.c:291 show_stack+0x18/0x24 arch/arm64/kernel/stacktrace.c:298 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x48/0x60 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:377 [inline] print_report+0x108/0x618 mm/kasan/report.c:488 kasan_report+0x88/0xac mm/kasan/report.c:601 report_tag_fault arch/arm64/mm/fault.c:334 [inline] do_tag_recovery arch/arm64/mm/fault.c:346 [inline] __do_kernel_fault+0x17c/0x1e8 arch/arm64/mm/fault.c:393 do_bad_area arch/arm64/mm/fault.c:493 [inline] do_tag_check_fault+0x78/0x8c arch/arm64/mm/fault.c:772 do_mem_abort+0x44/0x94 arch/arm64/mm/fault.c:848 el1_abort+0x40/0x60 arch/arm64/kernel/entry-common.c:398 el1h_64_sync_handler+0xd8/0xe4 arch/arm64/kernel/entry-common.c:458 el1h_64_sync+0x64/0x68 arch/arm64/kernel/entry.S:593 __packet_get_status+0xb0/0x12c net/packet/af_packet.c:439 packet_lookup_frame net/packet/af_packet.c:528 [inline] __tpacket_has_room net/packet/af_packet.c:1259 [inline] __packet_rcv_has_room+0xf8/0x188 net/packet/af_packet.c:1300 tpacket_rcv+0x158/0xbcc net/packet/af_packet.c:2286 dev_queue_xmit_nit+0x27c/0x2c0 net/core/dev.c:2312 xmit_one net/core/dev.c:3543 [inline] dev_hard_start_xmit+0x74/0x110 net/core/dev.c:3563 __dev_queue_xmit+0x1c0/0xe5c net/core/dev.c:4351 dev_queue_xmit include/linux/netdevice.h:3171 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip6_finish_output2+0x3a8/0x904 net/ipv6/ip6_output.c:137 __ip6_finish_output net/ipv6/ip6_output.c:211 [inline] ip6_finish_output+0x228/0x344 net/ipv6/ip6_output.c:222 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0x74/0x1cc net/ipv6/ip6_output.c:243 dst_output include/net/dst.h:451 [inline] ip6_local_out+0x48/0x5c net/ipv6/output_core.c:155 ip6tunnel_xmit include/net/ip6_tunnel.h:161 [inline] udp_tunnel6_xmit_skb+0x16c/0x34c net/ipv6/ip6_udp_tunnel.c:111 send6+0x130/0x29c drivers/net/wireguard/socket.c:152 wg_socket_send_skb_to_peer+0x60/0xcc drivers/net/wireguard/socket.c:178 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x88/0x1b8 drivers/net/wireguard/send.c:276 process_one_work+0x148/0x258 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x2b4/0x3cc kernel/workqueue.c:2787 kthread+0x114/0x118 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 The buggy address belongs to the physical page: page:00000000514e5c84 refcount:9 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x5aec0 head:00000000514e5c84 order:3 entire_mapcount:0 nr_pages_mapped:8 pincount:0 flags: 0x1ffc2c006000040(head|arch_2|arch_3|node=0|zone=0|lastcpupid=0x7ff|kasantag=0xb) page_type: 0x0() raw: 01ffc2c006000040 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 0000000900000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff00001aebfe00: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ffff00001aebff00: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 >ffff00001aec0000: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ^ ffff00001aec0100: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ffff00001aec0200: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ==================================================================