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 CPU: 0 PID: 14124 Comm: syz-executor.5 Not tainted 5.4.147-syzkaller-00012-g97b7ffb32f29 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bdev_read_page+0x37/0x190 fs/block_dev.c:707 Code: 10 49 89 d5 48 89 74 24 08 49 89 fc 49 bf 00 00 00 00 00 fc ff df e8 c8 e2 c0 ff 49 8d 9c 24 80 00 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 1a ff ed ff bd d0 04 00 00 48 03 RSP: 0018:ffff8881a7067708 EFLAGS: 00010202 RAX: 0000000000000010 RBX: 0000000000000080 RCX: 0000000000040000 RDX: ffffc90005ba1000 RSI: 0000000000000d2e RDI: 0000000000000d2f RBP: ffff8881a70678b0 R08: ffffffff81a1166e R09: fffff94000f20fa1 R10: fffff94000f20fa1 R11: 0000000000000000 R12: 0000000000000000 R13: ffffea0007907d00 R14: 0000000000000014 R15: dffffc0000000000 FS: 00007f68f46e7700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 00000001e9b97000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_mpage_readpage+0x1367/0x1a80 fs/mpage.c:338 mpage_readpages+0x32a/0x460 fs/mpage.c:440 read_pages+0xc1/0x3a0 mm/readahead.c:126 __do_page_cache_readahead+0x3de/0x460 mm/readahead.c:212 ra_submit mm/internal.h:62 [inline] do_sync_mmap_readahead mm/filemap.c:2441 [inline] filemap_fault+0xa6f/0x1930 mm/filemap.c:2527 __do_fault mm/memory.c:3237 [inline] do_shared_fault mm/memory.c:3692 [inline] do_fault mm/memory.c:3770 [inline] handle_pte_fault mm/memory.c:3997 [inline] __handle_mm_fault mm/memory.c:4121 [inline] handle_mm_fault+0x1867/0x3f30 mm/memory.c:4158 do_user_addr_fault+0x4a0/0xb40 arch/x86/mm/fault.c:1469 page_fault+0x2f/0x40 arch/x86/entry/entry_64.S:1203 RIP: 0010:copy_user_generic_unrolled+0x89/0xc0 arch/x86/lib/copy_user_64.S:91 Code: 38 4c 89 47 20 4c 89 4f 28 4c 89 57 30 4c 89 5f 38 48 8d 76 40 48 8d 7f 40 ff c9 75 b6 89 d1 83 e2 07 c1 e9 03 74 12 4c 8b 06 <4c> 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10 89 d1 8a RSP: 0018:ffff8881a7067e68 EFLAGS: 00050202 RAX: ffffffff821b3101 RBX: 0000000020000008 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffff8881a7067ea8 RDI: 0000000020000000 RBP: ffff8881a7067f00 R08: 0000000500000004 R09: ffffed1034e0cfd6 R10: ffffed1034e0cfd6 R11: 0000000000000000 R12: 00007ffffffff000 R13: 0000000000000008 R14: ffff8881a7067ea8 R15: 0000000020000000 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:128 [inline] _copy_to_user+0x8e/0xb0 lib/usercopy.c:29 copy_to_user include/linux/uaccess.h:152 [inline] do_pipe2+0xaf/0x250 fs/pipe.c:872 __do_sys_pipe fs/pipe.c:893 [inline] __se_sys_pipe fs/pipe.c:891 [inline] __x64_sys_pipe+0x36/0x40 fs/pipe.c:891 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f68f4f70ae9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f68f46e7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000016 RAX: ffffffffffffffda RBX: 00007f68f5083f60 RCX: 00007f68f4f70ae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f68f4fcaff7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffb718017f R14: 00007f68f46e7300 R15: 0000000000022000 Modules linked in: ---[ end trace d43595217b144af0 ]--- RIP: 0010:bdev_read_page+0x37/0x190 fs/block_dev.c:707 Code: 10 49 89 d5 48 89 74 24 08 49 89 fc 49 bf 00 00 00 00 00 fc ff df e8 c8 e2 c0 ff 49 8d 9c 24 80 00 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 1a ff ed ff bd d0 04 00 00 48 03 RSP: 0018:ffff8881a7067708 EFLAGS: 00010202 RAX: 0000000000000010 RBX: 0000000000000080 RCX: 0000000000040000 RDX: ffffc90005ba1000 RSI: 0000000000000d2e RDI: 0000000000000d2f RBP: ffff8881a70678b0 R08: ffffffff81a1166e R09: fffff94000f20fa1 R10: fffff94000f20fa1 R11: 0000000000000000 R12: 0000000000000000 R13: ffffea0007907d00 R14: 0000000000000014 R15: dffffc0000000000 FS: 00007f68f46e7700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff5c490dc8 CR3: 00000001e9b97000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 49 89 d5 mov %rdx,%r13 3: 48 89 74 24 08 mov %rsi,0x8(%rsp) 8: 49 89 fc mov %rdi,%r12 b: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 12: fc ff df 15: e8 c8 e2 c0 ff callq 0xffc0e2e2 1a: 49 8d 9c 24 80 00 00 lea 0x80(%r12),%rbx 21: 00 22: 48 89 d8 mov %rbx,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 1a ff ed ff callq 0xffedff52 38: bd d0 04 00 00 mov $0x4d0,%ebp 3d: 48 rex.W 3e: 03 .byte 0x3