Incomplete Cleanup Affecting kernel-tools package, versions <0:4.14.348-265.565.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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-AMZN2-KERNELTOOLS-7681641
  • published14 Aug 2024
  • disclosed15 Mar 2024

Introduced: 15 Mar 2024

CVE-2021-47112  (opens in a new tab)
CWE-459  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 kernel-tools to version 0:4.14.348-265.565.amzn2 or higher.
This issue was patched in ALAS2-2024-2589.

NVD Description

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

In the Linux kernel, the following vulnerability has been resolved:

x86/kvm: Teardown PV features on boot CPU as well

Various PV features (Async PF, PV EOI, steal time) work through memory shared with hypervisor and when we restore from hibernation we must properly teardown all these features to make sure hypervisor doesn't write to stale locations after we jump to the previously hibernated kernel (which can try to place anything there). For secondary CPUs the job is already done by kvm_cpu_down_prepare(), register syscore ops to do the same for boot CPU.

CVSS Scores

version 3.1