CVE-2017-12190

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.

Categories

6.5
CVSS
Severity: Medium
CVSS 3.0 •
CVSS 2.0 •
EPSS 0.04%
Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory kernel.org Vendor Advisory kernel.org
Affected: n/a Linux kernel through v4.14-rc5
Published at:
Updated at:

References

Link Tags
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058 issue tracking patch vendor advisory
http://www.securityfocus.com/bid/101911 issue tracking vdb entry third party advisory
https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html mailing list
https://usn.ubuntu.com/3583-2/ vendor advisory
https://access.redhat.com/errata/RHSA-2018:1854 vendor advisory
https://usn.ubuntu.com/3582-1/ vendor advisory
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.8 issue tracking third party advisory
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=95d78c28b5a85bacbc29b8dba7c04babb9b0d467 issue tracking patch vendor advisory
https://access.redhat.com/errata/RHSA-2018:1062 vendor advisory
https://github.com/torvalds/linux/commit/95d78c28b5a85bacbc29b8dba7c04babb9b0d467 issue tracking third party advisory patch
https://access.redhat.com/errata/RHSA-2018:0654 vendor advisory
https://usn.ubuntu.com/3583-1/ vendor advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1495089 issue tracking third party advisory patch
https://github.com/torvalds/linux/commit/2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058 issue tracking third party advisory patch
http://seclists.org/oss-sec/2017/q4/52 issue tracking mailing list third party advisory
https://access.redhat.com/errata/RHSA-2018:0676 vendor advisory
https://usn.ubuntu.com/3582-2/ vendor advisory
https://access.redhat.com/errata/RHSA-2019:1170 vendor advisory
https://access.redhat.com/errata/RHSA-2019:1190 vendor advisory
https://support.f5.com/csp/article/K93472064?utm_source=f5support&%3Butm_medium=RSS

Frequently Asked Questions

What is the severity of CVE-2017-12190?
CVE-2017-12190 has been scored as a medium severity vulnerability.
How to fix CVE-2017-12190?
To fix CVE-2017-12190, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2017-12190 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2017-12190 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2017-12190?
CVE-2017-12190 affects n/a Linux kernel through v4.14-rc5.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.