kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 17974 Comm: blkid Not tainted 4.13.0-rc6-next-20170823+ #7 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 task: ffff880058ea6680 task.stack: ffff880058fc0000 RIP: 0010:bdev_read_page+0x38/0x210 fs/block_dev.c:671 RSP: 0018:ffff880058fc6b88 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000006 RDX: 000000000000001e RSI: 000000000000a180 RDI: 00000000000000f0 RBP: ffff880058fc6bb8 R08: ffff880058fc70a0 R09: ffff880058fc6fa0 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 000000000000a180 R14: ffffea0000f59800 R15: 0000000000000000 FS: 00007f3c0b940740(0000) GS:ffff88003ed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000009b0058 CR3: 0000000026a02000 CR4: 00000000000026e0 DR0: 0000000020000008 DR1: 0000000020000008 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: do_mpage_readpage+0x14f9/0x19d0 fs/mpage.c:281 mpage_readpages+0x626/0x8a0 fs/mpage.c:382 blkdev_readpages+0x2c/0x40 fs/block_dev.c:589 read_pages mm/readahead.c:121 [inline] __do_page_cache_readahead+0x6c6/0xc00 mm/readahead.c:199 force_page_cache_readahead+0x1fe/0x340 mm/readahead.c:232 page_cache_sync_readahead+0xd6/0x100 mm/readahead.c:505 do_generic_file_read mm/filemap.c:1948 [inline] generic_file_read_iter+0x164a/0x26c0 mm/filemap.c:2211 blkdev_read_iter+0x105/0x170 fs/block_dev.c:1917 call_read_iter include/linux/fs.h:1737 [inline] new_sync_read fs/read_write.c:400 [inline] __vfs_read+0x6ad/0xa00 fs/read_write.c:412 vfs_read+0x124/0x360 fs/read_write.c:433 SYSC_read fs/read_write.c:549 [inline] SyS_read+0xef/0x220 fs/read_write.c:542 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x7f3c0b247310 RSP: 002b:00007ffd2f75b2e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3c0b247310 RDX: 0000000000000400 RSI: 00000000009afc58 RDI: 0000000000000003 RBP: 0000000000000086 R08: 0000000000000028 R09: 0000000000200000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000009afc30 R13: 000000000001ffb1 R14: 0000000000000000 R15: 0000000000000004 Code: 89 f5 53 48 89 fb 48 83 ec 08 48 89 55 d0 e8 e0 3d b4 ff 48 8d bb f0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 78 01 00 00 4c 8b a3 f0 00 00 00 48 b8 00 00 RIP: bdev_read_page+0x38/0x210 fs/block_dev.c:671 RSP: ffff880058fc6b88 ---[ end trace 0950eee7768f495c ]---