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 refcou…
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux kernel through v4.14-rc5 Linux kernel through v4.14-rc5
Vulnerability facts
- Affected
- Linux kernel through v4.14-rc5 Linux kernel through v4.14-rc5
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.5 (v3.0, NVD)CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.53% chance of exploitation in 30 days (percentile 38, 2026-11-26)
- CWE
- CWE-400
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux kernel through v4.14-rc5 | Linux kernel through v4.14-rc5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2017-12190. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2017-12190.md Affected: Linux kernel through v4.14-rc5 Linux kernel through v4.14-rc5 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Linux kernel through v4.14-rc5: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://usn.ubuntu.com/3583-2/
- https://access.redhat.com/errata/RHSA-2018:1854
- https://usn.ubuntu.com/3582-1/
- https://access.redhat.com/errata/RHSA-2018:1062
- https://access.redhat.com/errata/RHSA-2018:0654
- https://usn.ubuntu.com/3583-1/
- https://access.redhat.com/errata/RHSA-2018:0676
- https://usn.ubuntu.com/3582-2/
- https://access.redhat.com/errata/RHSA-2019:1170
- https://access.redhat.com/errata/RHSA-2019:1190
Patches
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=95d78c28b5a85bacbc29b8dba7c04babb9b0d467
- https://github.com/torvalds/linux/commit/95d78c28b5a85bacbc29b8dba7c04babb9b0d467
- https://bugzilla.redhat.com/show_bug.cgi?id=1495089
- https://github.com/torvalds/linux/commit/2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058
FAQ
Is CVE-2017-12190 being exploited?
There is no confirmed exploitation: CVE-2017-12190 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2017-12190?
Medium: CVSS 6.5 (v3.0, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2017-12190?
Linux kernel through v4.14-rc5 Linux kernel through v4.14-rc5.
Is there a fix for CVE-2017-12190?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2017-12190?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.