CVE-2025-39990

bpf: Check the helper function is valid in get_helper_proto

At a glance

Severity
HIGH 7.8
EPSS
EPSS 0.19 % · percentile 9 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected f470378c7562a2818b45ed11c98973f2b89eedd3 < dfbff47f120e4b0793ca0e0b8660361ccac25a74 ; affected f470378c7562a2818b45ed11c98973f2b89eedd3 < 3d429cb1278e995e22995ef117fa96d223a67e93 ; affected f470378c7562a2818b45ed11c98973f2b89eedd3 < 6233715b4b714068d6c831d214a4e8792109875a ; affected f470378c7562a2818b45ed11c98973f2b89eedd3 < e4414b01c1cd9887bbde92f946c1ba94e40d6d64
Linux · Linuxaffected 5.8 ; unaffected 0 < 5.8 ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.50 ≤ 6.12.* ; unaffected 6.16.10 ≤ 6.16.* ; unaffected 6.17 ≤ *

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD