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

medium 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.

2024-12-05: CVE-2024-35872 was added to this advisory.

2024-12-05: CVE-2024-35908 was added to this advisory.

2024-12-05: CVE-2024-35910 was added to this advisory.

2024-12-05: CVE-2024-35897 was added to this advisory.

2024-12-05: CVE-2024-35896 was added to this advisory.

2024-12-05: CVE-2024-35944 was added to this advisory.

2024-09-12: CVE-2024-35888 was added to this advisory.

2024-09-12: CVE-2024-35861 was added to this advisory.

2024-09-12: CVE-2024-35925 was added to this advisory.

2024-09-12: CVE-2024-35864 was added to this advisory.

2024-08-14: CVE-2024-27393 was added to this advisory.

2024-08-14: CVE-2024-26921 was added to this advisory.

2024-08-01: CVE-2024-26928 was added to this advisory.

2024-05-23: CVE-2024-26923 was added to this 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_valid_lease_break() (CVE-2024-35864)

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:

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)

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/faqs.html

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

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

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

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

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

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

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

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

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

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

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

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

https://alas.aws.amazon.com/cve/html/CVE-2024-35872.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

Plugin Details

Severity: Medium

ID: 196918

File Name: al2023_ALAS2023-2024-613.nasl

Version: 1.5

Type: local

Agent: unix

Published: 5/13/2024

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, 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-35864

CVSS v3

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 5.1

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

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

CVSS Score Source: CVE-2024-35910

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-35864, CVE-2024-35872, CVE-2024-35888, CVE-2024-35896, CVE-2024-35897, CVE-2024-35908, CVE-2024-35910, CVE-2024-35925, CVE-2024-35944