CVE-2017-12190 json
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/…
published 8y ago modified 4mo ago also EUVD-2017-3765
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
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.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 4.13.10-1
debian advisories DEBIAN-CVE-2017-12190
- linux Ubuntu 14.04 LTS 3.13.0-142.191
- linux Ubuntu 16.04 LTS 4.4.0-116.140
- linux-aws Ubuntu 14.04 LTS 4.4.0-1014.14
- linux-aws Ubuntu 16.04 LTS 4.4.0-1052.61
- linux-gcp Ubuntu 16.04 LTS 4.13.0-1002.5
- linux-hwe Ubuntu 16.04 LTS 4.13.0-32.35~16.04.1
- linux-kvm Ubuntu 16.04 LTS 4.4.0-1019.24
- linux-azure Ubuntu 16.04 LTS 4.13.0-1005.7
ubuntu advisories UBUNTU-CVE-2017-12190
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 6 2.6.32-754.el6
- perf RHEL 6 2.6.32-754.el6
- python-perf RHEL 6 2.6.32-754.el6
- kernel-kdump RHEL 6 2.6.32-754.el6
- kernel-firmware RHEL 6 2.6.32-754.el6
- kernel-bootwrapper RHEL 6 2.6.32-754.el6
- kernel-abi-whitelists RHEL 6 2.6.32-754.el6
- kernel-debuginfo-common-i686 RHEL 6 2.6.32-754.el6
red hat advisories RHSA-2018:1854RHSA-2018:0654RHSA-2018:1062RHSA-2019:1190RHSA-2019:1170RHSA-2018:0676
- kernel-rt SLE Real Time 11 SP4 3.0.101.rt130-69.24.1
- kernel-syms-rt SLE Real Time 11 SP4 3.0.101.rt130-69.24.1
- kernel-rt_trace SLE Real Time 11 SP4 3.0.101.rt130-69.24.1
- kernel-source-rt SLE Real Time 11 SP4 3.0.101.rt130-69.24.1
- kernel-ec2 SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.22.1
- kernel-pae SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.22.1
- kernel-xen SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.22.1
- kernel-syms SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.22.1
suse advisories SUSE-SU-2018:1309-1SUSE-SU-2018:1172-1SUSE-SU-2018:1080-1SUSE-SU-2018:0848-1SUSE-SU-2018:0834-1
Is CVE-2017-12190 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-12190 updated cvss 6.2
kernel: memory leak when merging buffers in SCSI IO vectors
-
Red Hat Enterprise Linux 5 kernelaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-862.el7, kernel 3.10.0-862.el7, python-perf 3.10.0-862.el7, kernel-tools 3.10.0-862.el7, kernel-tools-libs 3.10.0-862.el7, kernel-abi-whitelists 3.10.0-862.el7, +1 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-862.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perf 3.10.0-862.el7, kernel 3.10.0-862.el7, python-perf 3.10.0-862.el7, kernel-tools 3.10.0-862.el7, kernel-tools-libs 3.10.0-862.el7, kernel-abi-whitelists 3.10.0-862.el7, +1 morefixed: vendor fix RHSA-2018:1062
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.4) perf 3.10.0-693.47.2.el7, kernel 3.10.0-693.47.2.el7, python-perf 3.10.0-693.47.2.el7, kernel-tools 3.10.0-693.47.2.el7, kernel-tools-libs 3.10.0-693.47.2.el7, kernel-abi-whitelists 3.10.0-693.47.2.el7, +1 morefixed: vendor fix RHSA-2019:1170
-
Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-862.el7fixed: vendor fix RHSA-2018:1062
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.4) kernel-debuginfo-common-x86_64 3.10.0-693.47.2.el7fixed: vendor fix RHSA-2019:1170
-
Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-754.el6, kernel 2.6.32-754.el6, kernel-firmware 2.6.32-754.el6, kernel-abi-whitelists 2.6.32-754.el6, kernel-debuginfo-common-i686 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf 2.6.32-754.el6, kernel-debuginfo-common-i686 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6fixed: vendor fix RHSA-2018:1854
-
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) perf 4.14.0-49.el7a, kernel 4.14.0-49.el7a, kernel-alt 4.14.0-49.el7a, python-perf 4.14.0-49.el7a, kernel-kdump 4.14.0-49.el7a, kernel-tools 4.14.0-49.el7a, +6 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) kernel-debuginfo-common-aarch64 4.14.0-49.el7a, kernel-debuginfo-common-ppc64le 4.14.0-49.el7afixed: vendor fix RHSA-2018:0654
-
Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt 3.10.0-862.rt56.804.el7, kernel-rt-trace 3.10.0-862.rt56.804.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-862.rt56.804.el7 Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-862.rt56.804.el7, kernel-rt-kvm 3.10.0-862.rt56.804.el7, kernel-rt-trace 3.10.0-862.rt56.804.el7, kernel-rt-debug-kvm 3.10.0-862.rt56.804.el7, kernel-rt-trace-kvm 3.10.0-862.rt56.804.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-862.rt56.804.el7fixed: vendor fix RHSA-2018:0676
show 11 moreshow fewer
-
Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-754.el6, kernel 2.6.32-754.el6, kernel-firmware 2.6.32-754.el6, kernel-abi-whitelists 2.6.32-754.el6, kernel-debuginfo-common-i686 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6 Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-754.el6, kernel 2.6.32-754.el6, kernel-kdump 2.6.32-754.el6, kernel-firmware 2.6.32-754.el6, kernel-bootwrapper 2.6.32-754.el6, kernel-abi-whitelists 2.6.32-754.el6, +4 morefixed: vendor fix RHSA-2018:1854
-
Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-862.el7, kernel 3.10.0-862.el7, python-perf 3.10.0-862.el7, kernel-kdump 3.10.0-862.el7, kernel-tools 3.10.0-862.el7, kernel-tools-libs 3.10.0-862.el7, +6 morefixed: vendor fix RHSA-2018:1062
-
Red Hat Enterprise Linux Server EUS (v. 7.4) perf 3.10.0-693.47.2.el7, kernel 3.10.0-693.47.2.el7, python-perf 3.10.0-693.47.2.el7, kernel-kdump 3.10.0-693.47.2.el7, kernel-tools 3.10.0-693.47.2.el7, kernel-tools-libs 3.10.0-693.47.2.el7, +6 morefixed: vendor fix RHSA-2019:1170
-
Red Hat Enterprise Linux Server Optional (v. 6) python-perf 2.6.32-754.el6, kernel-debuginfo-common-i686 2.6.32-754.el6, kernel-debuginfo-common-ppc64 2.6.32-754.el6, kernel-debuginfo-common-s390x 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6fixed: vendor fix RHSA-2018:1854
-
Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-862.el7, kernel-debuginfo-common-x86_64 3.10.0-862.el7, kernel-debuginfo-common-ppc64le 3.10.0-862.el7fixed: vendor fix RHSA-2018:1062
-
Red Hat Enterprise Linux Server Optional EUS (v. 7.4) kernel-debuginfo-common-ppc64 3.10.0-693.47.2.el7, kernel-debuginfo-common-x86_64 3.10.0-693.47.2.el7, kernel-debuginfo-common-ppc64le 3.10.0-693.47.2.el7fixed: vendor fix RHSA-2019:1170
-
Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-754.el6, kernel 2.6.32-754.el6, kernel-firmware 2.6.32-754.el6, kernel-abi-whitelists 2.6.32-754.el6, kernel-debuginfo-common-i686 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6fixed: vendor fix RHSA-2018:1854
-
Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-862.el7, kernel 3.10.0-862.el7, python-perf 3.10.0-862.el7, kernel-tools 3.10.0-862.el7, kernel-tools-libs 3.10.0-862.el7, kernel-abi-whitelists 3.10.0-862.el7, +1 morefixed: vendor fix RHSA-2018:1062
-
Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf 2.6.32-754.el6, kernel-debuginfo-common-i686 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6fixed: vendor fix RHSA-2018:1854
-
Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-862.el7fixed: vendor fix RHSA-2018:1062
-
Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt 3.10.0-693.47.2.rt56.641.el6rt, kernel-rt-trace 3.10.0-693.47.2.rt56.641.el6rt, kernel-rt-vanilla 3.10.0-693.47.2.rt56.641.el6rt, kernel-rt-firmware 3.10.0-693.47.2.rt56.641.el6rt, kernel-rt-debuginfo-common-x86_64 3.10.0-693.47.2.rt56.641.el6rtfixed: vendor fix RHSA-2019:1190
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| NVD | 2.0 | 4.9 | AV:L/AC:L/Au:N/C:N/I:N/A:C |
Affected products
- n/a Linux kernel through v4.14-rc5
Classification
- Weakness
- Technology feeds
References
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058
issue-tracking, patch, vendor-advisory
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=95d78c28b5a85bacbc29b8dba7c04babb9b0d467
issue-tracking, patch, vendor-advisory
-
github.com
/torvalds/linux/commit/95d78c28b5a85bacbc29b8dba7c04babb9b0d467
issue-tracking, patch, third-party-advisory
-
github.com
/torvalds/linux/commit/2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058
issue-tracking, patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1495089
issue-tracking, patch, third-party-advisory
-
usn.ubuntu.com
/3583-2/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:1854
vendor-advisory
-
usn.ubuntu.com
/3582-1/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:1062
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:0654
vendor-advisory
-
usn.ubuntu.com
/3583-1/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:0676
vendor-advisory
-
usn.ubuntu.com
/3582-2/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:1170
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:1190
vendor-advisory
-
securityfocus.com
/bid/101911
vdb-entry, issue-tracking, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2017/12/msg00004.html
mailing-list
-
kernel.org
/pub/linux/kernel/v4.x/ChangeLog-4.13.8
issue-tracking, third-party-advisory
-
seclists.org
/oss-sec/2017/q4/52
issue-tracking, mailing-list, third-party-advisory
- support.f5.com /csp/article/K93472064?utm_source=f5support&%3Butm_medium=RSS
Sources
- CVE List CVE-2017-12190
- NVD CVE-2017-12190
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.