CVE-2017-12190
Reported by redhat · Published November 22, 2017
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-hwe | Ubuntu:16.04:LTS | 4.13.0-32.35~16.04.1 |
| linux | Ubuntu:16.04:LTS | 4.4.0-116.140 |
| linux | Ubuntu:14.04:LTS | 3.13.0-142.191 |
| linux-azure | Ubuntu:16.04:LTS | 4.13.0-1005.7 |
| linux-raspi2 | Ubuntu:16.04:LTS | 4.4.0-1085.93 |
| linux-snapdragon | Ubuntu:16.04:LTS | 4.4.0-1087.92 |
| linux-gcp | Ubuntu:16.04:LTS | 4.13.0-1002.5 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Linux kernel through v4.14-rc5 | Linux kernel through v4.14-rc5 |
| n/a | Linux kernel through v4.14-rc5 | 4.14-rc5 |
Timeline
- Oct 12, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Feb 17, 2026 CVE Updated
- Mar 5, 2026 Distribution Patch (29 in total, the first dated here)
- Mar 5, 2026 Security Advisory (20 in total, the first dated here)
- Oct 4, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-12190
vulnetix vdb fixes CVE-2017-12190
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-12190/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- 101911 vdb-entryx_refsource_BID
- [debian-lts-announce] 20171210 [SECURITY] [DLA 1200-1] linux security update mailing-listx_refsource_MLIST
- USN-3583-2 vendor-advisoryx_refsource_UBUNTU
- RHSA-2018:1854 vendor-advisoryx_refsource_REDHAT
- USN-3582-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2018:1062 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2018:0654 vendor-advisoryx_refsource_REDHAT
- USN-3583-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2018:0676 vendor-advisoryx_refsource_REDHAT
- USN-3582-2 vendor-advisoryx_refsource_UBUNTU
- RHSA-2019:1170 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:1190 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM