Bottlerocket: kernel-5.15: security update to 2.1.0

medium Tenable Cloud Security Plugin ID 427924

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- In the Linux kernel, the following vulnerability has been resolved: xdp: use flags field to disambiguate
broadcast redirect When redirecting a packet using XDP, the bpf_redirect_map() helper will set up the
redirect destination information in struct bpf_redirect_info (using the __bpf_xdp_redirect_map() helper
function), and the xdp_do_redirect() function will read this information after the XDP program returns and
pass the frame on to the right redirect destination. When using the BPF_F_BROADCAST flag to do multicast
redirect to a whole map, __bpf_xdp_redirect_map() sets the 'map' pointer in struct bpf_redirect_info to
point to the destination map to be broadcast. And xdp_do_redirect() reacts to the value of this map
pointer to decide whether it's dealing with a broadcast or a single-value redirect. However, if the
destination map is being destroyed before xdp_do_redirect() is called, the map pointer will be cleared out
(by bpf_clear_redirect_map()) without waiting for any XDP programs to stop running. This causes
xdp_do_redirect() to think that the redirect was to a single target, but the target pointer is also NULL
(since broadcast redirects don't have a single target), so this causes a crash when a NULL pointer is
passed to dev_map_enqueue(). To fix this, change xdp_do_redirect() to react directly to the presence of
the BPF_F_BROADCAST flag in the 'flags' value in struct bpf_redirect_info to disambiguate between a
single-target and a broadcast redirect. And only read the 'map' pointer if the broadcast flag is set,
aborting if that has been cleared out in the meantime. This prevents the crash, while keeping the atomic
(cmpxchg-based) clearing of the map pointer itself, and without adding any more checks in the non-
broadcast fast path. (CVE-2024-36937)

Plugin Details

Severity: Medium

ID: 427924

Version: Revision 1.5

Type: Local

Published: 6/30/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

CVSS Score Source: CVE-2024-36937

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 5/30/2024

Reference Information

CVE: CVE-2024-36937