Skip to main content
← All vulnerabilities
CVE-2025-39990

bpf: Check the helper function is valid in get_helper_proto

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.160, 6.12.50, 6.16.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From f470378c7562a2818b45ed11c98973f2b89eedd3 · fixed in dfbff47f120e4b0793ca0e0b8660361ccac25a74; From f470378c7562a2818b45ed11c98973f2b89eedd3 · fixed in 3d429cb1278e995e22995ef117fa96d223a67e93; From f470378c7562a2818b45ed11c98973f2b89eedd3 · fixed in 6233715b4b714068d6c831d214a4e8792109875a; From f470378c7562a2818b45ed11c98973f2b89eedd3 · fixed in e4414b01c1cd9887bbde92f946c1ba94e40d6d64

  • Linux Linux

    5.8

  • KernelLinux

    From 5.8.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.50; From 6.13.0 · fixed in 6.16.10

References 4

git.kernel.org