CVE-2025-39990
JSON

7.8high

bpf: Check the helper function is valid in get_helper_proto

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: bpf: Verificar que la función auxiliar sea válida en get_helper_proto El robot de prueba del kernel informó un error del verificador [1] donde el puntero de la función auxiliar podría ser NULL debido a una opción de configuración deshabilitada. Como sugirió Alexei, podríamos verificar eso directamente en get_helper_proto. Marcando la función auxiliar tail_call con BPF_PTR_POISON, porque no se utiliza por diseño. [1] https://lore.kernel.org/oe-lkp/202507160818.68358831-lkp@intel.com

References

Sources

SourceRecordLicence
CVE ListCVE-2025-39990 changed 2026-10-21CVE Terms of Use
NVDCVE-2025-39990 changed 2026-10-21Public domain