Amazon Linux 2023 : bpftool, kernel, kernel-devel (ALAS2023-2024-679)

high Nessus Plugin ID 205105

Synopsis

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

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2024-679 advisory.

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

bonding: Fix out-of-bounds read in bond_option_arp_ip_targets_set() (CVE-2024-39487)

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

ima: Avoid blocking in RCU read-side critical section (CVE-2024-40947)

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

tcp: avoid too many retransmit packets (CVE-2024-41007)

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

filelock: Remove locks reliably when fcntl/close race is detected (CVE-2024-41012)

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

fs/ntfs3: Validate ff offset (CVE-2024-41019)

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

filelock: Fix fcntl/close race recovery compat path (CVE-2024-41020)

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

Fix userfaultfd_api to return EINVAL as expected (CVE-2024-41027)

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

USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor (CVE-2024-41035)

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

udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port(). (CVE-2024-41041)

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

skmsg: Skip zero length skb in sk_msg_recvmsg (CVE-2024-41048)

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

filelock: fix potential use-after-free in posix_lock_inode (CVE-2024-41049)

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

cachefiles: cyclic allocation of msg_id to avoid reuse (CVE-2024-41050)

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

cachefiles: wait for ondemand_object_worker to finish when dropping object (CVE-2024-41051)

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

mm: prevent derefencing NULL ptr in pfn_section_valid() (CVE-2024-41055)

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

cachefiles: fix slab-use-after-free in cachefiles_withdraw_cookie() (CVE-2024-41057)

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

cachefiles: fix slab-use-after-free in fscache_withdraw_volume() (CVE-2024-41058)

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

nvme: avoid double free special payload (CVE-2024-41073)

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

NFSv4: Fix memory leak in nfs4_set_security_label (CVE-2024-41076)

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

null_blk: fix validation of block size (CVE-2024-41077)

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

btrfs: qgroup: fix quota root leak after quota disable failure (CVE-2024-41078)

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

ila: block BH in ila_output() (CVE-2024-41081)

kernel: virtio-net: tap: mlx5_core short frame denial of service (CVE-2024-41090)

kernel: virtio-net: tun: mlx5_core short frame denial of service (CVE-2024-41091)

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

Revert mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again (CVE-2024-42102)

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

btrfs: fix adding block group to a reclaim list and the unused list during reclaim (CVE-2024-42103)

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

inet_diag: Initialize pad field in struct inet_diag_req_v2 (CVE-2024-42106)

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

netfilter: nf_tables: unconditionally flush pending work before notifier (CVE-2024-42109)

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

mm: avoid overflows in dirty throttling logic (CVE-2024-42131)

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

cdrom: rearrange last_media_change check to avoid unintentional overflow (CVE-2024-42136)

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

tcp_metrics: validate source addr length (CVE-2024-42154)

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

bpf: Avoid uninitialized value in BPF_CORE_READ_BITFIELD (CVE-2024-42161)

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

crypto: aead,cipher - zeroize key buffer after use (CVE-2024-42229)

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

libceph: fix race between delayed_work() and ceph_monc_stop() (CVE-2024-42232)

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

x86/bhi: Avoid warning in #DB handler due to BHI mitigation (CVE-2024-42240)

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

USB: serial: mos7840: fix crash on resume (CVE-2024-42244)

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

Revert sched/fair: Make sure to try to detach at least one movable task (CVE-2024-42245)

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

net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket (CVE-2024-42246)

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

wireguard: allowedips: avoid unaligned 64-bit memory accesses (CVE-2024-42247)

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 'dnf update kernel --releasever 2023.5.20240805' or or 'dnf update --advisory ALAS2023-2024-679 --releasever 2023.5.20240805' to update your system.

See Also

https://alas.aws.amazon.com//AL2023/ALAS2023-2024-679.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin Details

Severity: High

ID: 205105

File Name: al2023_ALAS2023-2024-679.nasl

Version: 1.16

Type: local

Agent: unix

Published: 8/6/2024

Updated: 10/8/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2024-42136

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:kernel-modules-extra-common, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel-modules-extra, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:python3-perf, p-cpe:/a:amazon:linux:kernel-libbpf-static, p-cpe:/a:amazon:linux:kernel-debuginfo, p-cpe:/a:amazon:linux:kernel-libbpf, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:kernel-libbpf-devel, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-tools-devel, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:python3-perf-debuginfo, p-cpe:/a:amazon:linux:kernel-livepatch-6.1.102-108.177, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/1/2024

Vulnerability Publication Date: 7/29/2024

Reference Information

CVE: CVE-2024-39487, CVE-2024-40947, CVE-2024-41007, CVE-2024-41012, CVE-2024-41019, CVE-2024-41020, CVE-2024-41027, CVE-2024-41035, CVE-2024-41041, CVE-2024-41048, CVE-2024-41049, CVE-2024-41050, CVE-2024-41051, CVE-2024-41055, CVE-2024-41057, CVE-2024-41058, CVE-2024-41073, CVE-2024-41076, CVE-2024-41077, CVE-2024-41078, CVE-2024-41081, CVE-2024-41090, CVE-2024-41091, CVE-2024-42102, CVE-2024-42103, CVE-2024-42106, CVE-2024-42109, CVE-2024-42131, CVE-2024-42136, CVE-2024-42154, CVE-2024-42161, CVE-2024-42229, CVE-2024-42232, CVE-2024-42240, CVE-2024-42244, CVE-2024-42245, CVE-2024-42246, CVE-2024-42247