---
title: "CVE-2017-12190"
canonical_url: "https://pkgseek.com/security/CVE-2017-12190"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# 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 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.

CVE-2017-12190 is rated MEDIUM (6.5), with 3 indexed affected package builds across 2 distributions.

- **Severity / Score**: MEDIUM (6.5)
- **Affected builds**: 3
- **Affected distros**: 2
- **Distros with fixed_in**: Debian

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | usbip | 2.0+6.12.117-1 | 4.13.10-1 |
| Ubuntu | focal | linux-riscv-headers-5.4.0-24 | 5.4.0-24.28 | — |
| Ubuntu | jammy | linux-riscv-headers-5.15.0-1007 | 5.15.0-1007.7 | — |
