BUG: unable to handle kernel paging request at ffffed01078d4fff IP: ata_bmdma_fill_sg drivers/ata/libata-sff.c:2650 [inline] IP: ata_bmdma_qc_prep+0x30a/0x3d0 drivers/ata/libata-sff.c:2727 PGD 7fff6067 P4D 7fff6067 PUD 0 Oops: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 3 PID: 14842 Comm: syz-executor0 Not tainted 4.14.0-rc5-next-20171018+ #8 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 task: ffff8800618ce4c0 task.stack: ffff880061760000 RIP: 0010:ata_bmdma_fill_sg drivers/ata/libata-sff.c:2650 [inline] RIP: 0010:ata_bmdma_qc_prep+0x30a/0x3d0 drivers/ata/libata-sff.c:2727 RSP: 0018:ffff880061766e10 EFLAGS: 00010807 RAX: dffffc0000000000 RBX: ffff88083c6a7ff8 RCX: ffffffff8378cee1 RDX: 1ffff101078d4fff RSI: ffffc90004024000 RDI: ffff88083c6a7ffc RBP: ffff880061766e70 R08: ffff88003c6b02a4 R09: ffff88003c6b02a8 R10: 0000000000000003 R11: ffffed00078d6051 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f298a7bb700(0000) GS:ffff88006df00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed01078d4fff CR3: 0000000062c5e000 CR4: 00000000000006e0 DR0: 0000000020000000 DR1: 0000000020001000 DR2: 0000000020001000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: ata_qc_issue+0x61e/0xe40 drivers/ata/libata-core.c:5411 ata_scsi_translate+0x34a/0x5e0 drivers/ata/libata-scsi.c:2024 __ata_scsi_queuecmd drivers/ata/libata-scsi.c:4326 [inline] ata_scsi_queuecmd+0x2ae/0x6b0 drivers/ata/libata-scsi.c:4375 scsi_dispatch_cmd+0x432/0xb60 drivers/scsi/scsi_lib.c:1713 scsi_request_fn+0xdf0/0x1e50 drivers/scsi/scsi_lib.c:1851 __blk_run_queue_uncond block/blk-core.c:376 [inline] __blk_run_queue+0x1a6/0x370 block/blk-core.c:396 blk_execute_rq_nowait+0x200/0x310 block/blk-exec.c:78 sg_common_write.isra.17+0xbf8/0x1cb0 drivers/scsi/sg.c:806 sg_new_write.isra.20+0x5c0/0x830 drivers/scsi/sg.c:746 sg_ioctl+0x1be4/0x2d90 drivers/scsi/sg.c:890 vfs_ioctl fs/ioctl.c:45 [inline] do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:685 SYSC_ioctl fs/ioctl.c:700 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:691 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x447c89 RSP: 002b:00007f298a7babd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f298a7bb6cc RCX: 0000000000447c89 RDX: 0000000020007000 RSI: 0000000000002285 RDI: 0000000000000017 RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000027f0 R14: 00000000006e6890 R15: 00007f298a7bb700 Code: 41 8d 5e ff e8 c8 ef f5 fd 48 c1 e3 03 e8 bf ef f5 fd 48 03 5d c8 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 04 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 0c RIP: ata_bmdma_fill_sg drivers/ata/libata-sff.c:2650 [inline] RSP: ffff880061766e10 RIP: ata_bmdma_qc_prep+0x30a/0x3d0 drivers/ata/libata-sff.c:2727 RSP: ffff880061766e10 CR2: ffffed01078d4fff ---[ end trace b511aa859839054c ]---