ALAS2KERNEL-5.4-2022-035


Amazon Linux 2 Security Advisory: ALAS2KERNEL-5.4-2022-035
Advisory Released Date: 2022-09-12
Advisory Updated Date: 2025-07-29
Severity: Important

Issue Overview:

An out-of-bounds read flaw was found in the Linux kernel's TeleTYpe subsystem. The issue occurs in how a user triggers a race condition using ioctls TIOCSPTLCK and TIOCGPTPEER and TIOCSTI and TCXONC with leakage of memory in the flush_to_ldisc function. This flaw allows a local user to crash the system or read unauthorized random data from memory. (CVE-2022-1462)

It was discovered that a nft object or expression could reference a nft set on a different nft table, leading to a use-after-free once that table was deleted. (CVE-2022-2586)

A use-after-free flaw was found in route4_change in the net/sched/cls_route.c filter implementation in the Linux kernel. This flaw allows a local user to crash the system and possibly lead to a local privilege escalation problem. (CVE-2022-2588)

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

netfilter: nf_tables: do not allow SET_ID to refer to another table (CVE-2022-50213)


Affected Packages:

kernel


Note:

This advisory is applicable to Amazon Linux 2 - Kernel-5.4 Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update kernel or yum update --advisory ALAS2KERNEL-5.4-2022-035 to update your system.

New Packages:
aarch64:
    kernel-5.4.209-116.367.amzn2.aarch64
    kernel-headers-5.4.209-116.367.amzn2.aarch64
    kernel-debuginfo-common-aarch64-5.4.209-116.367.amzn2.aarch64
    perf-5.4.209-116.367.amzn2.aarch64
    perf-debuginfo-5.4.209-116.367.amzn2.aarch64
    python-perf-5.4.209-116.367.amzn2.aarch64
    python-perf-debuginfo-5.4.209-116.367.amzn2.aarch64
    kernel-tools-5.4.209-116.367.amzn2.aarch64
    kernel-tools-devel-5.4.209-116.367.amzn2.aarch64
    kernel-tools-debuginfo-5.4.209-116.367.amzn2.aarch64
    bpftool-5.4.209-116.367.amzn2.aarch64
    bpftool-debuginfo-5.4.209-116.367.amzn2.aarch64
    kernel-devel-5.4.209-116.367.amzn2.aarch64
    kernel-debuginfo-5.4.209-116.367.amzn2.aarch64

i686:
    kernel-headers-5.4.209-116.367.amzn2.i686

src:
    kernel-5.4.209-116.367.amzn2.src

x86_64:
    kernel-5.4.209-116.367.amzn2.x86_64
    kernel-headers-5.4.209-116.367.amzn2.x86_64
    kernel-debuginfo-common-x86_64-5.4.209-116.367.amzn2.x86_64
    perf-5.4.209-116.367.amzn2.x86_64
    perf-debuginfo-5.4.209-116.367.amzn2.x86_64
    python-perf-5.4.209-116.367.amzn2.x86_64
    python-perf-debuginfo-5.4.209-116.367.amzn2.x86_64
    kernel-tools-5.4.209-116.367.amzn2.x86_64
    kernel-tools-devel-5.4.209-116.367.amzn2.x86_64
    kernel-tools-debuginfo-5.4.209-116.367.amzn2.x86_64
    bpftool-5.4.209-116.367.amzn2.x86_64
    bpftool-debuginfo-5.4.209-116.367.amzn2.x86_64
    kernel-devel-5.4.209-116.367.amzn2.x86_64
    kernel-debuginfo-5.4.209-116.367.amzn2.x86_64

Changelog:

2025-07-29: CVE-2022-50213 was added to this advisory.