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

high Nessus Plugin ID 173854

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-2023-148 advisory.

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

KVM: VMX: Do _all_ initialization before exposing /dev/kvm to userspace (CVE-2022-49932)

A use-after-free vulnerability in the Linux Kernel Performance Events system can be exploited to achieve local privilege escalation.

The perf_group_detach function did not check the event's siblings' attach_state before calling add_event_to_groups(), but remove_on_exec made it possible to call list_del_event() on before detaching from their group, making it possible to use a dangling pointer causing a use-after-free vulnerability.

We recommend upgrading past commit fd0815f632c24878e325821943edccc7fde947a2. (CVE-2023-2235)

do_tls_getsockopt in net/tls/tls_main.c in the Linux kernel through 6.2.6 lacks a lock_sock call, leading to a race condition (with a resultant use-after-free or NULL pointer dereference). (CVE-2023-28466)

An issue was discovered in arch/x86/kvm/vmx/nested.c in the Linux kernel before 6.2.8. nVMX on x86_64 lacks consistency checks for CR0 and CR4. (CVE-2023-30456)

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

ftrace: Fix invalid address access in lookup_rec() when index is 0 (CVE-2023-53075)

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

ext4: fix task hung in ext4_xattr_delete_inode (CVE-2023-53089)

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

ext4: update s_journal_inum if it changes after journal replay (CVE-2023-53091)

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

drm/ttm: Fix a NULL pointer dereference (CVE-2023-53095)

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

ext4: fix WARNING in ext4_update_inline_data (CVE-2023-53100)

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

ext4: zero i_disksize when initializing the bootloader inode (CVE-2023-53101)

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

veth: Fix use after free in XDP_REDIRECT (CVE-2023-53107)

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

net: tunnels: annotate lockless accesses to dev->needed_headroom (CVE-2023-53109)

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

bpf, sockmap: Fix an infinite loop error when len is 0 in tcp_bpf_recvmsg_parser() (CVE-2023-53133)

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

af_unix: fix struct pid leaks in OOB support (CVE-2023-53136)

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

scsi: core: Remove the /proc/scsi/${proc_name} directory earlier (CVE-2023-53140)

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

See Also

https://alas.aws.amazon.com/cve/html/CVE-2023-53100.html

https://alas.aws.amazon.com/cve/html/CVE-2023-53101.html

https://alas.aws.amazon.com/cve/html/CVE-2023-53107.html

https://alas.aws.amazon.com/cve/html/CVE-2023-53109.html

https://alas.aws.amazon.com/cve/html/CVE-2023-53133.html

https://alas.aws.amazon.com/cve/html/CVE-2023-53136.html

https://alas.aws.amazon.com/cve/html/CVE-2023-53140.html

https://alas.aws.amazon.com/AL2023/ALAS-2023-148.html

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

https://alas.aws.amazon.com/cve/html/CVE-2022-49932.html

https://alas.aws.amazon.com/cve/html/CVE-2023-2235.html

https://alas.aws.amazon.com/cve/html/CVE-2023-28466.html

https://alas.aws.amazon.com/cve/html/CVE-2023-30456.html

https://alas.aws.amazon.com/cve/html/CVE-2023-53075.html

https://alas.aws.amazon.com/cve/html/CVE-2023-53089.html

https://alas.aws.amazon.com/cve/html/CVE-2023-53091.html

https://alas.aws.amazon.com/cve/html/CVE-2023-53095.html

Plugin Details

Severity: High

ID: 173854

File Name: al2023_ALAS2023-2023-148.nasl

Version: 1.3

Type: local

Agent: unix

Published: 4/4/2023

Updated: 6/20/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-2023-2235

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:perf-debuginfo, 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.21-1.45, 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: 3/30/2023

Vulnerability Publication Date: 3/16/2023

Reference Information

CVE: CVE-2022-49932, CVE-2023-2235, CVE-2023-28466, CVE-2023-30456, CVE-2023-53075, CVE-2023-53089, CVE-2023-53091, CVE-2023-53095, CVE-2023-53100, CVE-2023-53101, CVE-2023-53107, CVE-2023-53109, CVE-2023-53133, CVE-2023-53136, CVE-2023-53140