------------[ cut here ]------------ kernel BUG at mm/slab.c:4407! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 4461 Comm: syz-executor0 Not tainted 4.16.0-rc7+ #280 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__check_heap_object+0xa7/0xc0 mm/slab.c:4432 RSP: 0018:ffff8801d95e7ad0 EFLAGS: 00010297 RAX: 00000000000f0f0e RBX: 1ffff1003b2bcf61 RCX: 000000000000000c RDX: ffff8801aa988dc0 RSI: 0000000000000fe4 RDI: ffff8801aa988a1c RBP: ffff8801d95e7ad0 R08: 0000000000000000 R09: ffff8801da5da600 R10: 00000000e1e1deab R11: 0000000000000000 R12: ffff8801aa988a1c R13: 0000000000000fe4 R14: ffffea0006aa6200 R15: ffffea0006aa6200 FS: 0000000000000000(0000) GS:ffff8801db300000(0063) knlGS:0000000008f89900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000087b71d4 CR3: 00000001ba8bb001 CR4: 00000000001606e0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: check_heap_object mm/usercopy.c:236 [inline] __check_object_size+0x272/0x530 mm/usercopy.c:259 check_object_size include/linux/thread_info.h:112 [inline] strncpy_from_user+0xf4/0x430 lib/strncpy_from_user.c:116 getname_flags+0x10e/0x580 fs/namei.c:149 getname fs/namei.c:209 [inline] user_path_create fs/namei.c:3683 [inline] SYSC_mkdirat fs/namei.c:3815 [inline] SyS_mkdirat fs/namei.c:3807 [inline] SYSC_mkdir fs/namei.c:3834 [inline] SyS_mkdir+0xc1/0x2a0 fs/namei.c:3832 do_syscall_32_irqs_on arch/x86/entry/common.c:330 [inline] do_fast_syscall_32+0x3ec/0xf9f arch/x86/entry/common.c:392 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f59c99 RSP: 002b:000000000844eb0c EFLAGS: 00000206 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 000000000844f7ec RCX: 00000000000001ff RDX: 000000000844eb60 RSI: 0000000000000013 RDI: 000000000844f7ec RBP: 00000000000001ff R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Code: 2c 48 c7 c7 64 1f 76 87 e8 47 cc 07 00 5d c3 49 8b 91 08 01 00 00 48 29 c7 48 39 d7 77 be 48 01 d0 48 29 c8 48 39 f0 72 b3 5d c3 <0f> 0b 48 c7 c7 64 1f 76 87 e8 1b cd 07 00 90 90 90 90 90 90 90 RIP: __check_heap_object+0xa7/0xc0 mm/slab.c:4432 RSP: ffff8801d95e7ad0 ---[ end trace d341197a847a99cc ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..