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.
References
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: redhat

Published: 2017-11-22T18:00:00

Updated: 2019-11-13T02:06:45

Reserved: 2017-08-01T00:00:00


Link: CVE-2017-12190

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2017-11-22T18:29:00.477

Modified: 2023-02-12T23:27:30.660


Link: CVE-2017-12190

JSON object: View

cve-icon Redhat Information

No data.