------------[ cut here ]------------ kernel BUG at mm/slab.c:4427! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 10101 Comm: syz-executor.0 Not tainted 4.14.174-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 PM: Basic memory bitmaps created task: ffff888075b58140 task.stack: ffff888050948000 RIP: 0010:__check_heap_object+0x58/0x5a mm/slab.c:4427 RSP: 0018:ffff88805094fbe8 EFLAGS: 00010293 PM: Basic memory bitmaps freed RAX: 00000000000f0f0f RBX: 0000000000000711 RCX: 000000000000000c RDX: 00000000e1e1e1df RSI: 0000000000000711 RDI: ffff8880555200fd RBP: 0000000000000001 R08: ffff88812fe56dc0 R09: ffff888055520100 R10: ffff88821fff7010 R11: 0000000000000001 R12: ffff8880555200fd R13: ffffea0001554800 R14: ffff88805552080e R15: ffffea0001554800 FS: 00007fe51f3f8700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000226d750 CR3: 000000008c0f6000 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 PM: Marking nosave pages: [mem 0x00000000-0x00000fff] bpf_prog_test_run_skb+0x584/0x960 net/bpf/test_run.c:144 PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff] 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 PM: Basic memory bitmaps created PM: Basic memory bitmaps freed do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c849 RSP: 002b:00007fe51f3f7c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fe51f3f86d4 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: ffff88805094fbe8 ---[ end trace 021f88b9e167b2aa ]---