================================================================== BUG: KASAN: stack-out-of-bounds in deref_stack_regs arch/x86/kernel/unwind_orc.c:305 [inline] BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x142e/0x17d0 arch/x86/kernel/unwind_orc.c:437 Read of size 8 at addr ffff8880b4b17c18 by task syz-executor.0/10353 CPU: 1 PID: 10353 Comm: syz-executor.0 Not tainted 4.14.295-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1d3 mm/kasan/report.c:252 kasan_report_error.cold+0x8a/0x191 mm/kasan/report.c:351 kasan_report mm/kasan/report.c:409 [inline] __asan_report_load8_noabort+0x68/0x70 mm/kasan/report.c:430 deref_stack_regs arch/x86/kernel/unwind_orc.c:305 [inline] unwind_next_frame+0x142e/0x17d0 arch/x86/kernel/unwind_orc.c:437 __save_stack_trace+0x90/0x160 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 slab_post_alloc_hook mm/slab.h:442 [inline] slab_alloc_node mm/slab.c:3333 [inline] kmem_cache_alloc_node+0x133/0x410 mm/slab.c:3640 __alloc_skb+0x5c/0x510 net/core/skbuff.c:193 __napi_alloc_skb+0x57/0x2d0 net/core/skbuff.c:478 napi_alloc_skb include/linux/skbuff.h:2721 [inline] page_to_skb+0x7b/0x820 drivers/net/virtio_net.c:323 receive_mergeable drivers/net/virtio_net.c:723 [inline] receive_buf+0x1f71/0x4d70 drivers/net/virtio_net.c:828 virtnet_receive drivers/net/virtio_net.c:1102 [inline] virtnet_poll+0x4b7/0x960 drivers/net/virtio_net.c:1193 napi_poll net/core/dev.c:5604 [inline] net_rx_action+0x466/0xfd0 net/core/dev.c:5670 __do_softirq+0x24d/0x9ff kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x193/0x240 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:638 [inline] do_IRQ+0x112/0x1d0 arch/x86/kernel/irq.c:242 common_interrupt+0x93/0x93 arch/x86/entry/entry_64.S:576 RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:774 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:796 [inline] RIP: 0010:lock_acquire+0x97/0x3f0 kernel/locking/lockdep.c:3993 RSP: 0018:ffff8880b4b17af0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffffad RAX: 1ffffffff11e1358 RBX: ffff888065cc61c0 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff888065cc6a44 RBP: ffff88809aff4ae0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffff888065cc61c0 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 perf_event_ctx_lock_nested+0x14d/0x2c0 kernel/events/core.c:1241 retint_kernel+0x2d/0x2d RIP: 0003:0xffff888065cc61c0 RSP: 65cc6a40:0000000000000286 EFLAGS: 00000286 ORIG_RAX: ffffffff8becddc0 RAX: ffff88823fff704f RBX: ffff888065cc61c0 RCX: 0000000041b58ab3 RDX: 1ffff11016962f86 RSI: ffffffff88f78200 RDI: ffffffff81635937 RBP: ffffffff8becddc0 R08: ffff888065cc6a40 R09: ffffffff8723a4f0 R10: ffffffff88b5e118 R11: 0000000041b58ab3 R12: ffffffff8163596d R13: ffff88809aff4ae0 R14: 1ffff11016962f7b R15: 0000000000000000 The buggy address belongs to the page: page:ffffea0002d2c5c0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0xfff00000000000() raw: 00fff00000000000 0000000000000000 0000000000000000 00000000ffffffff raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880b4b17b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880b4b17b80: 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 f2 00 00 >ffff8880b4b17c00: 00 f2 f2 f2 00 00 00 00 00 f3 f3 f3 f3 f3 00 00 ^ ffff8880b4b17c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880b4b17d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================