syz-executor619[10237]: segfault at 0 ip 0000000000402602 sp 00007f9cae9b1170 error 4 in syz-executor619341481[401000+9a000] syz-executor619[10254]: segfault at 0 ip 0000000000402602 sp 00007f9cae9b1170 error 4 in syz-executor619341481[401000+9a000] 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: 7975 Comm: syz-executor619 Not tainted 4.14.227-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880b3650000 task.stack: ffff888099268000 RIP: 0010:kobject_uevent_env+0xb2/0xf40 lib/kobject_uevent.c:355 RSP: 0018:ffff88809926fb28 EFLAGS: 00010206 RAX: 0000000000000018 RBX: 0000000000000002 RCX: 1ffff110166ca116 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000000000c0 RBP: ffff8880b509cb50 R08: ffffffff8b9be500 R09: 0000000000000001 R10: 0000000000000000 R11: ffff8880b3650000 R12: 00000000000000a0 R13: dffffc0000000000 R14: ffff8880b509ca48 R15: 00000000000000a0 FS: 0000000001d47300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004b2843 CR3: 00000000b07a9000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: loop_clr_fd+0x59f/0xc20 drivers/block/loop.c:1069 lo_ioctl+0x895/0x1cd0 drivers/block/loop.c:1424 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x540/0x1830 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1893 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x44a2e7 RSP: 002b:00007ffecac731d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 000000000044a2e7 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 00007ffecac73260 R08: 0000000000000000 R09: 00007ffecac73070 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 00000000000027f3 R14: 00007ffecac73250 R15: 00007ffecac73204 Code: 03 42 80 3c 28 00 0f 85 e4 0b 00 00 4d 8b 64 24 18 4d 85 e4 0f 84 01 0c 00 00 e8 2a e8 59 fa 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 db 0b 00 00 49 8b 6c 24 20 48 85 ed 74 b0 RIP: kobject_uevent_env+0xb2/0xf40 lib/kobject_uevent.c:355 RSP: ffff88809926fb28 ---[ end trace 49c517c9768ff6fc ]---