ALASKERNEL-5.4-2023-041


Amazon Linux 2 Security Advisory: ALASKERNEL-5.4-2023-041
Advisory Release Date: 2023-01-18 00:25 Pacific
Advisory Updated Date: 2025-01-21 20:23 Pacific
Severity: Important

Issue Overview:

2025-01-21: CVE-2022-48988 was added to this advisory.

2025-01-21: CVE-2022-48981 was added to this advisory.

2025-01-21: CVE-2022-48991 was added to this advisory.

2025-01-21: CVE-2022-48956 was added to this advisory.

A vulnerability was found in Linux Kernel. It has been declared as problematic. Affected by this vulnerability is the function follow_page_pte of the file mm/gup.c of the component BPF. The manipulation leads to race condition. The attack can be launched remotely. It is recommended to apply a patch to fix this issue. The identifier VDB-211921 was assigned to this vulnerability. (CVE-2022-3623)

Guests can trigger NIC interface reset/abort/crash via netback It is possible for a guest to trigger a NIC interface reset/abort/crash in a Linux based network backend by sending certain kinds of packets. It appears to be an (unwritten?) assumption in the rest of the Linux network stack that packet protocol headers are all contained within the linear section of the SKB and some NICs behave badly if this is not the case. This has been reported to occur with Cisco (enic) and Broadcom NetXtrem II BCM5780 (bnx2x) though it may be an issue with other NICs/drivers as well. In case the frontend is sending requests with split headers, netback will forward those violating above mentioned assumption to the networking core, resulting in said misbehavior. (CVE-2022-3643)

Guests can trigger deadlock in Linux netback driver T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] The patch for XSA-392 introduced another issue which might result in a deadlock when trying to free the SKB of a packet dropped due to the XSA-392 handling (CVE-2022-42328). Additionally when dropping packages for other reasons the same deadlock could occur in case of netpoll being active for the interface the xen-netback driver is connected to (CVE-2022-42329). (CVE-2022-42328)

Guests can trigger deadlock in Linux netback driver T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] The patch for XSA-392 introduced another issue which might result in a deadlock when trying to free the SKB of a packet dropped due to the XSA-392 handling (CVE-2022-42328). Additionally when dropping packages for other reasons the same deadlock could occur in case of netpoll being active for the interface the xen-netback driver is connected to (CVE-2022-42329). (CVE-2022-42329)

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

ipv6: avoid use-after-free in ip6_fragment() (CVE-2022-48956)

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

drm/shmem-helper: Remove errant put in error path (CVE-2022-48981)

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

memcg: fix possible use-after-free in memcg_write_event_control() (CVE-2022-48988)

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

mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths (CVE-2022-48991)

A null pointer dereference issue was found in the can protocol in net/can/af_can.c in the Linux Kernel. ml_priv may not be initialized in the receive path of CAN frames. This issue could allow a local user to crash the system or cause a denial of service. (CVE-2023-2166)


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 to update your system.

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

i686:
    kernel-headers-5.4.228-131.415.amzn2.i686

src:
    kernel-5.4.228-131.415.amzn2.src

x86_64:
    kernel-5.4.228-131.415.amzn2.x86_64
    kernel-headers-5.4.228-131.415.amzn2.x86_64
    kernel-debuginfo-common-x86_64-5.4.228-131.415.amzn2.x86_64
    perf-5.4.228-131.415.amzn2.x86_64
    perf-debuginfo-5.4.228-131.415.amzn2.x86_64
    python-perf-5.4.228-131.415.amzn2.x86_64
    python-perf-debuginfo-5.4.228-131.415.amzn2.x86_64
    kernel-tools-5.4.228-131.415.amzn2.x86_64
    kernel-tools-devel-5.4.228-131.415.amzn2.x86_64
    kernel-tools-debuginfo-5.4.228-131.415.amzn2.x86_64
    bpftool-5.4.228-131.415.amzn2.x86_64
    bpftool-debuginfo-5.4.228-131.415.amzn2.x86_64
    kernel-devel-5.4.228-131.415.amzn2.x86_64
    kernel-debuginfo-5.4.228-131.415.amzn2.x86_64