------------[ cut here ]------------ kernel BUG at mm/slab.c:4427! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 30127 Comm: syz-executor.4 Not tainted 4.14.138 #34 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88804f5d8400 task.stack: ffff888057b80000 RIP: 0010:__check_heap_object+0x58/0x5a mm/slab.c:4427 RSP: 0018:ffff888057b87bc0 EFLAGS: 00010246 RAX: 0000000000000001 RBX: 00000000000003c7 RCX: 0000000000000014 RDX: 00000000001fdbc7 RSI: 00000000000003c7 RDI: ffff88820efffff3 RBP: ffff888057b87c00 R08: ffff8880aa802b00 R09: ffff88820ee00440 R10: ffff88821fff8050 R11: 0000000000000001 R12: ffff88820efffff3 R13: ffffea00083b8000 R14: 0000000000000001 R15: ffffea00083b8000 FS: 00007f43f0d30700(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000960004 CR3: 0000000081578000 CR4: 00000000001406e0 Call Trace: 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+0x9a/0x150 net/bpf/test_run.c:59 bpf_prog_test_run_skb+0x5af/0x9a0 net/bpf/test_run.c:144 bpf_prog_test_run kernel/bpf/syscall.c:1258 [inline] SYSC_bpf kernel/bpf/syscall.c:1520 [inline] SyS_bpf+0x749/0x38f3 kernel/bpf/syscall.c:1469 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459829 RSP: 002b:00007f43f0d2fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829 RDX: 0000000000000028 RSI: 0000000020000280 RDI: 000000000000000a RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f43f0d306d4 R13: 00000000004bfb92 R14: 00000000004d17f8 R15: 00000000ffffffff 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 44 89 e9 48 c7 c7 b0 d4 41 87 89 75 d4 4c 8d 45 cc 81 e1 RIP: __check_heap_object+0x58/0x5a mm/slab.c:4427 RSP: ffff888057b87bc0 ---[ end trace 4c71c1d9ab3dc75d ]---