CVE-2017-12190

MEDIUM

Linux kernel <4.13.8 - Memory Corruption

Title source: llm
STIX 2.1

Description

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.

References (20)

Core 20
Core References
Issue Tracking, Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/101911
Mailing List mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3583-2/
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1854
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3582-1/
Issue Tracking, Third Party Advisory x_refsource_confirm
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.8
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1062
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:0654
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3583-1/
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=1495089
Issue Tracking, Mailing List, Third Party Advisory x_refsource_confirm
http://seclists.org/oss-sec/2017/q4/52
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:0676
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3582-2/
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:1170
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:1190

Scores

CVSS v3 6.5
EPSS 0.0053
EPSS Percentile 40.4%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

Details

CWE
CWE-400 CWE-772
Status published
Products (2)
linux/linux_kernel < 4.13.7
n/a/Linux kernel through v4.14-rc5 Linux kernel through v4.14-rc5
Published Nov 22, 2017
Tracked Since Feb 18, 2026