ALAS2KERNEL-5.4-2024-079


Amazon Linux 2 Security Advisory: ALAS2KERNEL-5.4-2024-079
Advisory Released Date: 2024-08-13
Advisory Updated Date: 2025-07-09
Severity: Important

Issue Overview:

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

vt: fix memory overlapping when deleting chars in the buffer (CVE-2022-48627)

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

loop: Check for overflow while configuring loop (CVE-2022-49993)

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

netfilter: nf_tables: disallow timeout for anonymous sets (CVE-2023-52620)

create_empty_lvol in drivers/mtd/ubi/vtbl.c in the Linux kernel through 6.7.4 can attempt to allocate zero bytes, and crash, because of a missing check for ubi->leb_size. (CVE-2024-25739)

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

netfilter: nf_tables: disallow anonymous set with timeout flag (CVE-2024-26642)

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

netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout (CVE-2024-26643)

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

xen/events: close evtchn after mapping cleanup (CVE-2024-26687)

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

vfio/pci: Lock external INTx masking ops (CVE-2024-26810)

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

vfio/pci: Create persistent INTx handler (CVE-2024-26812)

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

vfio/platform: Create persistent IRQ handlers (CVE-2024-26813)

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

netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path

The commit mutex should not be released during the critical section
between nft_gc_seq_begin() and nft_gc_seq_end(), otherwise, async GC
worker could collect expired objects and get the released commit lock
within the same GC sequence.

nf_tables_module_autoload() temporarily releases the mutex to load
module dependencies, then it goes back to replay the transaction again.
Move it at the end of the abort phase after nft_gc_seq_end() is called. (CVE-2024-26925)

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

scsi: qla2xxx: Fix command flush on cable pull (CVE-2024-26931)

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

USB: core: Fix deadlock in usb_deauthorize_interface() (CVE-2024-26934)

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

scsi: core: Fix unremoved procfs host directory regression (CVE-2024-26935)

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

nilfs2: prevent kernel bug at submit_bh_wbc() (CVE-2024-26955)

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

nilfs2: fix failure to detect DAT corruption in btree and direct mappings (CVE-2024-26956)

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

fat: fix uninitialized field in nostale filehandles (CVE-2024-26973)

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

KVM: Always flush async #PF workqueue when vCPU is being destroyed (CVE-2024-26976)

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

USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command (CVE-2024-27059)

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

vfio/pci: Disable auto-enable of exclusive INTx IRQ (CVE-2024-27437)

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

dm snapshot: fix lockup in dm_exception_table_exit (CVE-2024-35805)

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

PCI/PM: Drain runtime-idle callbacks before driver removal (CVE-2024-35809)

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

mmc: core: Avoid negative index with array access (CVE-2024-35813)

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

fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion (CVE-2024-35815)

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

vt: fix unicode buffer corruption when deleting characters (CVE-2024-35823)

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

erspan: make sure erspan_base_hdr is present in skb->head (CVE-2024-35888)

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

bpf, sockmap: Prevent lock inversion deadlock in map delete elem (CVE-2024-35895)

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

netfilter: nf_tables: discard table flag update with pending basechain deletion (CVE-2024-35897)

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

netfilter: nf_tables: flush pending destroy work before exit_net release (CVE-2024-35899)

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

netfilter: nf_tables: reject new basechain after table flag update (CVE-2024-35900)

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

net/rds: fix possible cp null dereference (CVE-2024-35902)

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

tcp: properly terminate timers for kernel sockets (CVE-2024-35910)

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

block: prevent division by zero in blk_rq_stat_sum() (CVE-2024-35925)

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

scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc() (CVE-2024-35930)

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

btrfs: send: handle path ref underflow in header iterate_inode_ref() (CVE-2024-35935)

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

btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks() (CVE-2024-35936)

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

VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host() (CVE-2024-35944)

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

i40e: fix vf may be used uninitialized in this function warning (CVE-2024-36020)


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.

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

i686:
    kernel-headers-5.4.274-187.369.amzn2.i686

src:
    kernel-5.4.274-187.369.amzn2.src

x86_64:
    kernel-5.4.274-187.369.amzn2.x86_64
    kernel-headers-5.4.274-187.369.amzn2.x86_64
    kernel-debuginfo-common-x86_64-5.4.274-187.369.amzn2.x86_64
    perf-5.4.274-187.369.amzn2.x86_64
    perf-debuginfo-5.4.274-187.369.amzn2.x86_64
    python-perf-5.4.274-187.369.amzn2.x86_64
    python-perf-debuginfo-5.4.274-187.369.amzn2.x86_64
    kernel-tools-5.4.274-187.369.amzn2.x86_64
    kernel-tools-devel-5.4.274-187.369.amzn2.x86_64
    kernel-tools-debuginfo-5.4.274-187.369.amzn2.x86_64
    bpftool-5.4.274-187.369.amzn2.x86_64
    bpftool-debuginfo-5.4.274-187.369.amzn2.x86_64
    kernel-devel-5.4.274-187.369.amzn2.x86_64
    kernel-debuginfo-5.4.274-187.369.amzn2.x86_64

Changelog:

2025-07-09: CVE-2022-49993 was added to this advisory.

2025-05-21: CVE-2024-35900 was added to this advisory.

2025-05-21: CVE-2024-35935 was added to this advisory.

2025-05-21: CVE-2024-35899 was added to this advisory.

2025-05-21: CVE-2024-35902 was added to this advisory.

2025-05-21: CVE-2024-35936 was added to this advisory.

2025-05-21: CVE-2024-35895 was added to this advisory.

2025-04-09: CVE-2024-26813 was added to this advisory.

2025-04-09: CVE-2024-26934 was added to this advisory.

2025-04-09: CVE-2024-36020 was added to this advisory.

2025-04-09: CVE-2024-35888 was added to this advisory.

2025-04-09: CVE-2024-35823 was added to this advisory.

2025-04-09: CVE-2024-26810 was added to this advisory.

2025-04-09: CVE-2024-35897 was added to this advisory.

2025-04-09: CVE-2024-26925 was added to this advisory.

2025-04-09: CVE-2024-35813 was added to this advisory.

2025-04-09: CVE-2024-26973 was added to this advisory.

2025-04-09: CVE-2024-35910 was added to this advisory.

2025-04-09: CVE-2024-26642 was added to this advisory.

2025-04-09: CVE-2024-35805 was added to this advisory.

2025-04-09: CVE-2023-52620 was added to this advisory.

2025-04-09: CVE-2024-26643 was added to this advisory.

2025-04-09: CVE-2024-26812 was added to this advisory.

2025-04-09: CVE-2024-26687 was added to this advisory.

2025-04-09: CVE-2024-35925 was added to this advisory.

2025-04-09: CVE-2024-35815 was added to this advisory.

2025-04-09: CVE-2024-35930 was added to this advisory.

2025-04-09: CVE-2024-35944 was added to this advisory.

2025-04-09: CVE-2024-25739 was added to this advisory.

2025-04-09: CVE-2024-27437 was added to this advisory.

2025-04-09: CVE-2024-35809 was added to this advisory.