← CVE Intelligence

CVE-2025-39990

bpf: Check the helper function is valid in get_helper_proto PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected f470378c7562a2818b45ed11c98973f2b89eedd3 before dfbff47f120e4b0793ca0e0b8660361ccac25a74; affected f470378c7562a2818b45ed11c98973f2b89eedd3 before 3d429cb1278e995e22995ef117fa96d223a67e93; affected f470378c7562a2818b45ed11c98973f2b89eedd3 before 6233715b4b714068d6c831d214a4e8792109875a; affected f470378c7562a2818b45ed11c98973f2b89eedd3 before e4414b01c1cd9887bbde92f946c1ba94e40d6d64
Linux / Linuxaffected 5.8; unaffected 0 before 5.8; unaffected 6.6.160 through 6.6.*; unaffected 6.12.50 through 6.12.*; unaffected 6.16.10 through 6.16.*; unaffected 6.17 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.