# CVE-2025-39990: bpf: Check the helper function is valid in get_helper_proto

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-10-15T07:56:07.295Z
- Modified: 2026-10-21T13:18:18.020Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

(As written by CVE List.)

## Affected

- Linux Linux: from f470378c7562a2818b45ed11c98973f2b89eedd3 before dfbff47f120e4b0793ca0e0b8660361ccac25a74; from f470378c7562a2818b45ed11c98973f2b89eedd3 before 3d429cb1278e995e22995ef117fa96d223a67e93; from f470378c7562a2818b45ed11c98973f2b89eedd3 before 6233715b4b714068d6c831d214a4e8792109875a; from f470378c7562a2818b45ed11c98973f2b89eedd3 before e4414b01c1cd9887bbde92f946c1ba94e40d6d64; 5.8 (not affected: before 5.8; from 6.6.160 up to 6.6.*; from 6.12.50 up to 6.12.*; from 6.16.10 up to 6.16.*; from 6.17 up to *)

## References

- <https://git.kernel.org/stable/c/dfbff47f120e4b0793ca0e0b8660361ccac25a74>
- <https://git.kernel.org/stable/c/3d429cb1278e995e22995ef117fa96d223a67e93>
- <https://git.kernel.org/stable/c/6233715b4b714068d6c831d214a4e8792109875a>
- <https://git.kernel.org/stable/c/e4414b01c1cd9887bbde92f946c1ba94e40d6d64>

## Sources

- CVE List: [CVE-2025-39990](https://www.cve.org/CVERecord?id=CVE-2025-39990), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2025-39990](https://nvd.nist.gov/vuln/detail/CVE-2025-39990), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2025-39990 · Whole record: https://cve.day/CVE-2025-39990.json · Rebuilt by cve.day 2026-11-25T22:59:06.406Z
