Skip to content

Known exploited

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

11 packages on Amazon Linux 2 are affected by CVE-2022-2586 (Linux Kernel Use-After-Free 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 June 26, 2024, with a remediation date of July 17, 2024 for US federal agencies.

Affected packages

PackageFixed inSeverityAdvisory
bpftool 5.4.209-116.367.amzn2
5.4.214-120.368.amzn2
5.10.144-127.601.amzn2
5.15.69-37.134.amzn2
Important ALAS2KERNEL-5.10-2022-020, ALAS2KERNEL-5.15-2022-008, ALAS2KERNEL-5.4-2022-035, ALAS2KERNEL-5.4-2022-036
kernel 4.14.318-240.529.amzn2
5.4.209-116.367.amzn2
5.4.214-120.368.amzn2
5.10.144-127.601.amzn2
5.15.69-37.134.amzn2
Important ALAS2-2023-2100, ALAS2KERNEL-5.10-2022-020, ALAS2KERNEL-5.15-2022-008, ALAS2KERNEL-5.4-2022-035, ALAS2KERNEL-5.4-2022-036
kernel-devel 4.14.318-240.529.amzn2
5.4.209-116.367.amzn2
5.4.214-120.368.amzn2
5.10.144-127.601.amzn2
5.15.69-37.134.amzn2
Important ALAS2-2023-2100, ALAS2KERNEL-5.10-2022-020, ALAS2KERNEL-5.15-2022-008, ALAS2KERNEL-5.4-2022-035, ALAS2KERNEL-5.4-2022-036
kernel-headers 4.14.318-240.529.amzn2
5.4.209-116.367.amzn2
5.4.214-120.368.amzn2
5.10.144-127.601.amzn2
5.15.69-37.134.amzn2
Important ALAS2-2023-2100, ALAS2KERNEL-5.10-2022-020, ALAS2KERNEL-5.15-2022-008, ALAS2KERNEL-5.4-2022-035, ALAS2KERNEL-5.4-2022-036
kernel-livepatch-4.14.318-240.529 1.0-0.amzn2 Important ALAS2-2023-2100
kernel-livepatch-5.10.144-127.601 1.0-0.amzn2 Important ALAS2KERNEL-5.10-2022-020
kernel-livepatch-5.15.69-37.134 1.0-0.amzn2 Important ALAS2KERNEL-5.15-2022-008
kernel-tools 4.14.318-240.529.amzn2
5.4.209-116.367.amzn2
5.4.214-120.368.amzn2
5.10.144-127.601.amzn2
5.15.69-37.134.amzn2
Important ALAS2-2023-2100, ALAS2KERNEL-5.10-2022-020, ALAS2KERNEL-5.15-2022-008, ALAS2KERNEL-5.4-2022-035, ALAS2KERNEL-5.4-2022-036
kernel-tools-devel 4.14.318-240.529.amzn2
5.4.209-116.367.amzn2
5.4.214-120.368.amzn2
5.10.144-127.601.amzn2
5.15.69-37.134.amzn2
Important ALAS2-2023-2100, ALAS2KERNEL-5.10-2022-020, ALAS2KERNEL-5.15-2022-008, ALAS2KERNEL-5.4-2022-035, ALAS2KERNEL-5.4-2022-036
perf 4.14.318-240.529.amzn2
5.4.209-116.367.amzn2
5.4.214-120.368.amzn2
5.10.144-127.601.amzn2
5.15.69-37.134.amzn2
Important ALAS2-2023-2100, ALAS2KERNEL-5.10-2022-020, ALAS2KERNEL-5.15-2022-008, ALAS2KERNEL-5.4-2022-035, ALAS2KERNEL-5.4-2022-036
python-perf 4.14.318-240.529.amzn2
5.4.209-116.367.amzn2
5.4.214-120.368.amzn2
5.10.144-127.601.amzn2
5.15.69-37.134.amzn2
Important ALAS2-2023-2100, ALAS2KERNEL-5.10-2022-020, ALAS2KERNEL-5.15-2022-008, ALAS2KERNEL-5.4-2022-035, ALAS2KERNEL-5.4-2022-036

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): * off-path attacker may inject data or terminate victim's TCP session (CVE-2020-36516) * use-after-free vulnerability in function sco_sock_sendmsg() (CVE-2021-3640) * smb2_ioctl_query_info NULL pointer dereference (CVE-2022-0168) * NULL pointer dereference in udf_expand_file_adinicbdue() during writeback (CVE-2022-0617) * swiotl...

CVE-2022-2586 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