{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-12190","id":"CVE-2017-12190","title":"The bio_map_user_iov and bio_unmap_user functions in block/bio.c in the Linux kernel before 4.13.8 do unbalanced refc…","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 us","descriptionLong":"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.","published":"2017-11-22T18:00:00.000Z","updated":"2026-06-17T01:02:52.220Z","reserved":"2017-08-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"2.0","score":4.9,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:C","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux kernel through v4.14-rc5"],"affectedProducts":[{"vendor":"n/a","product":"Linux kernel through v4.14-rc5","defaultStatus":null,"versions":[{"status":"affected","version":"Linux kernel through v4.14-rc5"}],"platforms":[]}],"packages":[],"cwes":["CWE-400","CWE-772"],"aliases":[],"references":[{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Vendor Advisory","fix"]},{"url":"http://www.securityfocus.com/bid/101911","tags":["vdb-entry","x_refsource_BID","x_transferred","Issue Tracking","Third Party Advisory","VDB Entry","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://usn.ubuntu.com/3583-2/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1854","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://usn.ubuntu.com/3582-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.8","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=95d78c28b5a85bacbc29b8dba7c04babb9b0d467","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Vendor Advisory","fix"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1062","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://github.com/torvalds/linux/commit/95d78c28b5a85bacbc29b8dba7c04babb9b0d467","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0654","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://usn.ubuntu.com/3583-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1495089","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/torvalds/linux/commit/2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"http://seclists.org/oss-sec/2017/q4/52","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Mailing List","Third Party Advisory","report"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0676","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://usn.ubuntu.com/3582-2/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1170","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1190","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://support.f5.com/csp/article/K93472064?utm_source=f5support&amp%3Butm_medium=RSS","tags":["x_refsource_CONFIRM","x_transferred","web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00531,"epssPercentile":0.45569,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-12190","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12190","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-12190","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-12190","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["linux-kernel"],"critical":[],"attention":null}