Amazon Linux 2 : kernel, --advisory ALAS2KERNEL-5.4-2024-068 (ALASKERNEL-5.4-2024-068)

high Nessus Plugin ID 198245

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of kernel installed on the remote host is prior to 5.4.271-184.369. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2KERNEL-5.4-2024-068 advisory.

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

x86/alternatives: Disable KASAN in apply_alternatives() (CVE-2023-52504)

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)

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:

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

In the Linux kernel, the following vulnerability has been resolved: afs: Increase buffer size in afs_update_volume_status() The max length of volume->vid value is 20 characters. So increase idbuf[] size up to 24 to avoid overflow. Found by Linux Verification Center (linuxtesting.org) with SVACE. [DH:
Actually, it's 20 + NUL, so increase it to 24 and use snprintf()] (CVE-2024-26736)

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

ARM: ep93xx: Add terminator to gpiod_lookup_table (CVE-2024-26751)

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

l2tp: pass correct message length to ip6_append_data (CVE-2024-26752)

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:

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:

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:

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:

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

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

afs: Fix endless loop in directory parsing (CVE-2024-26848)

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:

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

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

ext4: fix corruption during on-line resize (CVE-2024-35807)

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

tls: stop recv() if initial process_rx_list gave us non-DATA (CVE-2024-58239)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update kernel' or or 'yum update --advisory ALAS2KERNEL-5.4-2024-068' to update your system.

See Also

https://alas.aws.amazon.com//AL2/ALAS2KERNEL-5.4-2024-068.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2023-52504.html

https://explore.alas.aws.amazon.com/CVE-2024-0841.html

https://explore.alas.aws.amazon.com/CVE-2024-26688.html

https://explore.alas.aws.amazon.com/CVE-2024-26735.html

https://explore.alas.aws.amazon.com/CVE-2024-26736.html

https://explore.alas.aws.amazon.com/CVE-2024-26751.html

https://explore.alas.aws.amazon.com/CVE-2024-26752.html

https://explore.alas.aws.amazon.com/CVE-2024-26754.html

https://explore.alas.aws.amazon.com/CVE-2024-26763.html

https://explore.alas.aws.amazon.com/CVE-2024-26764.html

https://explore.alas.aws.amazon.com/CVE-2024-26772.html

https://explore.alas.aws.amazon.com/CVE-2024-26773.html

https://explore.alas.aws.amazon.com/CVE-2024-26791.html

https://explore.alas.aws.amazon.com/CVE-2024-26793.html

https://explore.alas.aws.amazon.com/CVE-2024-26804.html

https://explore.alas.aws.amazon.com/CVE-2024-26805.html

https://explore.alas.aws.amazon.com/CVE-2024-26835.html

https://explore.alas.aws.amazon.com/CVE-2024-26840.html

https://explore.alas.aws.amazon.com/CVE-2024-26845.html

https://explore.alas.aws.amazon.com/CVE-2024-26848.html

https://explore.alas.aws.amazon.com/CVE-2024-27413.html

https://explore.alas.aws.amazon.com/CVE-2024-27414.html

https://explore.alas.aws.amazon.com/CVE-2024-27417.html

https://explore.alas.aws.amazon.com/CVE-2024-35807.html

https://explore.alas.aws.amazon.com/CVE-2024-58239.html

Plugin Details

Severity: High

ID: 198245

File Name: al2_ALASKERNEL-5_4-2024-068.nasl

Version: 1.9

Type: local

Agent: unix

Published: 5/31/2024

Updated: 10/6/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2024-26793

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:python-perf, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:python-perf-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:kernel-debuginfo

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 5/23/2024

Vulnerability Publication Date: 4/3/2024

Reference Information

CVE: CVE-2023-52504, CVE-2024-0841, CVE-2024-26688, CVE-2024-26735, CVE-2024-26736, CVE-2024-26751, CVE-2024-26752, CVE-2024-26754, CVE-2024-26763, CVE-2024-26764, CVE-2024-26772, CVE-2024-26773, CVE-2024-26791, CVE-2024-26793, CVE-2024-26804, CVE-2024-26805, CVE-2024-26835, CVE-2024-26840, CVE-2024-26845, CVE-2024-27413, CVE-2024-27414, CVE-2024-27417, CVE-2024-35807, CVE-2024-58239