random: cc1: uninitialized urandom read (8 bytes read) audit: type=1400 audit(1548535190.911:9): avc: denied { map } for pid=1786 comm="syz-execprog" path="/root/syzkaller-shm756166050" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1 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 NOPTI Modules linked in: CPU: 1 PID: 1824 Comm: syz-executor0 Not tainted 4.14.96+ #19 task: ffff8881cff98000 task.stack: ffff8881cefe8000 RIP: 0010:kobject_uevent_env+0x62/0xc60 lib/kobject_uevent.c:348 RSP: 0018:ffff8881cefefab0 EFLAGS: 00010206 RAX: 0000000000000018 RBX: 0000000000000002 RCX: 1ffff11039ff3104 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000000000c0 RBP: ffff8881d6082ed0 R08: 0000000000000001 R09: 0000000000000001 R10: ffff8881cff98858 R11: 0000000000000001 R12: 00000000000000a0 R13: dffffc0000000000 R14: ffff8881d6082e48 R15: 00000000000000a0 FS: 0000000000b9a940(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f97b2e4da20 CR3: 00000001d66d4002 CR4: 00000000001606a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: loop_clr_fd+0x49e/0xac0 drivers/block/loop.c:1059 lo_ioctl+0x813/0x1970 drivers/block/loop.c:1414 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x4d9/0x1810 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1881 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0xabe/0x1040 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 Code: 03 42 80 3c 28 00 0f 85 7c 0a 00 00 4d 8b 64 24 18 4d 85 e4 0f 84 4f 02 00 00 e8 0a 9f af fe 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 48 0a 00 00 49 8b 6c 24 20 48 85 ed 74 b0 RIP: kobject_uevent_env+0x62/0xc60 lib/kobject_uevent.c:348 RSP: ffff8881cefefab0 ---[ end trace 9d23b53ed10629a2 ]---