================================================================== BUG: KASAN: invalid-access in __packet_get_status+0xb8/0x138 net/packet/af_packet.c:439 Read at addr f9f00000096e0000 by task syz.0.6722/23989 Pointer tag: [f9], memory tag: [f0] CPU: 1 PID: 23989 Comm: syz.0.6722 Not tainted 6.10.0-rc7-syzkaller-00025-ga19ea421490d #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: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] __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/0xbd0 net/packet/af_packet.c:2286 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] hsr_xmit net/hsr/hsr_forward.c:389 [inline] hsr_forward_do net/hsr/hsr_forward.c:529 [inline] hsr_forward_skb+0x3ac/0x758 net/hsr/hsr_forward.c:686 send_hsr_supervision_frame+0x12c/0x250 net/hsr/hsr_device.c:343 hsr_announce+0x50/0xac net/hsr/hsr_device.c:399 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:2417 __run_timer_base kernel/time/timer.c:2428 [inline] __run_timer_base kernel/time/timer.c:2421 [inline] run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0x8c/0xfc kernel/time/timer.c:2447 handle_softirqs+0x10c/0x240 kernel/softirq.c:554 __do_softirq+0x14/0x20 kernel/softirq.c:588 ____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:637 [inline] irq_exit_rcu+0xbc/0xd8 kernel/softirq.c:649 __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 __daif_local_irq_enable arch/arm64/include/asm/irqflags.h:26 [inline] arch_local_irq_enable arch/arm64/include/asm/irqflags.h:48 [inline] raw_spin_rq_unlock_irq kernel/sched/sched.h:1418 [inline] finish_lock_switch kernel/sched/core.c:5162 [inline] finish_task_switch.isra.0+0x74/0x248 kernel/sched/core.c:5280 context_switch kernel/sched/core.c:5411 [inline] __schedule+0x324/0x888 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x34/0x104 kernel/sched/core.c:6837 do_nanosleep.constprop.0+0x7c/0x138 kernel/time/hrtimer.c:2030 hrtimer_nanosleep+0xa4/0x114 kernel/time/hrtimer.c:2083 common_nsleep+0x44/0x6c kernel/time/posix-timers.c:1350 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline] __se_sys_clock_nanosleep kernel/time/posix-timers.c:1373 [inline] __arm64_sys_clock_nanosleep+0xcc/0x144 kernel/time/posix-timers.c:1373 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x48/0x118 arch/arm64/kernel/syscall.c:48 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:131 do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:150 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:0xfaf00000096e6000 pfn:0x496e0 head: order:3 mapcount:8 entire_mapcount:0 nr_pages_mapped:8 pincount:0 flags: 0x1ffc18003000040(head|arch_2|arch_3|node=0|zone=0|lastcpupid=0x7ff|kasantag=0x6) raw: 01ffc18003000040 0000000000000000 dead000000000122 0000000000000000 raw: faf00000096e6000 0000000000000000 0000000900000000 0000000000000000 head: 01ffc18003000040 0000000000000000 dead000000000122 0000000000000000 head: faf00000096e6000 0000000000000000 0000000900000000 0000000000000000 head: 01ffc18003000003 ffffc1ffc025b801 ffffffff00000007 0000000000000008 head: f2f0000000000008 0000000000000000 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: fff00000096dfe00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 fff00000096dff00: f8 f8 f8 f8 fe fe fe fe fe fe fe fe fe fe fe fe >fff00000096e0000: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ^ fff00000096e0100: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 fff00000096e0200: f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 f0 ==================================================================