Linux
bpf: Check the helper function is valid in get_helper_proto
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f470378c7562a2818b45ed11c98973f2b89eedd3, < dfbff47f120e4b0793ca0e0b8660361ccac25a74
- >= f470378c7562a2818b45ed11c98973f2b89eedd3, < 3d429cb1278e995e22995ef117fa96d223a67e93
- >= f470378c7562a2818b45ed11c98973f2b89eedd3, < 6233715b4b714068d6c831d214a4e8792109875a
- >= f470378c7562a2818b45ed11c98973f2b89eedd3, < e4414b01c1cd9887bbde92f946c1ba94e40d6d64
Fixed in dfbff47f120e4b0793ca0e0b8660361ccac25a74, 3d429cb1278e995e22995ef117fa96d223a67e93, 6233715b4b714068d6c831d214a4e8792109875a, e4414b01c1cd9887bbde92f946c1ba94e40d6d64
- 5.8
Fixed in 0, 6.6.160, 6.12.50, 6.16.10, 6.17
Mitigation
Upgrade Linux to dfbff47f120e4b0793ca0e0b8660361ccac25a74 or 3d429cb1278e995e22995ef117fa96d223a67e93 or 6233715b4b714068d6c831d214a4e8792109875a or e4414b01c1cd9887bbde92f946c1ba94e40d6d64 or later.
Upgrade Linux to 0 or 6.6.160 or 6.12.50 or 6.16.10 or 6.17 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.