Amazon Linux 2023 : bpftool, kernel, kernel-devel (ALAS2023-2025-823)

high Nessus Plugin ID 215034

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-2025-823 advisory.

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

gpiolib: cdev: Fix use after free in lineinfo_changed_notify (CVE-2024-36899)

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

bpf: Fix overloading of MEM_UNINIT's meaning (CVE-2024-50164)

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

fs/ntfs3: Add rough attr alloc_size check (CVE-2024-50246)

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

net: fix data-races around sk->sk_forward_alloc (CVE-2024-53124)

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

sched/task_stack: fix object_is_on_stack() for KASAN tagged pointers (CVE-2024-53128)

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

block: fix uaf for flush rq while iterating tags (CVE-2024-53170)

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

ceph: give up on paths longer than PATH_MAX (CVE-2024-53685)

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

scsi: sg: Fix slab-use-after-free read in sg_release() (CVE-2024-56631)

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

bpf, sockmap: Fix race between element replace and close() (CVE-2024-56664)

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

topology: Keep the cpumask unchanged when printing cpumap (CVE-2024-57917)

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

dm array: fix releasing a faulty array block twice in dm_array_cursor_end (CVE-2024-57929)

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

exfat: fix the infinite loop in exfat_readdir() (CVE-2024-57940)

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

irqchip/gic-v3-its: Don't enable interrupts in its_irq_set_vcpu_affinity() (CVE-2024-57949)

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

hrtimers: Handle CPU state correctly on hotplug (CVE-2024-57951)

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

block, bfq: fix waker_bfqq UAF after bfq_split_bfqq() (CVE-2025-21631)

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

sctp: sysctl: plpmtud_probe_interval: avoid using current->nsproxy (CVE-2025-21636)

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

sctp: sysctl: udp_port: avoid using current->nsproxy (CVE-2025-21637)

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

sctp: sysctl: auth_enable: avoid using current->nsproxy (CVE-2025-21638)

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

sctp: sysctl: rto_min/max: avoid using current->nsproxy (CVE-2025-21639)

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

sctp: sysctl: cookie_hmac_alg: avoid using current->nsproxy (CVE-2025-21640)

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

sched: sch_cake: add bounds checks to host bulk flow fairness counts (CVE-2025-21647)

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

netfilter: conntrack: clamp maximum hashtable size to INT_MAX (CVE-2025-21648)

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

net_sched: cls_flow: validate TCA_FLOW_RSHIFT attribute (CVE-2025-21653)

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

io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period (CVE-2025-21655)

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

net/mlx5: Fix variable not being completed when function returns (CVE-2025-21662)

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

dm thin: make get_first_thin use rcu-safe list first function (CVE-2025-21664)

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

filemap: avoid truncating 64-bit offset to 32 bits (CVE-2025-21665)

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

vsock: prevent null-ptr-deref in vsock_*[has_data|has_space] (CVE-2025-21666)

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

vsock/virtio: discard packets if the transport changes (CVE-2025-21669)

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

zram: fix potential UAF of zram table (CVE-2025-21671)

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

net/mlx5: Clear port select structure when fail to create (CVE-2025-21675)

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

gtp: Destroy device along with udp socket's netns dismantle. (CVE-2025-21678)

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

openvswitch: fix lockup on tx to unregistering netdev with carrier (CVE-2025-21681)

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

bpf: Fix bpf_sk_select_reuseport() memory leak (CVE-2025-21683)

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

fs/proc: fix softlockup in __read_vmcore (part 2) (CVE-2025-21694)

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.6.20250203' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2025-823.html

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

https://alas.aws.amazon.com/cve/html/CVE-2024-36899.html

https://alas.aws.amazon.com/cve/html/CVE-2024-50164.html

https://alas.aws.amazon.com/cve/html/CVE-2024-50246.html

https://alas.aws.amazon.com/cve/html/CVE-2024-53124.html

https://alas.aws.amazon.com/cve/html/CVE-2024-53128.html

https://alas.aws.amazon.com/cve/html/CVE-2024-53170.html

https://alas.aws.amazon.com/cve/html/CVE-2024-53685.html

https://alas.aws.amazon.com/cve/html/CVE-2024-56631.html

https://alas.aws.amazon.com/cve/html/CVE-2024-56664.html

https://alas.aws.amazon.com/cve/html/CVE-2024-57917.html

https://alas.aws.amazon.com/cve/html/CVE-2024-57929.html

https://alas.aws.amazon.com/cve/html/CVE-2024-57940.html

https://alas.aws.amazon.com/cve/html/CVE-2024-57949.html

https://alas.aws.amazon.com/cve/html/CVE-2024-57951.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21631.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21636.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21637.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21638.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21639.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21640.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21647.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21648.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21653.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21655.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21662.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21664.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21665.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21666.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21669.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21671.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21675.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21678.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21681.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21683.html

https://alas.aws.amazon.com/cve/html/CVE-2025-21694.html

Plugin Details

Severity: High

ID: 215034

File Name: al2023_ALAS2023-2025-823.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2/5/2025

Updated: 3/14/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-2025-21671

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: 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:kernel-livepatch-6.1.127-135.201, 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-debuginfo-common-x86_64

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/30/2025

Vulnerability Publication Date: 5/30/2024

Reference Information

CVE: CVE-2024-36899, CVE-2024-50164, CVE-2024-50246, CVE-2024-53124, CVE-2024-53128, CVE-2024-53170, CVE-2024-53685, CVE-2024-56631, CVE-2024-56664, CVE-2024-57917, CVE-2024-57929, CVE-2024-57940, CVE-2024-57949, CVE-2024-57951, CVE-2025-21631, CVE-2025-21636, CVE-2025-21637, CVE-2025-21638, CVE-2025-21639, CVE-2025-21640, CVE-2025-21647, CVE-2025-21648, CVE-2025-21653, CVE-2025-21655, CVE-2025-21662, CVE-2025-21664, CVE-2025-21665, CVE-2025-21666, CVE-2025-21669, CVE-2025-21671, CVE-2025-21675, CVE-2025-21678, CVE-2025-21681, CVE-2025-21683, CVE-2025-21694