Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-40123

7.8 · HIGH
Published Nov 12, 2025 EPSS 0.15% (5th pctl)

Overview

CVE-2025-40123 is a high-severity vulnerability. It was published on November 12, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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 g

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently Asked Questions

What is CVE-2025-40123?

CVE-2025-40123 is a high-severity vulnerability. It was published on November 12, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-40123?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-40123?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40123?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-40123 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.