PT-2024-3795 · Linux+3 · Linux Kernel+3

Maciej Fijalkowski

·

Published

2024-01-24

·

Updated

2025-09-29

·

CVE-2024-26611

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.0
Description The issue arises from a null pointer dereference in the Linux kernel when using multi-buffer BPF helpers for ZC XDP. This occurs when a packet is shrunk via the bpf xdp adjust tail() function and the memory type is set to MEM TYPE XSK BUFF POOL. The null pointer dereference happens because the xdp buff argument passed to the xdp return() call is NULL, which is supposed to be consumed by the xsk buff free() call. To address this properly, a node representing the frag being removed needs to be pulled out of the xskb list. Introducing appropriate xsk helpers for this node operation and using them within bpf xdp adjust tail() resolves the issue.
Recommendations To resolve the issue for Linux kernel versions prior to 6.6.0, update the kernel to version 6.6.0 or later. If updating is not feasible, consider temporarily disabling the use of multi-buffer BPF helpers for ZC XDP until a patch is available. Additionally, restrict access to the vulnerable bpf xdp adjust tail() function to minimize the risk of exploitation.

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_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2024-04148
CVE-2024-26611
INFSA-2024_9315
RHSA-2024:9315
RHSA-2024_9315
SUSE-SU-2024:2135-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20249-1

Affected Products

Linux Kernel
Red Hat
Red Os
Suse