================================================================== BUG: KASAN: stack-out-of-bounds in deref_stack_regs arch/x86/kernel/unwind_orc.c:308 [inline] BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x1757/0x1810 arch/x86/kernel/unwind_orc.c:437 Read of size 8 at addr ffff8881a3dcfd40 by task syz-executor.5/12206 CPU: 0 PID: 12206 Comm: syz-executor.5 Not tainted 4.14.156-syzkaller #0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xe5/0x154 lib/dump_stack.c:58 print_address_description+0x60/0x226 mm/kasan/report.c:187 __kasan_report.cold+0x1a/0x41 mm/kasan/report.c:316 deref_stack_regs arch/x86/kernel/unwind_orc.c:308 [inline] unwind_next_frame+0x1757/0x1810 arch/x86/kernel/unwind_orc.c:437 __save_stack_trace+0x7a/0xf0 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/common.c:76 [inline] set_track mm/kasan/common.c:85 [inline] __kasan_kmalloc.part.0+0x53/0xc0 mm/kasan/common.c:501 slab_post_alloc_hook mm/slab.h:439 [inline] slab_alloc_node mm/slub.c:2792 [inline] slab_alloc mm/slub.c:2800 [inline] kmem_cache_alloc+0xee/0x360 mm/slub.c:2805 __build_skb+0x30/0x2f0 net/core/skbuff.c:281 __napi_alloc_skb+0x1e1/0x320 net/core/skbuff.c:486 napi_alloc_skb include/linux/skbuff.h:2690 [inline] page_to_skb+0xaf/0x6e0 drivers/net/virtio_net.c:323 receive_mergeable drivers/net/virtio_net.c:719 [inline] receive_buf+0x179d/0x4300 drivers/net/virtio_net.c:824 virtnet_receive drivers/net/virtio_net.c:1098 [inline] virtnet_poll+0x4e6/0x9f0 drivers/net/virtio_net.c:1189 napi_poll net/core/dev.c:5598 [inline] net_rx_action+0x366/0xcd0 net/core/dev.c:5664 __do_softirq+0x234/0x9ec kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x114/0x150 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:648 [inline] do_IRQ+0x104/0x1c0 arch/x86/kernel/irq.c:242 common_interrupt+0x8c/0x8c 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_is_held_type+0x54/0x150 kernel/locking/lockdep.c:4028 RSP: 0018:ffff8881a3dcfaf0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff6e RAX: 0000000000000000 RBX: ffff8881957fde00 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff8881957fe62c RBP: ffffffffa72d5220 R08: 0000000000000001 R09: ffffed103ae844fa R10: ffffed103ae844f9 R11: ffff8881d74227cf R12: ffffffffa587fe95 R13: 0000000000000000 R14: ffff8881ceb97a08 R15: ffffed1039d72f42 context_destroy security/selinux/ss/context.h:145 [inline] security_compute_sid.part.0+0xaa5/0x10a0 security/selinux/ss/services.c:1743 retint_kernel+0x2d/0x2d RIP: 0010:selinux_socket_create+0x2e0/0x4e7 security/selinux/hooks.c:4407 RSP: a5855230:ffffffffa706d658 EFLAGS: 41b58ab3 ORIG_RAX: 00000000000000cd RAX: ffff8881c5304bd0 RBX: 00000000000000cd RCX: 1ffff110347b9fa7 RDX: 000000000000001f RSI: 0000000000000000 RDI: ffff8881c5304bd4 RBP: 000000000000001f R08: 0000000000000001 R09: ffffffffa5883d8b R10: 0000000000000000 R11: 00000000000000cd R12: ffff8881a3dcfd58 R13: 0000000000000001 R14: c63d5e3505eccd00 R15: 0000000000000000 The buggy address belongs to the page: page:ffffea00068f73c0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0x4000000000000000() raw: 4000000000000000 0000000000000000 0000000000000000 00000000ffffffff raw: 0000000000000000 dead000000000200 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881a3dcfc00: f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 f3 f3 ffff8881a3dcfc80: f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881a3dcfd00: 00 00 00 00 00 00 00 f1 f1 f1 f1 04 f3 f3 f3 00 ^ ffff8881a3dcfd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881a3dcfe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 ==================================================================