ALAS2KERNEL-5.15-2025-091


Amazon Linux 2 Security Advisory: ALAS2KERNEL-5.15-2025-091
Advisory Released Date: 2025-09-29
Advisory Updated Date: 2025-10-08
Severity: Important

Issue Overview:

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

RDMA/core: Fix "KASAN: slab-use-after-free Read in ib_register_device" problem (CVE-2025-38022)

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

dma-buf: insert memory barrier before updating num_fences (CVE-2025-38095)

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

netfilter: nft_set_pipapo: clamp maximum map bucket size to INT_MAX (CVE-2025-38201)

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

bpf: Fix oob access in cgroup local storage (CVE-2025-38502)

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

can: netlink: can_changelink(): fix NULL pointer deref of struct can_priv::do_set_mode (CVE-2025-38665)

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

net/sched: Fix backlog accounting in qdisc_dequeue_internal (CVE-2025-39677)

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

batman-adv: fix OOB read/write in network-coding decode (CVE-2025-39839)

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

mm: move page table sync declarations to linux/pgtable.h (CVE-2025-39844)

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

x86/mm/64: define ARCH_PAGE_TABLE_SYNC_MASK and arch_sync_kernel_mappings() (CVE-2025-39845)

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

pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region() (CVE-2025-39846)

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

ppp: fix memory leak in pad_compress_skb (CVE-2025-39847)

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

ax25: properly unshare skbs in ax25_kiss_rcv() (CVE-2025-39848)

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

fs: writeback: fix use-after-free in __mark_inode_dirty() (CVE-2025-39866)

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

netfilter: br_netfilter: do not check confirmed bit in br_nf_local_in() after confirm (CVE-2025-39894)

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

e1000e: fix heap overflow in e1000_set_eeprom (CVE-2025-39898)

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

mm/slub: avoid accessing metadata when pointer is invalid in object_err() (CVE-2025-39902)

In the Linux kernel, the following vulnerability has been resolved:
x86/vmscape: Add conditional IBPB mitigation

VMSCAPE is a vulnerability that exploits insufficient branch predictor isolation between a guest and a userspace hypervisor (like QEMU). Existing mitigations already protect kernel/KVM from a malicious guest. Userspace can additionally be protected by flushing the branch predictors after a VMexit.

Since it is the userspace that consumes the poisoned branch predictors, conditionally issue an IBPB after a VMexit and before returning to userspace. Workloads that frequently switch between hypervisor and userspace will incur the most overhead from the new IBPB.

This new IBPB is not integrated with the existing IBPB sites. For instance, a task can use the existing speculation control prctl() to get an IBPB at context switch time. With this implementation, the IBPB is doubled up: one at context switch and another before running userspace. The intent is to integrate and optimize these cases post-embargo.
[ dhansen: elaborate on suboptimal IBPB solution ] (CVE-2025-40300)


Affected Packages:

kernel


Note:

This advisory is applicable to Amazon Linux 2 - Kernel-5.15 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 or yum update --advisory ALAS2KERNEL-5.15-2025-091 to update your system.
System reboot is required in order to complete this update.

New Packages:
aarch64:
    kernel-5.15.193-133.214.amzn2.aarch64
    kernel-headers-5.15.193-133.214.amzn2.aarch64
    kernel-debuginfo-common-aarch64-5.15.193-133.214.amzn2.aarch64
    perf-5.15.193-133.214.amzn2.aarch64
    perf-debuginfo-5.15.193-133.214.amzn2.aarch64
    python-perf-5.15.193-133.214.amzn2.aarch64
    python-perf-debuginfo-5.15.193-133.214.amzn2.aarch64
    kernel-tools-5.15.193-133.214.amzn2.aarch64
    kernel-tools-devel-5.15.193-133.214.amzn2.aarch64
    kernel-tools-debuginfo-5.15.193-133.214.amzn2.aarch64
    bpftool-5.15.193-133.214.amzn2.aarch64
    bpftool-debuginfo-5.15.193-133.214.amzn2.aarch64
    kernel-devel-5.15.193-133.214.amzn2.aarch64
    kernel-debuginfo-5.15.193-133.214.amzn2.aarch64
    kernel-livepatch-5.15.193-133.214-1.0-0.amzn2.aarch64

i686:
    kernel-headers-5.15.193-133.214.amzn2.i686

src:
    kernel-5.15.193-133.214.amzn2.src

x86_64:
    kernel-5.15.193-133.214.amzn2.x86_64
    kernel-headers-5.15.193-133.214.amzn2.x86_64
    kernel-debuginfo-common-x86_64-5.15.193-133.214.amzn2.x86_64
    perf-5.15.193-133.214.amzn2.x86_64
    perf-debuginfo-5.15.193-133.214.amzn2.x86_64
    python-perf-5.15.193-133.214.amzn2.x86_64
    python-perf-debuginfo-5.15.193-133.214.amzn2.x86_64
    kernel-tools-5.15.193-133.214.amzn2.x86_64
    kernel-tools-devel-5.15.193-133.214.amzn2.x86_64
    kernel-tools-debuginfo-5.15.193-133.214.amzn2.x86_64
    bpftool-5.15.193-133.214.amzn2.x86_64
    bpftool-debuginfo-5.15.193-133.214.amzn2.x86_64
    kernel-devel-5.15.193-133.214.amzn2.x86_64
    kernel-debuginfo-5.15.193-133.214.amzn2.x86_64
    kernel-livepatch-5.15.193-133.214-1.0-0.amzn2.x86_64

Changelog:

2025-10-08: CVE-2025-39902 was added to this advisory.

2025-10-08: CVE-2025-39894 was added to this advisory.

2025-10-08: CVE-2025-39866 was added to this advisory.

2025-10-08: CVE-2025-39898 was added to this advisory.