Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 2 UID: 0 PID: 10236 Comm: syz.2.1334 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:md_handle_request+0x805/0x1230 drivers/md/md.c:417 Code: f9 e8 1f b3 49 f9 e8 aa fc 64 f9 48 8b 44 24 28 42 80 3c 30 00 0f 85 b4 08 00 00 49 8b 5f 08 48 8d 7b 18 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 a9 08 00 00 48 8b 43 18 4c 89 ee 4c 89 ff e8 RSP: 0018:ffffc900064af1b0 EFLAGS: 00010206 RAX: 0000000000000003 RBX: 0000000000000000 RCX: ffffc900247e1000 RDX: 0000000000080000 RSI: ffffffff88a8b616 RDI: 0000000000000018 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000200 R11: 0000000000000001 R12: ffffc900064af238 R13: ffff88802249db80 R14: dffffc0000000000 R15: ffff88801f75c000 FS: 0000000000000000(0000) GS:ffff888095492000(0063) knlGS:00000000f5435b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c365616 CR3: 0000000053e85000 CR4: 0000000000352ef0 Call Trace: md_submit_bio+0x1e9/0x350 drivers/md/md.c:458 __submit_bio block/blk-core.c:682 [inline] __submit_bio+0x20e/0x3d0 block/blk-core.c:671 __submit_bio_noacct block/blk-core.c:725 [inline] submit_bio_noacct_nocheck+0x815/0xd00 block/blk-core.c:793 submit_bio_noacct+0xc8e/0x2100 block/blk-core.c:929 mpage_bio_submit_read fs/mpage.c:74 [inline] mpage_readahead+0x58c/0x7a0 fs/mpage.c:379 read_pages+0x1b6/0xef0 mm/readahead.c:174 page_cache_ra_unbounded+0x48a/0x990 mm/readahead.c:315 do_page_cache_ra+0x10f/0x160 mm/readahead.c:348 page_cache_sync_ra+0xa39/0xb40 mm/readahead.c:634 filemap_get_pages+0x6ca/0x2080 mm/filemap.c:2732 filemap_read+0x3b0/0x10a0 mm/filemap.c:2842 blkdev_read_iter+0x22e/0x7c0 block/fops.c:898 new_sync_read fs/read_write.c:493 [inline] vfs_read+0x82e/0xb40 fs/read_write.c:574 ksys_pread64+0x161/0x1a0 fs/read_write.c:764 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] __do_fast_syscall_32+0x14b/0x8c0 arch/x86/entry/syscall_32.c:282 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:307 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf743efbc Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8 RSP: 002b:00000000f543550c EFLAGS: 00000292 ORIG_RAX: 00000000000000b4 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000080000400 RDX: 0000000000000200 RSI: 0000000000010000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---------------- Code disassembly (best guess): 0: f9 stc 1: e8 1f b3 49 f9 call 0xf949b325 6: e8 aa fc 64 f9 call 0xf964fcb5 b: 48 8b 44 24 28 mov 0x28(%rsp),%rax 10: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) 15: 0f 85 b4 08 00 00 jne 0x8cf 1b: 49 8b 5f 08 mov 0x8(%r15),%rbx 1f: 48 8d 7b 18 lea 0x18(%rbx),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 0f 85 a9 08 00 00 jne 0x8de 35: 48 8b 43 18 mov 0x18(%rbx),%rax 39: 4c 89 ee mov %r13,%rsi 3c: 4c 89 ff mov %r15,%rdi 3f: e8 .byte 0xe8