================================================================== BUG: KASAN: invalid-access in __packet_get_status+0xb8/0x138 net/packet/af_packet.c:439 Read at addr fcff00000b280000 by task syz-executor.0/3520 Pointer tag: [fc], memory tag: [f0] CPU: 0 PID: 3520 Comm: syz-executor.0 Not tainted 6.8.0-syzkaller-g0a7b0acecea2 #0 Hardware name: linux,dummy-virt (DT) 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:764 do_mem_abort+0x44/0x94 arch/arm64/mm/fault.c:840 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+0x27c/0x2c0 net/core/dev.c:2296 xmit_one net/core/dev.c:3527 [inline] dev_hard_start_xmit+0x7c/0x118 net/core/dev.c:3547 __dev_queue_xmit+0x1c0/0xe5c net/core/dev.c:4335 dev_queue_xmit include/linux/netdevice.h:3091 [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+0x74/0x1cc 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 ndisc_send_skb+0x1f8/0x3d8 net/ipv6/ndisc.c:509 ndisc_send_rs+0x5c/0x1b0 net/ipv6/ndisc.c:719 addrconf_rs_timer+0x160/0x2bc net/ipv6/addrconf.c:4037 call_timer_fn.constprop.0+0x24/0x80 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers+0x218/0x254 kernel/time/timer.c:2408 __run_timer_base kernel/time/timer.c:2419 [inline] __run_timer_base kernel/time/timer.c:2412 [inline] run_timer_base kernel/time/timer.c:2428 [inline] run_timer_softirq+0x8c/0xfc kernel/time/timer.c:2438 __do_softirq+0x10c/0x264 kernel/softirq.c:554 ____do_softirq+0x10/0x1c arch/arm64/kernel/irq.c:81 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:889 do_softirq_own_stack+0x1c/0x28 arch/arm64/kernel/irq.c:86 invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu kernel/softirq.c:633 [inline] irq_exit_rcu+0xb8/0xd4 kernel/softirq.c:645 __el1_irq arch/arm64/kernel/entry-common.c:537 [inline] el1_interrupt+0x38/0x64 arch/arm64/kernel/entry-common.c:551 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:556 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:594 caches_clean_inval_pou+0x68/0x84 arch/arm64/mm/cache.S:55 __sync_icache_dcache+0xc4/0x114 arch/arm64/mm/flush.c:57 __sync_cache_and_tags arch/arm64/include/asm/pgtable.h:346 [inline] __set_ptes arch/arm64/include/asm/pgtable.h:380 [inline] set_ptes arch/arm64/include/asm/pgtable.h:1498 [inline] insert_page_into_pte_locked+0x1cc/0x1fc mm/memory.c:1998 insert_page mm/memory.c:2023 [inline] vm_insert_page+0x11c/0x198 mm/memory.c:2176 packet_mmap+0xec/0x200 net/packet/af_packet.c:4599 sock_mmap+0x20/0x2c net/socket.c:1416 call_mmap include/linux/fs.h:2113 [inline] mmap_region+0x218/0x8cc mm/mmap.c:2820 do_mmap+0x374/0x4b8 mm/mmap.c:1385 vm_mmap_pgoff+0xf0/0x134 mm/util.c:573 ksys_mmap_pgoff+0x184/0x204 mm/mmap.c:1431 __do_sys_mmap arch/arm64/kernel/sys.c:28 [inline] __se_sys_mmap arch/arm64/kernel/sys.c:21 [inline] __arm64_sys_mmap+0x30/0x44 arch/arm64/kernel/sys.c:21 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x48/0x114 arch/arm64/kernel/syscall.c:48 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:133 do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:152 el0_svc+0x34/0xf8 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x19c/0x1a0 arch/arm64/kernel/entry.S:598 The buggy address belongs to the physical page: page: refcount:9 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x4b280 head: order:3 entire_mapcount:0 nr_pages_mapped:8 pincount:0 flags: 0x1ffe06006000040(head|arch_2|arch_3|node=0|zone=0|lastcpupid=0xfff|kasantag=0x3) page_type: 0x0() raw: 01ffe06006000040 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 0000000900000000 0000000000000000 head: 01ffe06006000040 0000000000000000 dead000000000122 0000000000000000 head: 0000000000000000 0000000000000000 0000000900000000 0000000000000000 head: 01ffe06006000003 fffffdffc02ca001 dead000000000122 00000008ffffffff head: 0000000800000000 0000000000000000 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff00000b27fe00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff00000b27ff00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe >ffff00000b280000: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ^ ffff00000b280100: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ffff00000b280200: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ==================================================================