CVE-2025-39990: bpf: Check the helper function is valid in get_helper_proto
In the Linux kernel, the following vulnerability has been resolved:
bpf: Check the helper function is valid in get_helper_proto
kernel test robot reported verifier bug [1] where the helper func
pointer could be NULL due to disabled config option.
As Alexei suggested we could check on that in get_helper_proto
directly. Marking tail_call helper func with BPF_PTR_POISON,
because it is unused by design.
[1] https://lore.kernel.org/oe-lkp/202507160818.68358831-lkp@intel.com
Security readout for executives and security teams
Plain-English summary
A flaw in the Linux kernel’s BPF verifier can leave a helper-function pointer unset when a related configuration option is disabled. A local, low-privileged attacker may be able to trigger serious confidentiality, integrity, and availability impacts. The supplied record rates it CVSS 7.8, but provides no evidence of remote reachability or active exploitation.
Executive priority
Prioritize remediation as high for shared Linux hosts, build systems, and platforms running untrusted local workloads. Schedule prompt vendor-supported kernel updates. Internet exposure alone does not establish risk because the stated attack vector is local, but successful exploitation could have severe system-wide consequences.
Technical view
The BPF verifier’s get_helper_proto path could return a NULL helper-function pointer under certain disabled kernel configurations. The fix validates the helper in get_helper_proto and marks the intentionally unused tail_call helper with BPF_PTR_POISON. The CVSS vector indicates local access, low complexity, low privileges, no user interaction, unchanged scope, and high impact across confidentiality, integrity, and availability.
Likely exposure
Exposure is limited to Linux systems running affected kernel builds where the relevant configuration option is disabled and an attacker has local low-privileged access. The bundle lists 5.8, 6.12.50, 6.16.10, and 6.17 as affected, but its version and commit-status data are ambiguous. Confirm applicability through distribution or kernel-vendor guidance.
Exploitation context
The supplied record does not list this CVE in CISA KEV and provides no evidence of exploitation in the wild or a public exploit. The risk model is local privilege-based rather than remote. Treat exploitation status as unconfirmed, while prioritizing systems that permit untrusted local users or workloads.
Researcher notes
The root condition is a potentially NULL BPF helper-function pointer caused by a disabled configuration option. The supplied material does not identify that option, a CWE, crash details, exploit primitives, or confirmed vulnerable distribution packages. The repeated commit and version entries make exact range interpretation uncertain; use the referenced stable commits and vendor advisories for authoritative backport assessment.
Mitigation direction
Apply a vendor-supported kernel update containing the applicable upstream stable fix.
Check Linux distribution advisories for corrected package versions and configuration-specific guidance.
Prioritize multi-user systems and hosts running untrusted local workloads.
Use vendor guidance for temporary mitigations; none are specified in the supplied sources.
Validation and detection
Inventory running kernel versions across Linux hosts.
Check whether deployed kernels contain an applicable referenced stable commit.
Confirm affected status with each Linux distribution or kernel vendor.
Verify the updated kernel is running after remediation and reboot.
Document systems deferred because version applicability remains uncertain.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-39990 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
4Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.