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

high Nessus Plugin ID 196918

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-613 advisory.

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

inet: inet_defrag: prevent sk release while still in use (CVE-2024-26921)

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

af_unix: Fix garbage collector racing against connect() (CVE-2024-26923)

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

netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path

The commit mutex should not be released during the critical sectionbetween nft_gc_seq_begin() and nft_gc_seq_end(), otherwise, async GCworker could collect expired objects and get the released commit lockwithin the same GC sequence.

nf_tables_module_autoload() temporarily releases the mutex to loadmodule dependencies, then it goes back to replay the transaction again.Move it at the end of the abort phase after nft_gc_seq_end() is called.
(CVE-2024-26925)

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

smb: client: fix potential UAF in cifs_debug_files_proc_show() (CVE-2024-26928)

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

xen-netfront: Add missing skb_mark_for_recycle (CVE-2024-27393)

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

smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect() (CVE-2024-35861)

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

smb: client: fix potential UAF in smb2_is_network_name_deleted() (CVE-2024-35862)

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

smb: client: fix potential UAF in smb2_is_valid_lease_break() (CVE-2024-35864)

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

smb: client: fix potential UAF in cifs_stats_proc_write() (CVE-2024-35868)

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

mm/secretmem: fix GUP-fast succeeding on secretmem folios (CVE-2024-35872)

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

udp: do not accept non-tunnel GSO skbs landing in a tunnel (CVE-2024-35884)

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

erspan: make sure erspan_base_hdr is present in skb->head (CVE-2024-35888)

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

netfilter: validate user input for expected length (CVE-2024-35896)

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

netfilter: nf_tables: discard table flag update with pending basechain deletion (CVE-2024-35897)

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

tls: get psock ref after taking rxlock to avoid leak (CVE-2024-35908)

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

tcp: properly terminate timers for kernel sockets (CVE-2024-35910)

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

block: prevent division by zero in blk_rq_stat_sum() (CVE-2024-35925)

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

VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host() (CVE-2024-35944)

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

drm/client: Fully protect modes[] with dev->mode_config.mutex (CVE-2024-35950)

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

kprobes: Fix possible use-after-free issue on kprobe registration (CVE-2024-35955)

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

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2024-613.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin Details

Severity: High

ID: 196918

File Name: al2023_ALAS2023-2024-613.nasl

Version: 1.7

Type: local

Agent: unix

Published: 5/13/2024

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

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

CVSS Score Source: CVE-2024-35868

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.87-99.174, 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: 5/9/2024

Vulnerability Publication Date: 4/25/2024

Reference Information

CVE: CVE-2024-26921, CVE-2024-26923, CVE-2024-26925, CVE-2024-26928, CVE-2024-27393, CVE-2024-35861, CVE-2024-35862, CVE-2024-35864, CVE-2024-35868, CVE-2024-35872, CVE-2024-35884, CVE-2024-35888, CVE-2024-35896, CVE-2024-35897, CVE-2024-35908, CVE-2024-35910, CVE-2024-35925, CVE-2024-35944, CVE-2024-35950, CVE-2024-35955