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.
0:3.13.0-142.1910:4.4.0-1014.140:4.4.0-116.140~14.04.10:4.4.0-116.1400:4.4.0-1052.610:4.13.0-1005.70:4.13.0-1002.50:4.13.0-32.35~16.04.10:4.4.0-1019.240:4.4.0-1085.93Exploitability
AV:LAC:LPR:LUI:NScope
S:CImpact
C:NI:NA:HCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H