ALAS2KERNEL-5.10-2023-039


Amazon Linux 2 Security Advisory: ALAS2KERNEL-5.10-2023-039
Advisory Released Date: 2023-09-06
Advisory Updated Date: 2025-10-18
Severity: Important

Issue Overview:

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

RDMA/cma: Ensure rdma_addr_cancel() happens before issuing more requests (CVE-2021-47391)

A division-by-zero error on some AMD processors can potentially return speculative data resulting in loss of confidentiality. (CVE-2023-20588)

A use-after-free vulnerability was found in the Linux kernel's netfilter subsystem in net/netfilter/nf_tables_api.c.

Mishandled error handling with NFT_MSG_NEWRULE makes it possible to use a dangling pointer in the same transaction causing a use-after-free vulnerability. This flaw allows a local attacker with user access to cause a privilege escalation issue.

We recommend upgrading past commit 1240eb93f0616b21c675416516ff3d74798fdc97. (CVE-2023-3390)

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)

A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation.

When nf_tables_delrule() is flushing table rules, it is not checked whether the chain is bound and the chain's owner rule can also release the objects in certain circumstances.

We recommend upgrading past commit 6eaf41e87a223ae6f8e7a28d6e78384ad7e407f8. (CVE-2023-3777)

A flaw was found in the XFRM subsystem in the Linux kernel. The specific flaw exists within the processing of state filters, which can result in a read past the end of an allocated buffer. This flaw allows a local privileged (CAP_NET_ADMIN) attacker to trigger an out-of-bounds read, potentially leading to an information disclosure. (CVE-2023-39194)

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 the Linux kernel's netfilter in the way a user triggers the nft_pipapo_remove function with the element, without a NFT_SET_EXT_KEY_END. This issue could allow a local user to crash the system or potentially escalate their privileges on the system. (CVE-2023-4004)

A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation.

On an error when building a nftables rule, deactivating immediate expressions in nft_immediate_deactivate() can lead unbinding the chain and objects be deactivated but later used.

We recommend upgrading past commit 0a771f7b266b02d262900c75f1e175c7fe76fec2. (CVE-2023-4015)

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)

netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID (CVE-2023-4147)

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)

A flaw was found in the exFAT driver of the Linux kernel. The vulnerability exists in the implementation of the file name reconstruction function, which is responsible for reading file name entries from a directory index and merging file name parts belonging to one file into a single long file name. Since the file name characters are copied into a stack variable, a local privileged attacker could use this flaw to overflow the kernel stack. (CVE-2023-4273)

A use-after-free vulnerability in the Linux kernel's af_unix component can be exploited to achieve local privilege escalation.

The unix_stream_sendpage() function tries to add data to the last skb in the peer's recv queue without locking the queue. Thus there is a race where unix_stream_sendpage() could access an skb locklessly that is being released by garbage collection, resulting in use-after-free.

We recommend upgrading past commit 790c2f9d15b594350ae9bca7b236f2b1859de02c. (CVE-2023-4622)

In the Linux kernel before 6.4.12, amdgpu_cs_wait_all_fences in drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c has a fence use-after-free. (CVE-2023-51042)

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:

xfrm: add NULL check in xfrm_update_ae_params (CVE-2023-53147)

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:

udf: Fix uninitialized array access for some pathnames (CVE-2023-53165)

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:

scsi: core: Fix possible memory leak if device_add() fails (CVE-2023-53174)

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:

vxlan: Fix nexthop hash size (CVE-2023-53192)

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:

nubus: Partially revert proc_create_single_data() conversion (CVE-2023-53217)

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:

btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile (CVE-2023-53243)

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

scsi: storvsc: Fix handling of virtual Fibre Channel timeouts (CVE-2023-53245)

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:

RDMA/mlx5: Return the firmware result upon destroying QP/RQ (CVE-2023-53286)

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:

netfilter: nft_set_rbtree: fix overlap expiration walk (CVE-2023-53304)

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

drm/radeon: Fix integer overflow in radeon_cs_parser_init (CVE-2023-53309)

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

nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput (CVE-2023-53311)

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:

btrfs: fix BUG_ON condition in btrfs_cancel_balance (CVE-2023-53339)

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:

shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs (CVE-2023-53391)

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:

FS: JFS: Fix null-ptr-deref Read in txBegin (CVE-2023-53457)

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

io_uring: wait interruptibly for request completions on exit (CVE-2023-53461)

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

af_unix: Fix null-ptr-deref in unix_stream_sendpage(). (CVE-2023-53469)

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

fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev (CVE-2023-53485)

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

powerpc/rtas_flash: allow user copy to flash block cache objects (CVE-2023-53487)

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

xfrm: fix slab-use-after-free in decode_session6 (CVE-2023-53500)

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

virtio-mmio: don't break lifecycle of vm_dev (CVE-2023-53515)

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

media: v4l2-mem2mem: add lock to protect parameter num_rdy (CVE-2023-53519)

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:

mm/damon/core: initialize damo_filter->list from damos_new_filter() (CVE-2023-53555)

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

ip_vti: fix potential slab-use-after-free in decode_session6 (CVE-2023-53559)

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:

net/mlx5e: Check for NOT_READY flag state after locking (CVE-2023-53581)

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

cifs: Release folio lock on fscache read hit. (CVE-2023-53593)

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

tunnels: fix kasan splat when generating ipv4 pmtu error (CVE-2023-53600)

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

dax: Fix dax_mapping_release() use after free (CVE-2023-53613)

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:

gfs2: Fix possible data races in gfs2_show_options() (CVE-2023-53622)

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

iavf: Fix out-of-bounds when setting channels on remove (CVE-2023-53659)

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 race condition was found in the GSM 0710 tty multiplexor in the Linux kernel. This issue occurs when two threads execute the GSMIOC_SETCONF ioctl on the same tty file descriptor with the gsm line discipline enabled, and can lead to a use-after-free problem on a struct gsm_dlci while restarting the gsm mux. This could allow a local unprivileged user to escalate their privileges on the system. (CVE-2023-6546)

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

New Packages:
aarch64:
    kernel-5.10.192-182.736.amzn2.aarch64
    kernel-headers-5.10.192-182.736.amzn2.aarch64
    kernel-debuginfo-common-aarch64-5.10.192-182.736.amzn2.aarch64
    perf-5.10.192-182.736.amzn2.aarch64
    perf-debuginfo-5.10.192-182.736.amzn2.aarch64
    python-perf-5.10.192-182.736.amzn2.aarch64
    python-perf-debuginfo-5.10.192-182.736.amzn2.aarch64
    kernel-tools-5.10.192-182.736.amzn2.aarch64
    kernel-tools-devel-5.10.192-182.736.amzn2.aarch64
    kernel-tools-debuginfo-5.10.192-182.736.amzn2.aarch64
    bpftool-5.10.192-182.736.amzn2.aarch64
    bpftool-debuginfo-5.10.192-182.736.amzn2.aarch64
    kernel-devel-5.10.192-182.736.amzn2.aarch64
    kernel-debuginfo-5.10.192-182.736.amzn2.aarch64
    kernel-livepatch-5.10.192-182.736-1.0-0.amzn2.aarch64

i686:
    kernel-headers-5.10.192-182.736.amzn2.i686

src:
    kernel-5.10.192-182.736.amzn2.src

x86_64:
    kernel-5.10.192-182.736.amzn2.x86_64
    kernel-headers-5.10.192-182.736.amzn2.x86_64
    kernel-debuginfo-common-x86_64-5.10.192-182.736.amzn2.x86_64
    perf-5.10.192-182.736.amzn2.x86_64
    perf-debuginfo-5.10.192-182.736.amzn2.x86_64
    python-perf-5.10.192-182.736.amzn2.x86_64
    python-perf-debuginfo-5.10.192-182.736.amzn2.x86_64
    kernel-tools-5.10.192-182.736.amzn2.x86_64
    kernel-tools-devel-5.10.192-182.736.amzn2.x86_64
    kernel-tools-debuginfo-5.10.192-182.736.amzn2.x86_64
    bpftool-5.10.192-182.736.amzn2.x86_64
    bpftool-debuginfo-5.10.192-182.736.amzn2.x86_64
    kernel-devel-5.10.192-182.736.amzn2.x86_64
    kernel-debuginfo-5.10.192-182.736.amzn2.x86_64
    kernel-livepatch-5.10.192-182.736-1.0-0.amzn2.x86_64

Changelog:

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

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

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

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

2025-10-18: CVE-2023-53461 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-18: CVE-2023-53622 was added to this advisory.

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

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

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

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

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

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

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

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

2025-10-08: CVE-2023-53500 was added to this advisory.

2025-10-08: CVE-2023-53487 was added to this advisory.

2025-10-08: CVE-2023-53515 was added to this advisory.

2025-10-08: CVE-2023-53457 was added to this advisory.

2025-10-08: CVE-2023-53485 was added to this advisory.

2025-10-08: CVE-2023-53519 was added to this advisory.

2025-10-08: CVE-2023-53469 was added to this advisory.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2025-09-22: CVE-2023-53280 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-53147 was added to this advisory.

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

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

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

2025-09-22: CVE-2023-53192 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-13: CVE-2021-47391 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-4194 was added to this advisory.

2024-07-03: CVE-2023-51042 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.

2024-01-03: CVE-2023-6546 was added to this advisory.

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

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

2023-09-27: CVE-2023-4208 was added to this advisory.

2023-09-27: CVE-2023-4207 was added to this advisory.

2023-09-27: CVE-2023-4206 was added to this advisory.

2023-09-27: CVE-2023-4622 was added to this advisory.

2023-09-14: CVE-2023-4015 was added to this advisory.

2023-09-14: CVE-2023-3777 was added to this advisory.