CVE-2024-43837
kernel: bpf: Fix null pointer dereference in resolve_prog_type() for BPF_PROG_TYPE_EXT
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 17, 2024
Updated · November 21, 2025
Description
A flaw was found in the Linux kernel. This issue occurs in the BPF subsystem when loading BPF_PROG_TYPE_EXT programs without specifying attr->attach_prog_fd, causing a null pointer dereference in resolve_prog_type(). The issue was introduced in a commit that incorrectly resolved program types without checking if dst_prog was null.
Statement
Red Hat Enterprise Linux is not affected by this CVE.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-476 · NULL Pointer Dereference