PT-2024-30698 · Linux+6 · Linux Kernel+6

Published

2024-07-12

·

Updated

2025-09-29

·

CVE-2024-43837

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.50
Description A null pointer dereference vulnerability was found in the Linux kernel's BPF (Berkeley Packet Filter) subsystem. This issue occurs when loading an EXT program without specifying the attr->attach prog fd attribute, causing the prog->aux->dst prog pointer to be null. As a result, calling resolve prog type() anywhere will lead to a null pointer dereference. The vulnerability was introduced by a commit that aimed to correct type resolution for BPF PROG TYPE TRACING programs. To fix this issue, one can either force attach prog fd to be non-empty when loading a BPF program or add a null check in the resolve prog type() function.
Recommendations For Linux kernel versions prior to 6.6.50, update to version 6.6.50 or later to fix the vulnerability. Alternatively, consider applying the patch that adds a null check in the resolve prog type() function to prevent the null pointer dereference. As a temporary workaround, consider disabling the loading of EXT programs without specifying the attr->attach prog fd attribute until a patch is available.

Exploit

Fix

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-11524
ALT-PU-2024-11855
ALT-PU-2024-11863
ALT-PU-2024-13121
ALT-PU-2024-13979
ALT-PU-2024-14046
AZL-48009
BDU:2025-01722
CVE-2024-43837
DLA-4008-1
MGASA-2024-0309
MGASA-2024-0310
OESA-2024-2124
OPENSUSE-SU-2024_3190-1
OPENSUSE-SU-2024_3209-1
OPENSUSE-SU-2024_3483-1
SUSE-SU-2024:3190-1
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3209-1
SUSE-SU-2024:3383-1
SUSE-SU-2024:3483-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-7154-1
USN-7154-2
USN-7155-1
USN-7156-1
USN-7196-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu