CVE-2017-12190
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.
How to fix
- usn.ubuntu.com/3583-2/
- access.redhat.com/errata/RHSA-2018:1854
- usn.ubuntu.com/3582-1/
- access.redhat.com/errata/RHSA-2018:1062
- access.redhat.com/errata/RHSA-2018:0654
- usn.ubuntu.com/3583-1/
- access.redhat.com/errata/RHSA-2018:0676
- usn.ubuntu.com/3582-2/
- access.redhat.com/errata/RHSA-2019:1170
- access.redhat.com/errata/RHSA-2019:1190
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | v ≤ 4.13.7 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.