================================================================== BUG: KASAN: invalid-access in __packet_get_status+0x70/0xe0 net/packet/af_packet.c:438 Read at addr f6ff0000049e8000 by task kworker/1:0/8256 Pointer tag: [f6], memory tag: [f0] CPU: 1 PID: 8256 Comm: kworker/1:0 Not tainted 6.4.0-rc3-syzkaller-00278-g49572d536129 #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:233 show_stack+0x18/0x24 arch/arm64/kernel/stacktrace.c:240 __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:351 [inline] print_report+0xd8/0x5f4 mm/kasan/report.c:462 kasan_report+0x7c/0x9c mm/kasan/report.c:572 __do_kernel_fault+0x174/0x1c0 arch/arm64/mm/fault.c:320 do_bad_area arch/arm64/mm/fault.c:479 [inline] do_tag_check_fault+0x78/0x8c arch/arm64/mm/fault.c:791 do_mem_abort+0x44/0x94 arch/arm64/mm/fault.c:867 el1_abort+0x40/0x60 arch/arm64/kernel/entry-common.c:367 el1h_64_sync_handler+0xd8/0xe4 arch/arm64/kernel/entry-common.c:427 el1h_64_sync+0x64/0x68 arch/arm64/kernel/entry.S:586 __packet_get_status+0x70/0xe0 net/packet/af_packet.c:438 packet_lookup_frame net/packet/af_packet.c:524 [inline] packet_current_rx_frame net/packet/af_packet.c:1117 [inline] tpacket_rcv+0x29c/0xbbc net/packet/af_packet.c:2355 dev_queue_xmit_nit+0x284/0x2c8 net/core/dev.c:2281 xmit_one net/core/dev.c:3574 [inline] dev_hard_start_xmit+0x78/0x148 net/core/dev.c:3594 __dev_queue_xmit+0xaa0/0xd40 net/core/dev.c:4244 dev_queue_xmit include/linux/netdevice.h:3085 [inline] neigh_hh_output include/net/neighbour.h:528 [inline] neigh_output include/net/neighbour.h:542 [inline] ip6_finish_output2+0x268/0x7b8 net/ipv6/ip6_output.c:134 __ip6_finish_output net/ipv6/ip6_output.c:195 [inline] ip6_finish_output+0x220/0x360 net/ipv6/ip6_output.c:206 NF_HOOK_COND include/linux/netfilter.h:292 [inline] ip6_output+0x74/0x1d4 net/ipv6/ip6_output.c:227 dst_output include/net/dst.h:458 [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+0x170/0x2ac net/ipv6/ip6_udp_tunnel.c:109 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+0x98/0x1b4 drivers/net/wireguard/send.c:276 process_one_work+0x1c0/0x30c kernel/workqueue.c:2405 worker_thread+0x70/0x418 kernel/workqueue.c:2552 kthread+0x118/0x11c kernel/kthread.c:379 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 The buggy address belongs to the physical page: page:0000000026ebe965 refcount:9 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x449e8 head:0000000026ebe965 order:3 entire_mapcount:0 nr_pages_mapped:8 pincount:0 flags: 0x1ffc24006010000(head|arch_2|arch_3|node=0|zone=0|lastcpupid=0x7ff|kasantag=0x9) page_type: 0x0() raw: 01ffc24006010000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 0000000900000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000049e7e00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff0000049e7f00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe >ffff0000049e8000: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ^ ffff0000049e8100: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ffff0000049e8200: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ================================================================== usb 1-1: USB disconnect, device number 30