Amazon Linux 2 : kernel, --advisory ALAS2KERNEL-5.15-2023-013 (ALASKERNEL-5.15-2023-013)

high Nessus Plugin ID 171227

Synopsis

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

Description

The version of kernel installed on the remote host is prior to 5.15.90-54.138. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2KERNEL-5.15-2023-013 advisory.

In the Linux kernel before 6.1.6, a NULL pointer dereference bug in the traffic control subsystem allows an unprivileged user to trigger a denial of service (system crash) via a crafted traffic control configuration that is set up with tc qdisc and tc class commands. This affects qdisc_graft in net/sched/sch_api.c. (CVE-2022-47929)

A flaw NULL Pointer Dereference in the Linux kernel NTFS3 driver function attr_punch_hole() was found. A local user could use this flaw to crash the system. (CVE-2022-4842)

In the Linux kernel before 6.1.3, fs/ntfs3/inode.c does not validate the attribute name offset. An unhandled page fault may occur. (CVE-2022-48424)

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

efi: fix NULL-deref in init error path (CVE-2022-48879)

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

sched/core: Fix use-after-free bug in dup_user_cpus_ptr() (CVE-2022-48892)

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

fs/ntfs3: Validate BOOT record_size (CVE-2022-50262)

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

pnode: terminate at peers of source (CVE-2022-50280)

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

ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline (CVE-2022-50286)

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

btrfs: fix extent map use-after-free when handling missing device in read_one_chunk (CVE-2022-50300)

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

ext4: fix potential out of bound read in ext4_fc_replay_scan() (CVE-2022-50306)

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

block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq (CVE-2022-50329)

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

fs/ntfs3: Add null pointer check to attr_load_runs_vcn (CVE-2022-50336)

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

cifs: fix oops during encryption (CVE-2022-50341)

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

ext4: init quota for 'old.inode' in 'ext4_rename' (CVE-2022-50346)

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

md: fix a crash in mempool_free (CVE-2022-50381)

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

nvme: fix multipath crash caused by flush request when blktrace is enabled (CVE-2022-50388)

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

tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak (CVE-2022-50389)

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

net: sched: fix memory leak in tcindex_set_parms (CVE-2022-50396)

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

ext4: don't set up encryption key during jbd2 transaction (CVE-2022-50436)

The Linux kernel does not correctly mitigate SMT attacks, as discovered through a strange pattern in the kernel API using STIBP as a mitigation, leaving the process exposed for a short period of time after a syscall. The kernel also does not issue an IBPB immediately during the syscall. (CVE-2023-0045)

A buffer overflow vulnerability was found in the Netfilter subsystem in the Linux Kernel. This issue could allow the leakage of both stack and heap addresses, and potentially allow Local Privilege Escalation to the root user via arbitrary code execution. (CVE-2023-0179)

A NULL pointer dereference flaw was found in rawv6_push_pending_frames in net/ipv6/raw.c in the network subcomponent in the Linux kernel. This flaw causes the system to crash. (CVE-2023-0394)

Detected a few exploitable gadgets that could leak secret memory through a side-channel such as MDS as well as insufficient hardening of the usercopy functions against spectre-v1. (CVE-2023-0459)

There is a use-after-free vulnerability in the Linux Kernel which can be exploited to achieve local privilege escalation. To reach the vulnerability kernel configuration flag CONFIG_TLS or CONFIG_XFRM_ESPINTCP has to be configured, but the operation does not require any privilege.

There is a use-after-free bug of icsk_ulp_data of a struct inet_connection_sock.

When CONFIG_TLS is enabled, user can install a tls context (struct tls_context) on a connected tcp socket.
The context is not cleared if this socket is disconnected and reused as a listener. If a new socket is created from the listener, the context is inherited and vulnerable.

The setsockopt TCP_ULP operation does not require any privilege.

We recommend upgrading past commit 2c02d41d71f90a5168391b6a5f2954112ba2307c (CVE-2023-0461)

cbq_classify in net/sched/sch_cbq.c in the Linux kernel through 6.1.4 allows attackers to cause a denial of service (slab-out-of-bounds read) because of type confusion (non-negative numbers can sometimes indicate a TC_ACT_SHOT condition rather than valid classification results). (CVE-2023-23454)

atm_tc_enqueue in net/sched/sch_atm.c in the Linux kernel through 6.1.4 allows attackers to cause a denial of service because of type confusion (non-negative numbers can sometimes indicate a TC_ACT_SHOT condition rather than valid classification results). (CVE-2023-23455)

In the Linux kernel 6.0.8, there is a use-after-free in run_unpack in fs/ntfs3/run.c, related to a difference between NTFS sector size and media sector size. (CVE-2023-26544)

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

btrfs: fix race between quota rescan and disable leading to NULL pointer deref (CVE-2023-52896)

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

xhci: Fix null pointer dereference when host dies (CVE-2023-52898)

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

usb: xhci: Check endpoint is valid before dereferencing it (CVE-2023-52901)

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

io_uring: lock overflowing for IOPOLL (CVE-2023-52903)

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

net/sched: act_mpls: Fix warning during failed attribute validation (CVE-2023-52906)

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

iommu/iova: Fix alloc iova overflows issue (CVE-2023-52910)

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

netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function. (CVE-2023-53032)

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

netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits (CVE-2023-53033)

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

fs/ntfs3: don't hold ni_lock when calling truncate_setsize() (CVE-2023-53163)

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 'yum update kernel' or or 'yum update --advisory ALAS2KERNEL-5.15-2023-013' to update your system.

See Also

https://alas.aws.amazon.com//AL2/ALAS2KERNEL-5.15-2023-013.html

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

https://explore.alas.aws.amazon.com/CVE-2022-4842.html

https://explore.alas.aws.amazon.com/CVE-2022-47929.html

https://explore.alas.aws.amazon.com/CVE-2022-48424.html

https://explore.alas.aws.amazon.com/CVE-2022-48879.html

https://explore.alas.aws.amazon.com/CVE-2022-48892.html

https://explore.alas.aws.amazon.com/CVE-2022-50262.html

https://explore.alas.aws.amazon.com/CVE-2022-50280.html

https://explore.alas.aws.amazon.com/CVE-2022-50286.html

https://explore.alas.aws.amazon.com/CVE-2022-50300.html

https://explore.alas.aws.amazon.com/CVE-2022-50306.html

https://explore.alas.aws.amazon.com/CVE-2022-50329.html

https://explore.alas.aws.amazon.com/CVE-2022-50336.html

https://explore.alas.aws.amazon.com/CVE-2022-50341.html

https://explore.alas.aws.amazon.com/CVE-2022-50346.html

https://explore.alas.aws.amazon.com/CVE-2022-50381.html

https://explore.alas.aws.amazon.com/CVE-2022-50388.html

https://explore.alas.aws.amazon.com/CVE-2022-50389.html

https://explore.alas.aws.amazon.com/CVE-2022-50396.html

https://explore.alas.aws.amazon.com/CVE-2022-50436.html

https://explore.alas.aws.amazon.com/CVE-2023-0045.html

https://explore.alas.aws.amazon.com/CVE-2023-0179.html

https://explore.alas.aws.amazon.com/CVE-2023-0394.html

https://explore.alas.aws.amazon.com/CVE-2023-0459.html

https://explore.alas.aws.amazon.com/CVE-2023-0461.html

https://explore.alas.aws.amazon.com/CVE-2023-23454.html

https://explore.alas.aws.amazon.com/CVE-2023-23455.html

https://explore.alas.aws.amazon.com/CVE-2023-26544.html

https://explore.alas.aws.amazon.com/CVE-2023-52896.html

https://explore.alas.aws.amazon.com/CVE-2023-52898.html

https://explore.alas.aws.amazon.com/CVE-2023-52901.html

https://explore.alas.aws.amazon.com/CVE-2023-52903.html

https://explore.alas.aws.amazon.com/CVE-2023-52906.html

https://explore.alas.aws.amazon.com/CVE-2023-52910.html

https://explore.alas.aws.amazon.com/CVE-2023-53032.html

https://explore.alas.aws.amazon.com/CVE-2023-53033.html

https://explore.alas.aws.amazon.com/CVE-2023-53163.html

Plugin Details

Severity: High

ID: 171227

File Name: al2_ALASKERNEL-5_15-2023-013.nasl

Version: 1.17

Type: local

Agent: unix

Published: 2/8/2023

Updated: 10/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: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2023-0045

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

CVSS Score Source: CVE-2023-52906

Vulnerability Information

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:python-perf-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:python-perf, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:kernel-livepatch-5.15.90-54.138

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: 1/31/2023

Vulnerability Publication Date: 1/12/2023

Reference Information

CVE: CVE-2022-47929, CVE-2022-4842, CVE-2022-48424, CVE-2022-48879, CVE-2022-48892, CVE-2022-50262, CVE-2022-50280, CVE-2022-50286, CVE-2022-50300, CVE-2022-50306, CVE-2022-50329, CVE-2022-50336, CVE-2022-50341, CVE-2022-50346, CVE-2022-50381, CVE-2022-50388, CVE-2022-50389, CVE-2022-50396, CVE-2022-50436, CVE-2023-0045, CVE-2023-0179, CVE-2023-0394, CVE-2023-0459, CVE-2023-0461, CVE-2023-23454, CVE-2023-23455, CVE-2023-26544, CVE-2023-52896, CVE-2023-52898, CVE-2023-52901, CVE-2023-52903, CVE-2023-52906, CVE-2023-52910, CVE-2023-53032, CVE-2023-53033, CVE-2023-53163