VULNERABILITY INTELLIGENCE
CVE-2017-12190
CVSS score6.5 MEDIUM
EPSS probability0.53%
CISA KEVNot currently listed
Published2017-11-22
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
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.
Weakness classification
- CWE-400: Uncontrolled Resource Consumption
- CWE-772: Missing Release of Resource after Effective Lifetime
Primary references
- secalert@redhat.com — Issue Tracking, Patch, Vendor Advisory
- secalert@redhat.com — Issue Tracking, Patch, Vendor Advisory
- secalert@redhat.com — Issue Tracking, Mailing List, Third Party Advisory
- secalert@redhat.com — Issue Tracking, Third Party Advisory
- secalert@redhat.com — Issue Tracking, Third Party Advisory, VDB Entry
- secalert@redhat.com
- secalert@redhat.com
- secalert@redhat.com
- secalert@redhat.com
- secalert@redhat.com
- secalert@redhat.com
- secalert@redhat.com — Issue Tracking, Patch, Third Party Advisory