Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2025-39990

bpf: Check the helper function is valid in get_helper_proto

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f470378c7562a2818b45ed11c98973f2b89eedd3 to < dfbff47f120e4b0793ca0e0b8660361ccac25a74affected
  • f470378c7562a2818b45ed11c98973f2b89eedd3 to < 3d429cb1278e995e22995ef117fa96d223a67e93affected
  • f470378c7562a2818b45ed11c98973f2b89eedd3 to < 6233715b4b714068d6c831d214a4e8792109875aaffected
  • f470378c7562a2818b45ed11c98973f2b89eedd3 to < e4414b01c1cd9887bbde92f946c1ba94e40d6d64affected

Linux Linux

Default version status: affected

  • 5.8affected
  • 0 to < 5.8unaffected
  • 6.6.160 to ≤ 6.6.*unaffected
  • 6.12.50 to ≤ 6.12.*unaffected
  • 6.16.10 to ≤ 6.16.*unaffected
  • 6.17 to ≤ *unaffected

References