CVE-2017-12190: Medium severity Linux Linux kernel vulnerability

Published Sep 25, 2017
·
Updated

biomapuseriov and biounmapuser do unbalanced pages refcounting if IO vector has small consecutive buffers belonging to the same page. bioaddpcpage merges them into one, but the page reference is never dropped, causing memory leak.

References:

http://seclists.org/oss-sec/2017/q4/52

https://bugzilla.suse.com/showbug.cgi?id=1062568

Discussion:

https://marc.info/?t=150605752800001&r=1&w=2

Proposed patch and reproducer:

https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1495884.html

https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1495887.html

Related upstream commits:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=95d78c28b5a85bacbc29b8dba7c04babb9b0d467

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058

Other sources

The biomapuseriov and biounmapuser 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 bioaddpcpage 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.

Affected Software

2 affected componentsFixes available
Linux Linux kernel<=4.13.7
debian/linux
6.1.176-16.1.187-16.12.107-17.1.13-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.187-1Fixed in 6.12.107-1Fixed in 7.1.13-1
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.13.8

Event History

Sep 25, 2017
Data Sourced
via Red Hat·07:40 AM
DescriptionSeverityAffected Software
Nov 22, 2017
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
DescriptionWeakness
Data Sourced
via NVD·06:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 23, 2025
Data Sourced
via Launchpad·04:36 AM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:04 AM
RemedyDescriptionSeverityAffected Software
Sep 12, 2026
Data Sourced
via Debian·12:31 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2017-12190?

CVE-2017-12190 is a vulnerability in the Linux kernel that allows for unbalanced refcounting when a SCSI I/O vector has small consecutive buffers belonging to the same page.

2

How does CVE-2017-12190 affect Linux?

CVE-2017-12190 affects the Linux kernel versions before 4.13.8 and can result in a kernel crash or privilege escalation.

3

What is the severity of CVE-2017-12190?

CVE-2017-12190 has a severity rating of medium.

4

How can I fix CVE-2017-12190?

To fix CVE-2017-12190, you need to update your Linux kernel to version 4.13.8 or later.

5

Where can I find more information about CVE-2017-12190?

You can find more information about CVE-2017-12190 at the following references: [1] [2] [3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203