ALASKERNEL-5.10-2024-054


Amazon Linux 2 Security Advisory: ALASKERNEL-5.10-2024-054
Advisory Release Date: 2024-04-25 16:31 Pacific
Advisory Updated Date: 2024-08-27 19:16 Pacific
Severity: Medium

Issue Overview:

2024-08-27: CVE-2024-26863 was added to this advisory.

2024-08-27: CVE-2023-52656 was added to this advisory.

2024-08-27: CVE-2024-26809 was added to this advisory.

2024-08-27: CVE-2024-27038 was added to this advisory.

2024-08-27: CVE-2024-26878 was added to this advisory.

2024-08-27: CVE-2024-26862 was added to this advisory.

2024-08-27: CVE-2024-26872 was added to this advisory.

2024-08-27: CVE-2024-26859 was added to this advisory.

2024-08-27: CVE-2024-26861 was added to this advisory.

2024-08-27: CVE-2024-26816 was added to this advisory.

2024-08-27: CVE-2024-26880 was added to this advisory.

2024-08-27: CVE-2024-26901 was added to this advisory.

2024-08-27: CVE-2024-27388 was added to this advisory.

2024-08-01: CVE-2024-27077 was added to this advisory.

2024-08-01: CVE-2024-27065 was added to this advisory.

2024-08-01: CVE-2024-27025 was added to this advisory.

2024-07-03: CVE-2024-36031 was added to this advisory.

2024-05-23: CVE-2024-26898 was added to this advisory.

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

bpf: Defer the free of inner map when necessary

When updating or deleting an inner map in map array or map htab, the map
may still be accessed by non-sleepable program or sleepable program.
However bpf_map_fd_put_ptr() decreases the ref-counter of the inner map
directly through bpf_map_put(), if the ref-counter is the last one
(which is true for most cases), the inner map will be freed by
ops->map_free() in a kworker. But for now, most .map_free() callbacks
don't use synchronize_rcu() or its variants to wait for the elapse of a
RCU grace period, so after the invocation of ops->map_free completes,
the bpf program which is accessing the inner map may incur
use-after-free problem.

Fix the free of inner map by invoking bpf_map_free_deferred() after both
one RCU grace period and one tasks trace RCU grace period if the inner
map has been removed from the outer map before. The deferment is
accomplished by using call_rcu() or call_rcu_tasks_trace() when
releasing the last ref-counter of bpf map. The newly-added rcu_head
field in bpf_map shares the same storage space with work field to
reduce the size of bpf_map. (CVE-2023-52447)

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

io_uring: drop any code related to SCM_RIGHTS (CVE-2023-52656)

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

netfilter: nft_set_pipapo: release elements in clone only from destroy path (CVE-2024-26809)

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

x86, relocs: Ignore relocations in .notes section (CVE-2024-26816)

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

net/bnx2x: Prevent access to a freed page in page_pool (CVE-2024-26859)

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

wireguard: receive: annotate data-race around receiving_counter.counter (CVE-2024-26861)

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

packet: annotate data-races around ignore_outgoing (CVE-2024-26862)

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

hsr: Fix uninit-value access in hsr_get_node() (CVE-2024-26863)

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

RDMA/srpt: Do not register event handler until srpt device is fully setup (CVE-2024-26872)

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

quota: Fix potential NULL pointer dereference (CVE-2024-26878)

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

dm: call the resume method on internal suspend (CVE-2024-26880)

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

aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts (CVE-2024-26898)

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

do_sys_name_to_handle(): use kzalloc() to fix kernel-infoleak (CVE-2024-26901)

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

nbd: null check for nla_nest_start (CVE-2024-27025)

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

clk: Fix clk_core_get NULL dereference (CVE-2024-27038)

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

netfilter: nf_tables: do not compare internal table flags on updates (CVE-2024-27065)

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

media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity (CVE-2024-27077)

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

SUNRPC: fix some memleaks in gssx_dec_option_array (CVE-2024-27388)

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

keys: Fix overwrite of key expiration on instantiation (CVE-2024-36031)


Affected Packages:

kernel


Note:

This advisory is applicable to Amazon Linux 2 - Kernel-5.10 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.10.214-202.855.amzn2.aarch64
    kernel-headers-5.10.214-202.855.amzn2.aarch64
    kernel-debuginfo-common-aarch64-5.10.214-202.855.amzn2.aarch64
    perf-5.10.214-202.855.amzn2.aarch64
    perf-debuginfo-5.10.214-202.855.amzn2.aarch64
    python-perf-5.10.214-202.855.amzn2.aarch64
    python-perf-debuginfo-5.10.214-202.855.amzn2.aarch64
    kernel-tools-5.10.214-202.855.amzn2.aarch64
    kernel-tools-devel-5.10.214-202.855.amzn2.aarch64
    kernel-tools-debuginfo-5.10.214-202.855.amzn2.aarch64
    bpftool-5.10.214-202.855.amzn2.aarch64
    bpftool-debuginfo-5.10.214-202.855.amzn2.aarch64
    kernel-devel-5.10.214-202.855.amzn2.aarch64
    kernel-debuginfo-5.10.214-202.855.amzn2.aarch64
    kernel-livepatch-5.10.214-202.855-1.0-0.amzn2.aarch64

i686:
    kernel-headers-5.10.214-202.855.amzn2.i686

src:
    kernel-5.10.214-202.855.amzn2.src

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