================================================================== BUG: KASAN: invalid-access in __packet_get_status+0x70/0xe0 net/packet/af_packet.c:438 Read at addr fdff000022d00000 by task syz-executor.1/20264 Pointer tag: [fd], memory tag: [f0] CPU: 1 PID: 20264 Comm: syz-executor.1 Not tainted 6.4.0-rc3-syzkaller-00278-g49572d536129 #0 Hardware name: linux,dummy-virt (DT) 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] hsr_xmit net/hsr/hsr_forward.c:382 [inline] hsr_forward_do net/hsr/hsr_forward.c:473 [inline] hsr_forward_skb+0x3a0/0x734 net/hsr/hsr_forward.c:620 send_hsr_supervision_frame+0x114/0x1e4 net/hsr/hsr_device.c:326 hsr_announce+0x4c/0xa8 net/hsr/hsr_device.c:382 call_timer_fn.constprop.0+0x24/0x80 kernel/time/timer.c:1700 expire_timers+0x9c/0xd4 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0xf4/0x254 kernel/time/timer.c:2035 _stext+0x124/0x290 ____do_softirq+0x10/0x1c arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:899 do_softirq_own_stack+0x1c/0x2c arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0xe4/0x100 kernel/softirq.c:650 irq_exit_rcu+0x10/0x1c kernel/softirq.c:662 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x64 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:587 __daif_local_irq_enable arch/arm64/include/asm/irqflags.h:33 [inline] arch_local_irq_enable arch/arm64/include/asm/irqflags.h:55 [inline] __raw_write_unlock_irq include/linux/rwlock_api_smp.h:273 [inline] _raw_write_unlock_irq+0x8/0x44 kernel/locking/spinlock.c:358 exit_notify kernel/exit.c:762 [inline] do_exit+0x4f8/0x984 kernel/exit.c:891 do_group_exit+0x34/0x90 kernel/exit.c:1021 copy_siginfo_to_user+0x0/0xec kernel/signal.c:2874 do_signal arch/arm64/kernel/signal.c:1248 [inline] do_notify_resume+0x174/0x144c arch/arm64/kernel/signal.c:1301 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0xac/0xb0 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0xb8/0xbc arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x19c/0x1a0 arch/arm64/kernel/entry.S:591 The buggy address belongs to the physical page: page:0000000058ec1768 refcount:9 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x62d00 head:0000000058ec1768 order:3 entire_mapcount:0 nr_pages_mapped:8 pincount:0 flags: 0x1ffc08006010000(head|arch_2|arch_3|node=0|zone=0|lastcpupid=0x7ff|kasantag=0x2) page_type: 0x0() raw: 01ffc08006010000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 0000000900000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff000022cffe00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff000022cfff00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe >ffff000022d00000: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ^ ffff000022d00100: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ffff000022d00200: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ==================================================================