bisecting fixing commit since 45f092f9e9cb31486db546e39bfe7cc0b3f57099 building syzkaller on 6b8391d069ed24abb321ad3e7564292a6d42a997 testing commit 45f092f9e9cb31486db546e39bfe7cc0b3f57099 with gcc (GCC) 8.1.0 kernel signature: dfb3f3b7f835be50a423dcc9c39aa2bb1b273e81d762f14b4cfea230e415d2bd all runs: crashed: general protection fault in kobject_uevent testing current HEAD 78d697fc93f98054e36a3ab76dca1a88802ba7be testing commit 78d697fc93f98054e36a3ab76dca1a88802ba7be with gcc (GCC) 8.1.0 kernel signature: 1c4ad6cea6f2e122c7e5915a92bc932e049ac09f8d53099e3bc2869b7e271e8e all runs: crashed: general protection fault in kobject_uevent revisions tested: 2, total time: 29m1.565565421s (build: 16m36.269626796s, test: 11m38.871763173s) the crash still happens on HEAD commit msg: Linux 4.14.172 crash: general protection fault in kobject_uevent kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 6832 Comm: syz-executor.0 Not tainted 4.14.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888082ca4280 task.stack: ffff888088850000 RIP: 0010:kobject_uevent_env+0x93/0xb60 lib/kobject_uevent.c:355 RSP: 0018:ffff888088857a88 EFLAGS: 00010206 RAX: 0000000000000018 RBX: 00000000000000a0 RCX: 1ffff1101059495e RDX: 1ffffffff0e4c9de RSI: 0000000000000002 RDI: 00000000000000c0 RBP: ffff888088857b18 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000028 R11: ffff888082ca4280 R12: ffff88808974b280 R13: dffffc0000000000 R14: 00000000000000a0 R15: ffff8880a8d979a8 FS: 0000000000ff6940(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6db6b9fa20 CR3: 00000000a05a0000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kobject_uevent+0xb/0x10 lib/kobject_uevent.c:553 loop_clr_fd+0x492/0xac0 drivers/block/loop.c:1069 lo_ioctl+0x7e3/0x1c70 drivers/block/loop.c:1424 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x784/0x16b0 block/ioctl.c:594 block_ioctl+0xd7/0x130 fs/block_dev.c:1881 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x180/0xfb0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x74/0x80 fs/ioctl.c:692 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459697 RSP: 002b:00007ffc96131538 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459697 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 0000000000000569 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc96131570 R14: 000000000003c210 R15: 00007ffc96131580 Code: 18 48 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 50 09 00 00 48 8b 5b 18 48 85 db 0f 84 d6 01 00 00 48 8d 7b 20 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 23 09 00 00 4c 8b 63 20 4d 85 e4 74 be 4d RIP: kobject_uevent_env+0x93/0xb60 lib/kobject_uevent.c:355 RSP: ffff888088857a88 ---[ end trace 5d75d67d0d8d3ca5 ]---