Resource exhaustion in Linux Kernel
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 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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.005 (42.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 42.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Linux Kernel
- Linux Kernel Through V4.14-Rc5 — versions Linux kernel through v4.14-rc5
Weakness classification (CWE)
References
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Issue Tracking, Vendor Advisory)
- www.securityfocus.com/bid/101911 (VDB Entry, Third Party Advisory, vdb-entry, Issue Tracking)
- lists.debian.org/debian-lts-announce/2017/12/msg00004.html (mailing-list)
- usn.ubuntu.com/3583-2/ (vendor-advisory)
- access.redhat.com/errata/RHSA-2018:1854 (vendor-advisory)
- usn.ubuntu.com/3582-1/ (vendor-advisory)
- www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.8 (Third Party Advisory, Issue Tracking)
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Issue Tracking, Vendor Advisory)
- access.redhat.com/errata/RHSA-2018:1062 (vendor-advisory)
- github.com/torvalds/linux/commit/95d78c28b5a85bacbc29b8dba7c04babb9b0d467 (Patch, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2017-12190?
- CVE-2017-12190 is a medium-severity vulnerability in Linux Kernel, classified under Uncontrolled Resource Consumption. CVSS score: 6.5/10. Published 2017-11-22.
- How severe is CVE-2017-12190?
- Medium severity. CVSS v3 base score is 6.5 out of 10.