Back
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…
Medium6.5EPSS 0.53%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.53% · top 55% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
Affected products
Linux kernel through v4.14-rc5
- affected Linux kernel through v4.14-rc5
References (20)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 101911 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- [debian-lts-announce] 20171210 [SECURITY] [DLA 1200-1] linux security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-3583-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2018:1854 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-3582-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.8 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=95d78c28b5a85bacbc29b8dba7c04babb9b0d467 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:1062 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://github.com/torvalds/linux/commit/95d78c28b5a85bacbc29b8dba7c04babb9b0d467 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:0654 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-3583-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=1495089 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/torvalds/linux/commit/2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://seclists.org/oss-sec/2017/q4/52 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:0676 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-3582-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2019:1170 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:1190 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://support.f5.com/csp/article/K93472064?utm_source=f5support&%3Butm_medium=RSS (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-12190)Record last updated .