bpf: Check the helper function is valid in get_helper_proto
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3d429cb1278e995e22995ef117fa96d223a67e93, Kernel 6233715b4b714068d6c831d214a4e8792109875a, Kernel dfbff47f120e4b0793ca0e0b8660361ccac25a74 and 1 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.8, >=f470378c7562a2818b45ed11c98973f2b89eedd3 <3d429cb1278e995e22995ef117fa96d223a67e93, >=f470378c7562a2818b45ed11c98973f2b89eedd3 <6233715b4b714068d6c831d214a4e8792109875a, >=f470378c7562a2818b45ed11c98973f2b89eedd3 <dfbff47f120e4b0793ca0e0b8660361ccac25a74, >=f470378c7562a2818b45ed11c98973f2b89eedd3 <e4414b01c1cd9887bbde92f946c1ba94e40d6d64 | 3d429cb1278e995e22995ef117fa96d223a67e93, 6233715b4b714068d6c831d214a4e8792109875a, dfbff47f120e4b0793ca0e0b8660361ccac25a74, e4414b01c1cd9887bbde92f946c1ba94e40d6d64 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket