ALASKERNEL-5.4-2025-103


Amazon Linux 2 Security Advisory: ALASKERNEL-5.4-2025-103
Advisory Released Date: 2025-06-23
Advisory Updated Date: 2025-06-23
Severity: Important

Issue Overview:

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 there
is no data buffer that gets written out. If this bit is set using commands
like "sg_write_same --ndob" we will crash in target_core_iblock/file's
execute_write_same handlers when we go to access the se_cmd->t_data_sg
because its NULL.

This patch adds a check for the NDOB bit in the common WRITE SAME code
because we don't support it. And, it adds a check for zero SG elements in
each handler in case the initiator tries to send a normal WRITE SAME with
no 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:

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 locking for bcm_op runtime updates (CVE-2025-38004)


Affected Packages:

kernel


Note:

This advisory is applicable to Amazon Linux 2 - Kernel-5.4 Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update kernel to update your system.
System reboot is required in order to complete this update.

New Packages:
aarch64:
    kernel-5.4.294-212.419.amzn2.aarch64
    kernel-headers-5.4.294-212.419.amzn2.aarch64
    kernel-debuginfo-common-aarch64-5.4.294-212.419.amzn2.aarch64
    perf-5.4.294-212.419.amzn2.aarch64
    perf-debuginfo-5.4.294-212.419.amzn2.aarch64
    python-perf-5.4.294-212.419.amzn2.aarch64
    python-perf-debuginfo-5.4.294-212.419.amzn2.aarch64
    kernel-tools-5.4.294-212.419.amzn2.aarch64
    kernel-tools-devel-5.4.294-212.419.amzn2.aarch64
    kernel-tools-debuginfo-5.4.294-212.419.amzn2.aarch64
    bpftool-5.4.294-212.419.amzn2.aarch64
    bpftool-debuginfo-5.4.294-212.419.amzn2.aarch64
    kernel-devel-5.4.294-212.419.amzn2.aarch64
    kernel-debuginfo-5.4.294-212.419.amzn2.aarch64

i686:
    kernel-headers-5.4.294-212.419.amzn2.i686

src:
    kernel-5.4.294-212.419.amzn2.src

x86_64:
    kernel-5.4.294-212.419.amzn2.x86_64
    kernel-headers-5.4.294-212.419.amzn2.x86_64
    kernel-debuginfo-common-x86_64-5.4.294-212.419.amzn2.x86_64
    perf-5.4.294-212.419.amzn2.x86_64
    perf-debuginfo-5.4.294-212.419.amzn2.x86_64
    python-perf-5.4.294-212.419.amzn2.x86_64
    python-perf-debuginfo-5.4.294-212.419.amzn2.x86_64
    kernel-tools-5.4.294-212.419.amzn2.x86_64
    kernel-tools-devel-5.4.294-212.419.amzn2.x86_64
    kernel-tools-debuginfo-5.4.294-212.419.amzn2.x86_64
    bpftool-5.4.294-212.419.amzn2.x86_64
    bpftool-debuginfo-5.4.294-212.419.amzn2.x86_64
    kernel-devel-5.4.294-212.419.amzn2.x86_64
    kernel-debuginfo-5.4.294-212.419.amzn2.x86_64