PT-2025-46598 · Linux+3 · Linux Kernel+3

Published

2025-09-26

·

Updated

2026-05-07

·

CVE-2025-40123

CVSS v2.0

5.2

Medium

VectorAV:A/AC:M/Au:S/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The Linux kernel’s BPF subsystem contains an issue where the expected attach type is not properly enforced for tailcall compatibility. A fuzzer tool discovered an uninitialized pointer issue in the bpf prog test run xdp() function, leading to a potential NULL pointer dereference when a BPF program attempts to access the txq member of a struct xdp buff object. This occurs when a BPF program of type BPF PROG TYPE XDP calls into a tailcall map it owns, and the expected attach type is not correctly validated. The issue extends beyond XDP programs to include types like BPF PROG TYPE CGROUP SOCK ADDR. The expected attach type allows for additional functionality or restrictions beyond the basic bpf prog type, and tailcalls must not violate these constraints. The issue is addressed by enforcing expected attach type in the bpf prog map compatible() function.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Weakness Enumeration

Related Identifiers

BDU:2025-15115
CVE-2025-40123
DLA-4379-1
OESA-2025-2765
OESA-2025-2766
OESA-2025-2767
OPENSUSE-SU-2026:20145-1
SUSE-SU-2026:0278-1
SUSE-SU-2026:0281-1
SUSE-SU-2026:0315-1
SUSE-SU-2026:0316-1
SUSE-SU-2026:20207-1
SUSE-SU-2026:20220-1
SUSE-SU-2026:20228-1
SUSE-SU-2026:20477-1
SUSE-SU-2026:20498-1
SUSE-SU-2026:20845-1
SUSE-SU-2026:20876-1
USN-8029-1
USN-8029-2
USN-8029-3
USN-8030-1
USN-8048-1
USN-8095-1
USN-8095-2
USN-8095-3
USN-8095-4
USN-8095-5
USN-8100-1
USN-8125-1
USN-8126-1
USN-8165-1
USN-8261-1

Affected Products

Debian
Linuxmint
Linux Kernel
Ubuntu