Amazon Linux 2 : kernel, --advisory ALAS2KERNEL-5.4-2023-042 (ALASKERNEL-5.4-2023-042)

high Nessus Plugin ID 171848

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.4.231-137.341. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2KERNEL-5.4-2023-042 advisory.

A flaw was found in the Linux kernel's Layer 2 Tunneling Protocol (L2TP). A missing lock when clearing sk_user_data can lead to a race condition and NULL pointer dereference. A local user could use this flaw to potentially crash the system causing a denial of service. (CVE-2022-4129)

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)

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:

ixgbe: fix pci device refcount leak (CVE-2022-48896)

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

drm/virtio: Fix GEM handle creation UAF (CVE-2022-48899)

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

udf: Fix preallocation discarding at indirect extent boundary (CVE-2022-48946)

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

igb: Initialize mailbox message for VF reset (CVE-2022-48949)

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

perf/x86/amd: fix potential integer overflow on shift of a int (CVE-2022-49748)

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

dmaengine: Fix double increment of client_count in dma_chan_get() (CVE-2022-49753)

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

drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init() (CVE-2022-50242)

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

regulator: core: fix use_count leakage when handling boot-on (CVE-2022-50250)

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

mmc: vub300: fix return value check of mmc_add_host() (CVE-2022-50251)

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

igb: Do not free q_vector unless new one was allocated (CVE-2022-50252)

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

bpf: make sure skb->len != 0 when redirecting to a tunneling device (CVE-2022-50253)

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

bpf, sockmap: fix race in sock_map_free() (CVE-2022-50259)

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

drm/radeon: Add the missed acpi_put_table() to fix memory leak (CVE-2022-50275)

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

power: supply: fix null pointer dereferencing in power_supply_get_battery_info (CVE-2022-50276)

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

PNP: fix name memory leak in pnp_alloc_dev() (CVE-2022-50278)

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:

chardev: fix error handling in cdev_device_add() (CVE-2022-50282)

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:

qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure (CVE-2022-50288)

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

perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox() (CVE-2022-50318)

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

fs: jfs: fix shift-out-of-bounds in dbDiscardAG (CVE-2022-50333)

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

hugetlbfs: fix null-ptr-deref in hugetlbfs_parse_param() (CVE-2022-50334)

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:

rapidio: fix possible name leaks when rio_add_device() fails (CVE-2022-50343)

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:

misc: tifm: fix possible memory leak in tifm_7xx1_switch_media() (CVE-2022-50349)

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

skbuff: Account for tail adjustment during pull operations (CVE-2022-50365)

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:

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:

integrity: Fix memory leakage in keyring allocation error path (CVE-2022-50395)

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:

nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failure (CVE-2022-50401)

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

drivers/md/md-bitmap: check the return value of md_bitmap_get_counter() (CVE-2022-50402)

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

net/tunnel: wait until all sk_user_data reader finish before releasing the sock (CVE-2022-50405)

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

ACPICA: Fix error code path in acpi_ds_call_control_method() (CVE-2022-50411)

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

scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails (CVE-2022-50414)

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 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)

A memory corruption flaw was found in the Linux kernel's human interface device (HID) subsystem in how a user inserts a malicious USB device. This flaw allows a local user to crash or potentially escalate their privileges on the system. (CVE-2023-1073)

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, 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:

nilfs2: fix general protection fault in nilfs_btree_insert() (CVE-2023-52900)

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:

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

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

bpf: Skip task with pid=1 in send_signal_common() (CVE-2023-52992)

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

x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL (CVE-2023-52993)

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

ipv4: prevent potential spectre v1 gadget in fib_metrics_match() (CVE-2023-52996)

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

ipv4: prevent potential spectre v1 gadget in ip_metrics_convert() (CVE-2023-52997)

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

net: fix UaF in netns ops registration error path (CVE-2023-52999)

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

netlink: prevent potential spectre v1 gadgets (CVE-2023-53000)

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

cifs: Fix oops due to uncleared server->smbd_conn in reconnect (CVE-2023-53006)

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

tracing: Make sure trace_printk() can output as soon as it can be used (CVE-2023-53007)

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

HID: betop: check shape of output reports (CVE-2023-53015)

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

net: mdio: validate parameter addr in mdiobus_get_phy() (CVE-2023-53019)

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

net/sched: sch_taprio: fix possible use-after-free (CVE-2023-53021)

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

bpf: Fix pointer-leak due to insufficient speculative store bypass mitigation (CVE-2023-53024)

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

RDMA/core: Fix ib block iterator counter overflow (CVE-2023-53026)

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)

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.4-2023-042' to update your system.

See Also

https://alas.aws.amazon.com//AL2/ALAS2KERNEL-5.4-2023-042.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

https://explore.alas.aws.amazon.com/CVE-2023-0045.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-1073.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-52896.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin Details

Severity: High

ID: 171848

File Name: al2_ALASKERNEL-5_4-2023-042.nasl

Version: 1.15

Type: local

Agent: unix

Published: 2/23/2023

Updated: 10/8/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: p-cpe:/a:amazon:linux:python-perf, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:python-perf-debuginfo, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:kernel-debuginfo

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: 2/17/2023

Vulnerability Publication Date: 11/28/2022

Reference Information

CVE: CVE-2022-4129, CVE-2022-47929, CVE-2022-48879, CVE-2022-48896, CVE-2022-48899, CVE-2022-48946, CVE-2022-48949, CVE-2022-49748, CVE-2022-49753, CVE-2022-50242, CVE-2022-50250, CVE-2022-50251, CVE-2022-50252, CVE-2022-50253, CVE-2022-50259, CVE-2022-50275, CVE-2022-50276, CVE-2022-50278, CVE-2022-50280, CVE-2022-50282, CVE-2022-50286, CVE-2022-50288, CVE-2022-50318, CVE-2022-50333, CVE-2022-50334, CVE-2022-50341, CVE-2022-50343, CVE-2022-50346, CVE-2022-50349, CVE-2022-50365, CVE-2022-50381, CVE-2022-50389, CVE-2022-50395, CVE-2022-50396, CVE-2022-50401, CVE-2022-50402, CVE-2022-50405, CVE-2022-50411, CVE-2022-50414, CVE-2023-0045, CVE-2023-0394, CVE-2023-0459, CVE-2023-0461, CVE-2023-1073, CVE-2023-23454, CVE-2023-23455, CVE-2023-52896, CVE-2023-52898, CVE-2023-52900, CVE-2023-52901, CVE-2023-52906, CVE-2023-52992, CVE-2023-52993, CVE-2023-52996, CVE-2023-52997, CVE-2023-52999, CVE-2023-53000, CVE-2023-53006, CVE-2023-53007, CVE-2023-53015, CVE-2023-53019, CVE-2023-53021, CVE-2023-53024, CVE-2023-53026, CVE-2023-53032