Buffer Access with Incorrect Length Value Affecting kpatch-patch-4_18_0-147 package, versions <0:1-4.el8


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (15th 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 IDSNYK-RHEL8-KPATCHPATCH4180147-3640747
  • published26 Jul 2021
  • disclosed11 Dec 2019

Introduced: 11 Dec 2019

CVE-2019-19339  (opens in a new tab)
CWE-805  (opens in a new tab)

How to fix?

Upgrade RHEL:8 kpatch-patch-4_18_0-147 to version 0:1-4.el8 or higher.
This issue was patched in RHSA-2019:4245.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kpatch-patch-4_18_0-147 package and not the kpatch-patch-4_18_0-147 package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

It was found that the Red Hat Enterprise Linux 8 kpatch update did not include the complete fix for CVE-2018-12207. A flaw was found in the way Intel CPUs handle inconsistency between, virtual to physical memory address translations in CPU's local cache and system software's Paging structure entries. A privileged guest user may use this flaw to induce a hardware Machine Check Error on the host processor, resulting in a severe DoS scenario by halting the processor. System software like OS OR Virtual Machine Monitor (VMM) use virtual memory system for storing program instructions and data in memory. Virtual Memory system uses Paging structures like Page Tables and Page Directories to manage system memory. The processor's Memory Management Unit (MMU) uses Paging structure entries to translate program's virtual memory addresses to physical memory addresses. The processor stores these address translations into its local cache buffer called - Translation Lookaside Buffer (TLB). TLB has two parts, one for instructions and other for data addresses. System software can modify its Paging structure entries to change address mappings OR certain attributes like page size etc. Upon such Paging structure alterations in memory, system software must invalidate the corresponding address translations in the processor's TLB cache. But before this TLB invalidation takes place, a privileged guest user may trigger an instruction fetch operation, which could use an already cached, but now invalid, virtual to physical address translation from Instruction TLB (ITLB). Thus accessing an invalid physical memory address and resulting in halting the processor due to the Machine Check Error (MCE) on Page Size Change.

CVSS Scores

version 3.1