================================================================== BUG: KASAN: invalid-access in __packet_get_status+0xb8/0x138 net/packet/af_packet.c:439 Read at addr f7f0000004280000 by task kworker/1:2/1821 Pointer tag: [f7], memory tag: [f0] CPU: 1 PID: 1821 Comm: kworker/1:2 Not tainted 6.10.0-rc6-syzkaller-g8a9c6c40432e #0 Hardware name: linux,dummy-virt (DT) Workqueue: mld mld_dad_work Call trace: dump_backtrace+0x94/0xec arch/arm64/kernel/stacktrace.c:317 show_stack+0x18/0x24 arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x78/0x90 lib/dump_stack.c:114 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:331 [inline] do_tag_recovery arch/arm64/mm/fault.c:343 [inline] __do_kernel_fault+0x1a0/0x1dc arch/arm64/mm/fault.c:385 do_bad_area arch/arm64/mm/fault.c:485 [inline] do_tag_check_fault+0x78/0x8c arch/arm64/mm/fault.c:750 do_mem_abort+0x44/0x94 arch/arm64/mm/fault.c:826 el1_abort+0x40/0x60 arch/arm64/kernel/entry-common.c:432 el1h_64_sync_handler+0xd8/0xe4 arch/arm64/kernel/entry-common.c:492 el1h_64_sync+0x64/0x68 arch/arm64/kernel/entry.S:593 __packet_get_status+0xb8/0x138 net/packet/af_packet.c:439 packet_lookup_frame net/packet/af_packet.c:528 [inline] packet_current_rx_frame net/packet/af_packet.c:1121 [inline] tpacket_rcv+0x2b0/0xbd0 net/packet/af_packet.c:2356 dev_queue_xmit_nit+0x284/0x2c8 net/core/dev.c:2343 xmit_one net/core/dev.c:3574 [inline] dev_hard_start_xmit+0x7c/0x118 net/core/dev.c:3594 __dev_queue_xmit+0x1c0/0xea8 net/core/dev.c:4393 dev_queue_xmit include/linux/netdevice.h:3095 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip6_finish_output2+0x3ac/0x914 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+0x78/0x1c8 net/ipv6/ip6_output.c:243 dst_output include/net/dst.h:450 [inline] NF_HOOK.constprop.0+0x50/0xe0 include/linux/netfilter.h:314 mld_sendpack+0x204/0x408 net/ipv6/mcast.c:1818 mld_send_initial_cr.part.0.isra.0+0x5c/0x70 net/ipv6/mcast.c:2236 mld_send_initial_cr net/ipv6/mcast.c:2224 [inline] mld_dad_work+0x40/0x1a4 net/ipv6/mcast.c:2259 process_one_work+0x164/0x2a8 kernel/workqueue.c:3248 process_scheduled_works kernel/workqueue.c:3329 [inline] worker_thread+0x268/0x378 kernel/workqueue.c:3409 kthread+0x114/0x118 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 The buggy address belongs to the physical page: page: refcount:9 mapcount:1 mapping:0000000000000000 index:0xf4f0000004286800 pfn:0x44280 head: order:3 mapcount:8 entire_mapcount:0 nr_pages_mapped:8 pincount:0 flags: 0x1ffc20003000040(head|arch_2|arch_3|node=0|zone=0|lastcpupid=0x7ff|kasantag=0x8) raw: 01ffc20003000040 0000000000000000 dead000000000122 0000000000000000 raw: f4f0000004286800 0000000000000000 0000000900000000 0000000000000000 head: 01ffc20003000040 0000000000000000 dead000000000122 0000000000000000 head: f4f0000004286800 0000000000000000 0000000900000000 0000000000000000 head: 01ffc20003000003 ffffc1ffc010a001 ffffffff00000007 0000000000000008 head: 0000000000000008 0000000000000000 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: fff000000427fe00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fff000000427ff00: fa fa fa fa fe fe fe fe fe fe fe fe fe fe fe fe >fff0000004280000: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ^ fff0000004280100: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 fff0000004280200: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ==================================================================