Amazon Linux 2 : kernel (ALASKERNEL-5.4-2025-103)

critical Nessus Plugin ID 240323

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.294-212.419. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2KERNEL-5.4-2025-103 advisory.

2025-07-03: CVE-2025-38037 was added to this advisory.

2025-07-03: CVE-2025-38003 was added to this advisory.

2025-07-03: CVE-2025-38066 was added to this advisory.

2025-07-03: CVE-2025-38075 was added to this advisory.

2025-07-03: CVE-2025-38061 was added to this advisory.

2025-07-03: CVE-2025-38079 was added to this advisory.

2025-07-03: CVE-2025-38051 was added to this advisory.

2025-07-03: CVE-2025-37997 was added to this advisory.

2025-07-03: CVE-2025-38023 was added to this advisory.

2025-07-03: CVE-2025-38072 was added to this advisory.

2025-07-03: CVE-2025-38058 was added to this advisory.

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

scsi: target: Fix WRITE_SAME No Data Buffer crash

In newer version of the SBC specs, we have a NDOB bit that indicates thereis no data buffer that gets written out. If this bit is set using commandslike sg_write_same --ndob we will crash in target_core_iblock/file'sexecute_write_same handlers when we go to access the se_cmd->t_data_sgbecause its NULL.

This patch adds a check for the NDOB bit in the common WRITE SAME codebecause we don't support it. And, it adds a check for zero SG elements ineach handler in case the initiator tries to send a normal WRITE SAME withno data buffer. (CVE-2022-21546)

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

mm/khugepaged: fix ->anon_vma race (CVE-2023-52935)

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

of: module: add buffer overflow check in of_modalias() (CVE-2024-38541)

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

irqchip/gic-v2m: Prevent use after free of gicv2m_get_fwnode() (CVE-2025-37819)

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

net_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc (CVE-2025-37890)

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

net_sched: qfq: Fix double list add in class with netem as child qdisc (CVE-2025-37913)

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

net_sched: drr: Fix double list add in class with netem as child qdisc (CVE-2025-37915)

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

tracing: Fix oob write in trace_seq_to_buffer() (CVE-2025-37923)

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

iommu/amd: Fix potential buffer overflow in parse_ivrs_acpihid (CVE-2025-37927)

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

sch_htb: make htb_qlen_notify() idempotent (CVE-2025-37932)

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

xenbus: Use kref to track req lifetime (CVE-2025-37949)

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

module: ensure that kobject_put() is safe for module type kobjects (CVE-2025-37995)

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

netfilter: ipset: fix region locking in hash types (CVE-2025-37997)

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

openvswitch: Fix unsafe attribute parsing in output_userspace() (CVE-2025-37998)

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

sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue() (CVE-2025-38000)

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

net_sched: hfsc: Address reentrant enqueue adding class to eltree twice (CVE-2025-38001)

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

can: bcm: add missing rcu read protection for procfs content (CVE-2025-38003)

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

can: bcm: add locking for bcm_op runtime updates (CVE-2025-38004)

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

nfs: handle failure of nfs_get_lock_context in unlock path (CVE-2025-38023)

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

vxlan: Annotate FDB data races (CVE-2025-38037)

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

smb: client: Fix use-after-free in cifs_fill_dirent (CVE-2025-38051)

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

__legitimize_mnt(): check for MNT_SYNC_UMOUNT should be under mount_lock (CVE-2025-38058)

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

net: pktgen: fix access outside of user given buffer in pktgen_thread_write() (CVE-2025-38061)

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

dm cache: prevent BUG_ON by blocking retries on failed device resumes (CVE-2025-38066)

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

libnvdimm/labels: Fix divide error in nd_label_data_init() (CVE-2025-38072)

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

scsi: target: iscsi: Fix timeout on deleted connection (CVE-2025-38075)

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

crypto: algif_hash - fix double free in hash_accept (CVE-2025-38079)

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

See Also

https://alas.aws.amazon.com//AL2/ALAS2KERNEL-5.4-2025-103.html

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

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

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

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

https://alas.aws.amazon.com/cve/html/CVE-2025-37819.html

https://alas.aws.amazon.com/cve/html/CVE-2025-37890.html

https://alas.aws.amazon.com/cve/html/CVE-2025-37913.html

https://alas.aws.amazon.com/cve/html/CVE-2025-37915.html

https://alas.aws.amazon.com/cve/html/CVE-2025-37923.html

https://alas.aws.amazon.com/cve/html/CVE-2025-37927.html

https://alas.aws.amazon.com/cve/html/CVE-2025-37932.html

https://alas.aws.amazon.com/cve/html/CVE-2025-37949.html

https://alas.aws.amazon.com/cve/html/CVE-2025-37995.html

https://alas.aws.amazon.com/cve/html/CVE-2025-37997.html

https://alas.aws.amazon.com/cve/html/CVE-2025-37998.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38000.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38001.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38003.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38004.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38023.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38037.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38051.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38058.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38061.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38066.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38072.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38075.html

https://alas.aws.amazon.com/cve/html/CVE-2025-38079.html

Plugin Details

Severity: Critical

ID: 240323

File Name: al2_ALASKERNEL-5_4-2025-103.nasl

Version: 1.2

Type: local

Agent: unix

Published: 6/23/2025

Updated: 7/7/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2024-38541

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:python-perf-debuginfo, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:kernel-debuginfo, p-cpe:/a:amazon:linux:kernel-headers, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, p-cpe:/a:amazon:linux:python-perf

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 6/23/2025

Vulnerability Publication Date: 3/22/2023

Reference Information

CVE: CVE-2022-21546, CVE-2023-52935, CVE-2024-38541, CVE-2025-37819, CVE-2025-37890, CVE-2025-37913, CVE-2025-37915, CVE-2025-37923, CVE-2025-37927, CVE-2025-37932, CVE-2025-37949, CVE-2025-37995, CVE-2025-37997, CVE-2025-37998, CVE-2025-38000, CVE-2025-38001, CVE-2025-38003, CVE-2025-38004, CVE-2025-38023, CVE-2025-38037, CVE-2025-38051, CVE-2025-38058, CVE-2025-38061, CVE-2025-38066, CVE-2025-38072, CVE-2025-38075, CVE-2025-38079