ALAS-2019-1322

Related Vulnerabilities: 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. (CVE-2018-12207)

ALAS-2019-1322


Amazon Linux AMI Security Advisory: ALAS-2019-1322
Advisory Release Date: 2019-11-19 17:31 Pacific
Advisory Updated Date: 2019-11-22 19:49 Pacific
Severity: Important
References: CVE-2018-12207 

Issue Overview:

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. (CVE-2018-12207)


Affected Packages:

kernel


Issue Correction:
Run yum update kernel to update your system.

New Packages:
i686:
    kernel-tools-debuginfo-4.14.154-99.181.amzn1.i686
    kernel-tools-devel-4.14.154-99.181.amzn1.i686
    perf-debuginfo-4.14.154-99.181.amzn1.i686
    kernel-tools-4.14.154-99.181.amzn1.i686
    perf-4.14.154-99.181.amzn1.i686
    kernel-devel-4.14.154-99.181.amzn1.i686
    kernel-debuginfo-common-i686-4.14.154-99.181.amzn1.i686
    kernel-debuginfo-4.14.154-99.181.amzn1.i686
    kernel-4.14.154-99.181.amzn1.i686
    kernel-headers-4.14.154-99.181.amzn1.i686

src:
    kernel-4.14.154-99.181.amzn1.src

x86_64:
    kernel-4.14.154-99.181.amzn1.x86_64
    kernel-tools-debuginfo-4.14.154-99.181.amzn1.x86_64
    kernel-debuginfo-4.14.154-99.181.amzn1.x86_64
    kernel-tools-4.14.154-99.181.amzn1.x86_64
    kernel-tools-devel-4.14.154-99.181.amzn1.x86_64
    perf-4.14.154-99.181.amzn1.x86_64
    kernel-devel-4.14.154-99.181.amzn1.x86_64
    kernel-headers-4.14.154-99.181.amzn1.x86_64
    kernel-debuginfo-common-x86_64-4.14.154-99.181.amzn1.x86_64
    perf-debuginfo-4.14.154-99.181.amzn1.x86_64