bpf: Check the helper function is valid in get_helper_proto
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.50, 6.16.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- 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