Skip to content

Known exploited

CVE-2022-0185 on Amazon Linux 2: affected packages and fixed versions

9 packages on Amazon Linux 2 are affected by CVE-2022-0185 (Linux Kernel Heap-Based Buffer Overflow Vulnerability). A host is fixed once the package is at the version below or newer.

This vulnerability is known to be exploited. CISA added it to its catalog on August 21, 2024, with a remediation date of September 11, 2024 for US federal agencies.

Affected packages

PackageFixed inSeverityAdvisory
bpftool 5.4.172-90.336.amzn2
5.10.93-87.444.amzn2
Important ALAS2KERNEL-5.10-2022-009, ALAS2KERNEL-5.4-2022-021
kernel 5.4.172-90.336.amzn2
5.10.93-87.444.amzn2
Important ALAS2KERNEL-5.10-2022-009, ALAS2KERNEL-5.4-2022-021
kernel-devel 5.4.172-90.336.amzn2
5.10.93-87.444.amzn2
Important ALAS2KERNEL-5.10-2022-009, ALAS2KERNEL-5.4-2022-021
kernel-headers 5.4.172-90.336.amzn2
5.10.93-87.444.amzn2
Important ALAS2KERNEL-5.10-2022-009, ALAS2KERNEL-5.4-2022-021
kernel-livepatch-5.10.93-87.444 1.0-0.amzn2 Important ALAS2KERNEL-5.10-2022-009
kernel-tools 5.4.172-90.336.amzn2
5.10.93-87.444.amzn2
Important ALAS2KERNEL-5.10-2022-009, ALAS2KERNEL-5.4-2022-021
kernel-tools-devel 5.4.172-90.336.amzn2
5.10.93-87.444.amzn2
Important ALAS2KERNEL-5.10-2022-009, ALAS2KERNEL-5.4-2022-021
perf 5.4.172-90.336.amzn2
5.10.93-87.444.amzn2
Important ALAS2KERNEL-5.10-2022-009, ALAS2KERNEL-5.4-2022-021
python-perf 5.4.172-90.336.amzn2
5.10.93-87.444.amzn2
Important ALAS2KERNEL-5.10-2022-009, ALAS2KERNEL-5.4-2022-021

Where a package lists several versions, the vendor fixed it separately for each minor release or module stream it maintains. The one for your minor release applies to your host.

Check a host

Show the installed versions and compare with the table above:

rpm -q bpftool kernel kernel-devel kernel-headers

Update to the fixed build:

sudo yum update bpftool kernel kernel-devel kernel-headers

The fixed version may look older than the upstream release that fixed the bug. Amazon Linux 2 carries the fix in the version it already ships.

What it is

The kernel-rt packages provide the Real Time Linux Kernel, which enables fine-tuning for systems with extremely high determinism requirements. Security Fix(es): * kernel: xfs: raw block device data leak in XFS_IOC_ALLOCSP IOCTL (CVE-2021-4155) * kernel: fs_context: heap overflow in legacy parameter handling (CVE-2022-0185) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the...

CVE-2022-0185 on other releases

Know which of your hosts are affected

SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.

Get started free Check one server now, no signup