ALAS2KERNEL-5.4-2023-050

Related Vulnerabilities: CVE-2023-20593   CVE-2023-3611   CVE-2023-3776  

An issue in "Zen 2" CPUs, under specific microarchitectural circumstances, may allow an attacker to potentially access sensitive information. (CVE-2023-20593) An out-of-bounds write vulnerability in the Linux kernel's net/sched: sch_qfq component can be exploited to achieve local privilege escalation. The qfq_change_agg() function in net/sched/sch_qfq.c allows an out-of-bounds write because lmax is updated according to packet sizes without bounds checks. We recommend upgrading past commit 3e337087c3b5805fe0b8a46ba622a962880b5d64. (CVE-2023-3611) A use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component can be exploited to achieve local privilege escalation. If tcf_change_indev() fails, fw_set_parms() will immediately return an error after incrementing or decrementing the reference counter in tcf_bind_filter(). If an attacker can control the reference counter and set it to zero, they can cause the reference to be freed, leading to a use-after-free vulnerability. We recommend upgrading past commit 0323bce598eea038714f941ce2b22541c46d488f. (CVE-2023-3776)

ALAS2KERNEL-5.4-2023-050


Amazon Linux 2 Security Advisory: ALASKERNEL-5.4-2023-050
Advisory Release Date: 2023-08-03 19:42 Pacific
Advisory Updated Date: 2023-08-09 19:29 Pacific
Severity: Important

Issue Overview:

An issue in "Zen 2" CPUs, under specific microarchitectural circumstances, may allow an attacker to potentially access sensitive information. (CVE-2023-20593)

An out-of-bounds write vulnerability in the Linux kernel's net/sched: sch_qfq component can be exploited to achieve local privilege escalation.

The qfq_change_agg() function in net/sched/sch_qfq.c allows an out-of-bounds write because lmax is updated according to packet sizes without bounds checks.

We recommend upgrading past commit 3e337087c3b5805fe0b8a46ba622a962880b5d64. (CVE-2023-3611)

A use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component can be exploited to achieve local privilege escalation.

If tcf_change_indev() fails, fw_set_parms() will immediately return an error after incrementing or decrementing the reference counter in tcf_bind_filter(). If an attacker can control the reference counter and set it to zero, they can cause the reference to be freed, leading to a use-after-free vulnerability.

We recommend upgrading past commit 0323bce598eea038714f941ce2b22541c46d488f. (CVE-2023-3776)


Affected Packages:

kernel


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

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

i686:
    kernel-headers-5.4.250-166.369.amzn2.i686

src:
    kernel-5.4.250-166.369.amzn2.src

x86_64:
    kernel-5.4.250-166.369.amzn2.x86_64
    kernel-headers-5.4.250-166.369.amzn2.x86_64
    kernel-debuginfo-common-x86_64-5.4.250-166.369.amzn2.x86_64
    perf-5.4.250-166.369.amzn2.x86_64
    perf-debuginfo-5.4.250-166.369.amzn2.x86_64
    python-perf-5.4.250-166.369.amzn2.x86_64
    python-perf-debuginfo-5.4.250-166.369.amzn2.x86_64
    kernel-tools-5.4.250-166.369.amzn2.x86_64
    kernel-tools-devel-5.4.250-166.369.amzn2.x86_64
    kernel-tools-debuginfo-5.4.250-166.369.amzn2.x86_64
    bpftool-5.4.250-166.369.amzn2.x86_64
    bpftool-debuginfo-5.4.250-166.369.amzn2.x86_64
    kernel-devel-5.4.250-166.369.amzn2.x86_64
    kernel-debuginfo-5.4.250-166.369.amzn2.x86_64