CVE-2017-12190

kernel: memory leak when merging buffers in SCSI IO vectors

Published Nov 22, 2017 CVSS 3.0 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1200-1 linux security update
EUVD EUVD EUVD-2017-3765 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.
Ubuntu USN Ubuntu USN USN-3487-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3582-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3582-2 Linux kernel (Xenial HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3583-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3583-2 Linux kernel (Trusty HWE) vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 6:28 PM
Reserved
Aug 1, 2017, 12:00 AM
Status
Modified
Published
Nov 22, 2017, 6:29 PM
Modified
Jun 17, 2026, 1:02 AM
Severity
Moderate
Public date
Sep 21, 2017, 12:00 AM