ALASKERNEL-5.15-2024-058


Amazon Linux 2 Security Advisory: ALASKERNEL-5.15-2024-058
Advisory Release Date: 2024-12-05 01:00 Pacific
Advisory Updated Date: 2025-01-21 20:23 Pacific
Severity: Important

Issue Overview:

2025-01-21: CVE-2024-26851 was added to this advisory.

2025-01-21: CVE-2024-26791 was added to this advisory.

2025-01-21: CVE-2024-26804 was added to this advisory.

2025-01-21: CVE-2024-0841 was added to this advisory.

2025-01-21: CVE-2024-26603 was added to this advisory.

2025-01-21: CVE-2024-26773 was added to this advisory.

2025-01-21: CVE-2024-26803 was added to this advisory.

2025-01-21: CVE-2024-26840 was added to this advisory.

2025-01-21: CVE-2024-27415 was added to this advisory.

2025-01-21: CVE-2023-52620 was added to this advisory.

2025-01-21: CVE-2024-26764 was added to this advisory.

2025-01-21: CVE-2023-52641 was added to this advisory.

2025-01-21: CVE-2024-1627 was added to this advisory.

2025-01-21: CVE-2024-26688 was added to this advisory.

2025-01-21: CVE-2024-27024 was added to this advisory.

2025-01-21: CVE-2024-26793 was added to this advisory.

2025-01-21: CVE-2024-26805 was added to this advisory.

2025-01-21: CVE-2024-27413 was added to this advisory.

2025-01-21: CVE-2024-26735 was added to this advisory.

2025-01-21: CVE-2024-26820 was added to this advisory.

2025-01-21: CVE-2024-26601 was added to this advisory.

2025-01-21: CVE-2024-26835 was added to this advisory.

2025-01-21: CVE-2024-26772 was added to this advisory.

2025-01-21: CVE-2023-52434 was added to this advisory.

2025-01-21: CVE-2024-26750 was added to this advisory.

2025-01-21: CVE-2024-26798 was added to this advisory.

2025-01-21: CVE-2024-27417 was added to this advisory.

2025-01-21: CVE-2024-27431 was added to this advisory.

2025-01-21: CVE-2024-26763 was added to this advisory.

2025-01-21: CVE-2024-26774 was added to this advisory.

2025-01-21: CVE-2024-26845 was added to this advisory.

2025-01-21: CVE-2024-26782 was added to this advisory.

2025-01-21: CVE-2024-26857 was added to this advisory.

2025-01-21: CVE-2024-26659 was added to this advisory.

A flaw was found in the smb client in the Linux kernel. A potential out-of-bounds error was seen in the smb2_parse_contexts() function. Validate offsets and lengths before dereferencing create contexts in smb2_parse_contexts(). (CVE-2023-52434)

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

netfilter: nf_tables: disallow timeout for anonymous sets (CVE-2023-52620)

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

fs/ntfs3: Fix oob in ntfs_listxattr (CVE-2023-52640)

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

fs/ntfs3: Add NULL ptr dereference checking at the end of attr_allocate_frame() (CVE-2023-52641)

A null pointer dereference flaw was found in the hugetlbfs_fill_super function in the Linux kernel hugetlbfs (HugeTLB pages) functionality. This issue may allow a local user to crash the system or potentially escalate their privileges on the system. (CVE-2024-0841)

A vulnerability was discovered in the Linux kernel's IPv4 networking stack. Under certain conditions, MPTCP and NetLabel can be configured in a way that triggers a double free memory error in net/ipv4/af_inet.c:inet_sock_destruct(). This may lead to a system crash, denial of service, or potential arbitrary code execution. (CVE-2024-1627)

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

ext4: regenerate buddy after block freeing failed if under fc replay

This mostly reverts commit 6bd97bf273bd ("ext4: remove redundant
mb_regenerate_buddy()") and reintroduces mb_regenerate_buddy(). Based on
code in mb_free_blocks(), fast commit replay can end up marking as free
blocks that are already marked as such. This causes corruption of the
buddy bitmap so we need to regenerate it in that case. (CVE-2024-26601)

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

x86/fpu: Stop relying on userspace for info to fault in xsave buffer

Before this change, the expected size of the user space buffer was
taken from fx_sw->xstate_size. fx_sw->xstate_size can be changed
from user-space, so it is possible construct a sigreturn frame where:

* fx_sw->xstate_size is smaller than the size required by valid bits in
fx_sw->xfeatures.
* user-space unmaps parts of the sigrame fpu buffer so that not all of
the buffer required by xrstor is accessible.

In this case, xrstor tries to restore and accesses the unmapped area
which results in a fault. But fault_in_readable succeeds because buf +
fx_sw->xstate_size is within the still mapped area, so it goes back and
tries xrstor again. It will spin in this loop forever.

Instead, fault in the maximum size which can be touched by XRSTOR (taken
from fpstate->user_size).

[ dhansen: tweak subject / changelog ] (CVE-2024-26603)

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

xhci: handle isoc Babble and Buffer Overrun events properly (CVE-2024-26659)

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

fs,hugetlb: fix NULL pointer dereference in hugetlbs_fill_super (CVE-2024-26688)

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

arp: Prevent overflow in arp_req_get(). (CVE-2024-26733)

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

ipv6: sr: fix possible use-after-free and null-ptr-deref (CVE-2024-26735)

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

bpf: Fix racing between bpf_timer_cancel_and_free and bpf_timer_cancel (CVE-2024-26737)

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

af_unix: Drop oob_skb ref before purging queue in GC. (CVE-2024-26750)

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

gtp: fix use-after-free and null-ptr-deref in gtp_genl_dump_pdp() (CVE-2024-26754)

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

dm-crypt: don't modify the data when using authenticated encryption (CVE-2024-26763)

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

fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio (CVE-2024-26764)

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

ext4: avoid allocating blocks from corrupted group in ext4_mb_find_by_goal() (CVE-2024-26772)

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

ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found() (CVE-2024-26773)

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

ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt (CVE-2024-26774)

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

mptcp: fix double-free on socket dismantle (CVE-2024-26782)

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

btrfs: dev-replace: properly validate device names (CVE-2024-26791)

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

gtp: fix use-after-free and null-ptr-deref in gtp_newlink() (CVE-2024-26793)

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

fbcon: always restore the old font data in fbcon_do_set_font() (CVE-2024-26798)

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

net: veth: clear GRO when clearing XDP even when down (CVE-2024-26803)

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

net: ip_tunnel: prevent perpetual headroom growth (CVE-2024-26804)

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

netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter (CVE-2024-26805)

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

hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed (CVE-2024-26820)

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

netfilter: nf_tables: set dormant flag on hook register failure (CVE-2024-26835)

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

cachefiles: fix memory leak in cachefiles_add_cache() (CVE-2024-26840)

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

efi: runtime: Fix potential overflow of soft-reserved region size (CVE-2024-26843)

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

scsi: target: core: Add TMF to tmr_list handling (CVE-2024-26845)

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

netfilter: nf_conntrack_h323: Add protection for bmp length out of range (CVE-2024-26851)

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

net/ipv6: avoid possible UAF in ip6_route_mpath_notify() (CVE-2024-26852)

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

geneve: make sure to pull inner header in geneve_rx() (CVE-2024-26857)

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

net/rds: fix WARNING in rds_conn_connect_if_down (CVE-2024-27024)

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

netfilter: nft_flow_offload: reset dst in route object after setting up flow (CVE-2024-27403)

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

efi/capsule-loader: fix incorrect allocation size (CVE-2024-27413)

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

rtnetlink: fix error logic of IFLA_BRIDGE_FLAGS writing back (CVE-2024-27414)

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

netfilter: bridge: confirm multicast packets before passing them up the stack (CVE-2024-27415)

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

ipv6: fix potential "struct net" leak in inet6_rtm_getaddr() (CVE-2024-27417)

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

cpumap: Zero-initialise xdp_rxq_info struct before running XDP program (CVE-2024-27431)


Affected Packages:

kernel


Note:

This advisory is applicable to Amazon Linux 2 - Kernel-5.15 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.15.152-100.162.amzn2.aarch64
    kernel-headers-5.15.152-100.162.amzn2.aarch64
    kernel-debuginfo-common-aarch64-5.15.152-100.162.amzn2.aarch64
    perf-5.15.152-100.162.amzn2.aarch64
    perf-debuginfo-5.15.152-100.162.amzn2.aarch64
    python-perf-5.15.152-100.162.amzn2.aarch64
    python-perf-debuginfo-5.15.152-100.162.amzn2.aarch64
    kernel-tools-5.15.152-100.162.amzn2.aarch64
    kernel-tools-devel-5.15.152-100.162.amzn2.aarch64
    kernel-tools-debuginfo-5.15.152-100.162.amzn2.aarch64
    bpftool-5.15.152-100.162.amzn2.aarch64
    bpftool-debuginfo-5.15.152-100.162.amzn2.aarch64
    kernel-devel-5.15.152-100.162.amzn2.aarch64
    kernel-debuginfo-5.15.152-100.162.amzn2.aarch64
    kernel-livepatch-5.15.152-100.162-1.0-0.amzn2.aarch64

i686:
    kernel-headers-5.15.152-100.162.amzn2.i686

src:
    kernel-5.15.152-100.162.amzn2.src

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