cbcvebase.
CVE-2017-12190
published 2017-11-22

CVE-2017-12190: 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…

PriorityP424medium6.5CVSS 3.0
AVLACLPRLUINSCCNINAH
EPSS
0.53%
41.9th percentile
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.

Affected

8 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 4.13.10-1 (bookworm)linux 4.13.10-1 (bookworm)
linuxlinux_kernel<= 4.13.7
linuxlinux_kernel>= 0 < 4.13.10-14.13.10-1
linuxlinux_kernel>= 0 < 4.13.10-14.13.10-1
linuxlinux_kernel>= 0 < 4.13.10-14.13.10-1
linuxlinux_kernel>= 0 < 4.13.10-14.13.10-1
linuxlinux_kernel>= 0 < 3.13.0-142.1913.13.0-142.191
linuxlinux_kernel>= 0 < 4.4.0-116.1404.4.0-116.140

CVSS provenance

nvdv3.06.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
nvdv2.04.9MEDIUMAV:L/AC:L/Au:N/C:N/I:N/A:C
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.