Vulnerabilities · 2017 · Linux
CVE-2017-12190
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2b04e8f6bbb196cab4b232a · Patch
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=95d78c28b5a85bacbc29b8d · Patch
- bugzilla.redhat.com/show_bug.cgi?id=1495089 · Patch
- github.com/torvalds/linux/commit/2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058 · Patch
- github.com/torvalds/linux/commit/95d78c28b5a85bacbc29b8dba7c04babb9b0d467 · Patch
- seclists.org/oss-sec/2017/q4/52 · Third Party Advisory
- www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.8 · Third Party Advisory
- www.securityfocus.com/bid/101911 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-12190
- cve.org/CVERecord?id=CVE-2017-12190
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.