Resource Exhaustion Affecting kernel-doc package, versions <0:2.6.32-754.el6


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.06% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL6-KERNELDOC-1518955
  • published26 Jul 2021
  • disclosed21 Sept 2017

Introduced: 21 Sep 2017

CVE-2017-12190  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade RHEL:6 kernel-doc to version 0:2.6.32-754.el6 or higher.
This issue was patched in RHSA-2018:1854.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-doc package and not the kernel-doc package as distributed by RHEL. See How to fix? for RHEL:6 relevant fixed versions and status.

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.