Skip to main content
← All vulnerabilities
CVE-2017-12190

The bio_map_user_iov and bio_unmap_user functions in block/bio.c in the Linux kernel before 4.13.8 do unbalanced refcounting when a SCSI I/O

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

Summary

The bio_map_user_iov and bio_unmap_user functions in block/bio.c in the Linux kernel before 4.13.8 do unbalanced refcounting when a SCSI I/O vector has small consecutive buffers belonging to the same page. The bio_add_pc_page function merges them into one, but the page reference is never dropped. This causes a memory leak and possible system lockup (exploitable against the host OS by a guest OS user, if a SCSI disk is passed through to a virtual machine) due to an out-of-memory condition.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a Linux kernel through v4.14-rc5

    Linux kernel through v4.14-rc5

References 20

git.kernel.org

securityfocus.com

lists.debian.org

usn.ubuntu.com

access.redhat.com

kernel.org

GitHub · torvalds/linux

bugzilla.redhat.com

seclists.org

support.f5.com