------------[ cut here ]------------ kernel BUG at mm/slab.c:4427! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 26584 Comm: syz-executor.3 Not tainted 4.14.174-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888093746480 task.stack: ffff888212de0000 RIP: 0010:__check_heap_object+0x58/0x5a mm/slab.c:4427 RSP: 0018:ffff888212de7be8 EFLAGS: 00010293 RAX: 00000000000f0f0f RBX: 0000000000000711 RCX: 000000000000000c RDX: 00000000e1e1e1df RSI: 0000000000000711 RDI: ffff88802cfd6afd RBP: 0000000000000001 R08: ffff88812fe56dc0 R09: ffff88802cfd6b00 R10: ffff88821fff7050 R11: 0000000000000001 R12: ffff88802cfd6afd R13: ffffea0000b3f580 R14: ffff88802cfd720e R15: ffffea0000b3f580 FS: 00007ff5f4701700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201bb1ff CR3: 0000000212fd0000 CR4: 00000000001406e0 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:1526 [inline] SyS_bpf+0x6bc/0x2d12 kernel/bpf/syscall.c:1475 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c849 RSP: 002b:00007ff5f4700c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007ff5f47016d4 RCX: 000000000045c849 RDX: 0000000000000040 RSI: 00000000200007c0 RDI: 000000000000000a RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000059 R14: 00000000004c2f70 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 40 ef 8d 87 89 74 24 0c 4c 8d 44 24 04 81 RIP: __check_heap_object+0x58/0x5a mm/slab.c:4427 RSP: ffff888212de7be8 ---[ end trace a025d0f009bf3df5 ]---