CVE-2025-39990

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxf470378c7562a2818b45ed11c98973f2b89eedd3 < 3d429cb1278e995e22995ef117fa96d223a67e93affected
LinuxLinuxf470378c7562a2818b45ed11c98973f2b89eedd3 < 6233715b4b714068d6c831d214a4e8792109875aaffected
LinuxLinuxf470378c7562a2818b45ed11c98973f2b89eedd3 < e4414b01c1cd9887bbde92f946c1ba94e40d6d64affected
LinuxLinux5.8affected
LinuxLinux0 < 5.8unaffected
LinuxLinux6.12.50 <= 6.12.*unaffected
LinuxLinux6.16.10 <= 6.16.*unaffected
LinuxLinux6.17 <= *unaffected

Weaknesses

References