------------[ cut here ]------------ kernel BUG at mm/slab.c:4427! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 30664 Comm: syz-executor.5 Not tainted 4.14.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888091b44640 task.stack: ffff88804b1c0000 RIP: 0010:__check_heap_object+0x58/0x5a mm/slab.c:4427 RSP: 0018:ffff88804b1c7be8 EFLAGS: 00010293 RAX: 00000000000f0f0f RBX: 0000000000000711 RCX: 000000000000000c RDX: 00000000e1e1e1df RSI: 0000000000000711 RDI: ffff88805201cafd RBP: 0000000000000001 R08: ffff88812fe56dc0 R09: ffff88805201cb00 R10: ffff88821fff7010 R11: 0000000000000001 R12: ffff88805201cafd R13: ffffea0001480700 R14: ffff88805201d20e R15: ffffea0001480700 FS: 00007ffbaa906700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000b70004 CR3: 000000008f4f6000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_heap_object mm/usercopy.c:216 [inline] __check_object_size mm/usercopy.c:242 [inline] __check_object_size+0x148/0x28a mm/usercopy.c:228 check_object_size include/linux/thread_info.h:108 [inline] check_copy_size include/linux/thread_info.h:139 [inline] copy_to_user include/linux/uaccess.h:154 [inline] bpf_test_finish.isra.0+0x89/0x140 net/bpf/test_run.c:59 bpf_prog_test_run_skb+0x584/0x960 net/bpf/test_run.c:144 bpf_prog_test_run kernel/bpf/syscall.c:1264 [inline] SYSC_bpf kernel/bpf/syscall.c:1529 [inline] SyS_bpf+0xd7a/0x2cd3 kernel/bpf/syscall.c:1477 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c879 RSP: 002b:00007ffbaa905c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007ffbaa9066d4 RCX: 000000000045c879 RDX: 0000000000000040 RSI: 00000000200007c0 RDI: 000000000000000a RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000059 R14: 00000000004c2f90 R15: 000000000076bf0c Code: e8 41 39 40 24 76 24 41 0f af 40 14 4c 01 c8 48 29 c7 49 63 40 74 48 39 f8 72 08 48 29 f8 48 39 f0 73 05 49 8b 40 58 c3 31 c0 c3 <0f> 0b 89 e9 48 c7 c7 50 f1 8d 87 89 74 24 0c 4c 8d 44 24 04 81 RIP: __check_heap_object+0x58/0x5a mm/slab.c:4427 RSP: ffff88804b1c7be8 ---[ end trace 20484145b7b0ebe0 ]---