CVE-2025-40123
Fix Status by Distribution
Fixed in 9 of 27 tracked Linux releases
Fix evidence last checked: 2026-11-26 19:14 UTC
Get alerted when your releases are fixedFixed in:
Debian 11 (Bullseye)
DLA-4379-1 · Published: 2025-11-25
Debian 12 (Bookworm)
Debian Security Tracker · Observed 2026-08-13
Debian 13 (Trixie)
Debian Security Tracker · Observed 2026-11-21
SUSE Linux Enterprise Server 12 SP5
SUSE-SU-2026:0316 · Published: 2026-01-28
SUSE Linux Enterprise Server 15 SP7
SUSE-SU-2026:0315 · Published: 2026-01-28
SUSE-SU-2026:0281 · Published: 2026-01-23
SUSE-SU-2026:0278 · Published: 2026-01-23
SUSE Linux Enterprise Server 16
SUSE-SU-2026:20228 · Published: 2026-02-02
SUSE-SU-2026:20220 · Published: 2026-02-02
Ubuntu 22.04 LTS (Jammy Jellyfish)
USN-9029-1 · Published: 2026-11-10
USN-8961-1 · Published: 2026-11-03
USN-8963-1 · Published: 2026-11-03
USN-8962-1 · Published: 2026-11-03
USN-8126-1 · Published: 2026-03-25
USN-8095-4 · Published: 2026-03-23
USN-8095-3 · Published: 2026-03-17
USN-8100-1 · Published: 2026-03-16
USN-8095-1 · Published: 2026-03-16
Ubuntu 24.04 LTS (Noble Numbat)
USN-8261-1 · Published: 2026-05-07
USN-8165-1 · Published: 2026-04-09
USN-8095-5 · Published: 2026-04-01
USN-8125-1 · Published: 2026-03-25
USN-8095-3 · Published: 2026-03-17
USN-8100-1 · Published: 2026-03-16
USN-8095-2 · Published: 2026-03-16
USN-8095-1 · Published: 2026-03-16
USN-8048-1 · Published: 2026-02-17
Ubuntu 25.10 (Questing Quokka)
USN-8029-3 · Published: 2026-02-24
USN-8029-2 · Published: 2026-02-17
USN-8030-1 · Published: 2026-02-12
USN-8029-1 · Published: 2026-02-12
No fix evidence found:
In the Linux kernel, the following vulnerability has been resolved: bpf: Enforce expected_attach_type for tailcall compatibility Yinhao et al. recently reported: Our fuzzer tool discovered an uninitialized pointer issue in the bpf_prog_test_run_xdp() function within the Linux kernel's BPF subsystem. This leads to a NULL pointer dereference when a BPF program attempts to deference the txq member of struct xdp_buff object. The test initializes two programs of BPF_PROG_TYPE_XDP: progA acts as the entry point for bpf_prog_test_run_xdp() and its expected_attach_type can neither be of be BPF_XDP_DEVMAP nor BPF_XDP_CPUMAP. progA calls into a slot of a tailcall map it owns. progB's expected_attach_type must be BPF_XDP_DEVMAP to pass xdp_is_valid_access() validation. The program returns struct xdp_md's egress_ifindex, and the latter is only allowed to be accessed under mentioned expected_attach_type. progB is then inserted into the tailcall which progA calls. The underlying issue goes beyond XDP though. Another example are programs of type BPF_PROG_TYPE_CGROUP_SOCK_ADDR. sock_addr_is_valid_access() as well as sock_addr_func_proto() have different logic depending on the programs' expected_attach_type. Similarly, a program attached to BPF_CGROUP_INET4_GETPEERNAME should not be allowed doing a tailcall into a program which calls bpf_bind() out of BPF which is only enabled for BPF_CGROUP_INET4_CONNECT. In short, specifying expected_attach_type allows to open up additional functionality or restrictions beyond what the basic bpf_prog_type enables. The use of tailcalls must not violate these constraints. Fix it by enforcing expected_attach_type in __bpf_prog_map_compatible(). Note that we only enforce this for tailcall maps, but not for BPF devmaps or cpumaps: There, the programs are invoked through dev_map_bpf_prog_run*() and cpu_map_bpf_prog_run*() which set up a new environment / context and therefore these situations are not prone to this issue.
Exploit evidence
Last checked: 2026-10-19 23:25 UTC
No exploitation evidence · CISA Coordinator (Assessed 2026-10-15 21:57 UTC)