CVE-2017-12190
Last modified
CVE-2017-12190 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | <= 4.13.7 |
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058Issue Tracking, Patch, Vendor Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=95d78c28b5a85bacbc29b8dba7c04babb9b0d467Issue Tracking, Patch, Vendor Advisory
- http://seclists.org/oss-sec/2017/q4/52Issue Tracking, Mailing List, Third Party Advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.8Issue Tracking, Third Party Advisory
- http://www.securityfocus.com/bid/101911Issue Tracking, Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1495089Issue Tracking, Patch, Third Party Advisory
- https://github.com/torvalds/linux/commit/2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058Issue Tracking, Patch, Third Party Advisory
- https://github.com/torvalds/linux/commit/95d78c28b5a85bacbc29b8dba7c04babb9b0d467Issue Tracking, Patch, Third Party Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058Issue Tracking, Patch, Vendor Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=95d78c28b5a85bacbc29b8dba7c04babb9b0d467Issue Tracking, Patch, Vendor Advisory
- http://seclists.org/oss-sec/2017/q4/52Issue Tracking, Mailing List, Third Party Advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.8Issue Tracking, Third Party Advisory
- http://www.securityfocus.com/bid/101911Issue Tracking, Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1495089Issue Tracking, Patch, Third Party Advisory
- https://github.com/torvalds/linux/commit/2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058Issue Tracking, Patch, Third Party Advisory
- https://github.com/torvalds/linux/commit/95d78c28b5a85bacbc29b8dba7c04babb9b0d467Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-12190?
How severe is CVE-2017-12190?
How do I fix CVE-2017-12190?
Are you affected by CVE-2017-12190?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
