ALAS2KERNEL-5.4-2023-054


Amazon Linux 2 Security Advisory: ALAS2KERNEL-5.4-2023-054
Advisory Released Date: 2023-10-04
Advisory Updated Date: 2025-10-18
Severity: Important

Issue Overview:

A use-after-free flaw was found in btrfs_search_slot in fs/btrfs/ctree.c in btrfs in the Linux Kernel.This flaw allows an attacker to crash the system and possibly cause a kernel information lea (CVE-2023-1611)

A flaw in the Linux Kernel found in the GFS2 file system. On corrupted gfs2 file systems the evict code can try to reference the journal descriptor structure, jdesc, after it has been freed and set to NULL. It can lead to null pointer dereference when gfs2_trans_begin being called and then fail ingfs2_evict_inode(). (CVE-2023-3212)

The fix for XSA-423 added logic to Linux'es netback driver to deal with
a frontend splitting a packet in a way such that not all of the headers
would come in one piece. Unfortunately the logic introduced there
didn't account for the extreme case of the entire packet being split
into as many pieces as permitted by the protocol, yet still being
smaller than the area that's specially dealt with to keep all (possible)
headers together. Such an unusual packet would therefore trigger a
buffer overrun in the driver. (CVE-2023-34319)

An out-of-bounds read vulnerability was found in Netfilter Connection Tracking (conntrack) in the Linux kernel. This flaw allows a remote user to disclose sensitive information via the DCCP protocol. (CVE-2023-39197)

A use-after-free flaw was found in net/sched/cls_fw.c in classifiers (cls_fw, cls_u32, and cls_route) in the Linux Kernel. This flaw allows a local attacker to perform a local privilege escalation due to incorrect handling of the existing filter, leading to a kernel information leak issue. (CVE-2023-4128)

A flaw was found in the Linux kernel's TUN/TAP functionality. This issue could allow a local user to bypass network filters and gain unauthorized access to some resources. The original patches fixing CVE-2023-1076 are incorrect or incomplete. The problem is that the following upstream commits - a096ccca6e50 ("tun: tun_chr_open(): correctly initialize socket uid"), - 66b2c338adce ("tap: tap_open(): correctly initialize socket uid"), pass "inode->i_uid" to sock_init_data_uid() as the last parameter and that turns out to not be accurate. (CVE-2023-4194)

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

When route4_change() is called on an existing filter, the whole tcf_result struct is always copied into the new instance of the filter. This causes a problem when updating a filter bound to a class, as tcf_unbind_filter() is always called on the old instance in the success path, decreasing filter_cnt of the still referenced class and allowing it to be deleted, leading to a use-after-free.

We recommend upgrading past commit b80b829e9e2c1b3f7aae34855e04d8f6ecaf13c8. (CVE-2023-4206)

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

When fw_change() is called on an existing filter, the whole tcf_result struct is always copied into the new instance of the filter. This causes a problem when updating a filter bound to a class, as tcf_unbind_filter() is always called on the old instance in the success path, decreasing filter_cnt of the still referenced class and allowing it to be deleted, leading to a use-after-free.

We recommend upgrading past commit 76e42ae831991c828cffa8c37736ebfb831ad5ec. (CVE-2023-4207)

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

When u32_change() is called on an existing filter, the whole tcf_result struct is always copied into the new instance of the filter. This causes a problem when updating a filter bound to a class, as tcf_unbind_filter() is always called on the old instance in the success path, decreasing filter_cnt of the still referenced class and allowing it to be deleted, leading to a use-after-free.

We recommend upgrading past commit 3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81. (CVE-2023-4208)

In the Linux kernel before 6.4.5, drivers/gpu/drm/drm_atomic.c has a use-after-free during a race condition between a nonblocking atomic commit and a driver unload. (CVE-2023-51043)

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

SUNRPC: Fix UAF in svc_tcp_listen_data_ready() (CVE-2023-52885)

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

can: bcm: Fix UAF in bcm_proc_show() (CVE-2023-52922)

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

igb: Fix igb_down hung on surprise removal (CVE-2023-53148)

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

scsi: qla2xxx: Pointer may be dereferenced (CVE-2023-53150)

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

md/raid10: prevent soft lockup while flush writes (CVE-2023-53151)

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

tracing: Fix null pointer dereference in tracing_err_log_open() (CVE-2023-53167)

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

ipv6/addrconf: fix a potential refcount underflow for idev (CVE-2023-53189)

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

sched/fair: Don't balance task to its current running CPU (CVE-2023-53215)

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

jfs: jfs_dmap: Validate db_l2nbperpage while mounting (CVE-2023-53222)

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

scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue (CVE-2023-53280)

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

drm/client: Fix memory leak in drm_client_modeset_probe (CVE-2023-53288)

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

md/raid10: fix wrong setting of max_corr_read_errors (CVE-2023-53313)

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

scsi: qla2xxx: Wait for io return on terminate rport (CVE-2023-53322)

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

netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one (CVE-2023-53333)

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

icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev(). (CVE-2023-53343)

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

md/raid10: check slab-out-of-bounds in md_bitmap_get_counter (CVE-2023-53357)

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

ip6mr: Fix skb_under_panic in ip6mr_cache_report() (CVE-2023-53365)

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

net: dcb: choose correct policy to parse DCB_ATTR_BCN (CVE-2023-53369)

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

md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request (CVE-2023-53380)

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

PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free (CVE-2023-53446)

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

scsi: qla2xxx: Fix potential NULL pointer dereference (CVE-2023-53451)

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

net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx (CVE-2023-53546)

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

net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb (CVE-2023-53548)

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

tracing/histograms: Add histograms to hist_vars if they have referenced variables (CVE-2023-53560)

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

netfilter: conntrack: Avoid nf_ct_helper_hash uses after free (CVE-2023-53619)

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

ring-buffer: Fix deadloop issue on reading trace_pipe (CVE-2023-53668)

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

bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent (CVE-2023-53681)

A denial of service vulnerability due to a deadlock was found in sctp_auto_asconf_init in net/sctp/socket.c in the Linux kernel's SCTP subsystem. This flaw allows guests with local user privileges to trigger a deadlock and potentially crash the system. (CVE-2024-0639)


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

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

i686:
    kernel-headers-5.4.253-167.359.amzn2.i686

src:
    kernel-5.4.253-167.359.amzn2.src

x86_64:
    kernel-5.4.253-167.359.amzn2.x86_64
    kernel-headers-5.4.253-167.359.amzn2.x86_64
    kernel-debuginfo-common-x86_64-5.4.253-167.359.amzn2.x86_64
    perf-5.4.253-167.359.amzn2.x86_64
    perf-debuginfo-5.4.253-167.359.amzn2.x86_64
    python-perf-5.4.253-167.359.amzn2.x86_64
    python-perf-debuginfo-5.4.253-167.359.amzn2.x86_64
    kernel-tools-5.4.253-167.359.amzn2.x86_64
    kernel-tools-devel-5.4.253-167.359.amzn2.x86_64
    kernel-tools-debuginfo-5.4.253-167.359.amzn2.x86_64
    bpftool-5.4.253-167.359.amzn2.x86_64
    bpftool-debuginfo-5.4.253-167.359.amzn2.x86_64
    kernel-devel-5.4.253-167.359.amzn2.x86_64
    kernel-debuginfo-5.4.253-167.359.amzn2.x86_64

Changelog:

2025-10-18: CVE-2023-53560 was added to this advisory.

2025-10-18: CVE-2023-53548 was added to this advisory.

2025-10-18: CVE-2023-53451 was added to this advisory.

2025-10-18: CVE-2023-53619 was added to this advisory.

2025-10-18: CVE-2023-53546 was added to this advisory.

2025-10-18: CVE-2023-53681 was added to this advisory.

2025-10-18: CVE-2023-53668 was added to this advisory.

2025-10-02: CVE-2023-53380 was added to this advisory.

2025-10-02: CVE-2023-53215 was added to this advisory.

2025-10-02: CVE-2023-53150 was added to this advisory.

2025-10-02: CVE-2023-53446 was added to this advisory.

2025-10-02: CVE-2023-53167 was added to this advisory.

2025-10-02: CVE-2023-53288 was added to this advisory.

2025-10-02: CVE-2023-53369 was added to this advisory.

2025-10-02: CVE-2023-53313 was added to this advisory.

2025-10-02: CVE-2023-53151 was added to this advisory.

2025-10-02: CVE-2023-53333 was added to this advisory.

2025-09-22: CVE-2023-53343 was added to this advisory.

2025-09-22: CVE-2023-53322 was added to this advisory.

2025-09-22: CVE-2023-53189 was added to this advisory.

2025-09-22: CVE-2023-53222 was added to this advisory.

2025-09-22: CVE-2023-53280 was added to this advisory.

2025-09-22: CVE-2023-53357 was added to this advisory.

2025-09-22: CVE-2023-53148 was added to this advisory.

2025-09-22: CVE-2023-53365 was added to this advisory.

2025-03-13: CVE-2023-52922 was added to this advisory.

2025-03-03: CVE-2023-52885 was added to this advisory.

2024-07-03: CVE-2023-39197 was added to this advisory.

2024-07-03: CVE-2023-1611 was added to this advisory.

2024-07-03: CVE-2023-51043 was added to this advisory.

2024-02-01: CVE-2024-0639 was added to this advisory.

2023-10-12: CVE-2023-4128 was added to this advisory.

2023-10-12: CVE-2023-3212 was added to this advisory.

2023-10-12: CVE-2023-34319 was added to this advisory.

2023-10-12: CVE-2023-4194 was added to this advisory.