CVE-2026-98075
bpf: reject BPF_PSEUDO_FUNC reference to the main program
Reported by linux · Published September 25, 2026
In the Linux kernel, the following vulnerability has been resolved: bpf: reject BPF_PSEUDO_FUNC reference to the main program fixups.c:jit_subprogs() rewrites BPF_PSEUDO_FUNC loads to contain real function addresses. This function is invoked from bpf_jit_subprogs() only when env->subprog_cnt > 1. Meaning that for any program like below: int main(void *ctx) { void *ptr = main; ... bpf_timer_set_callback(..., ptr); ... } The 'ptr' won't be ever converted to contain an address. In combination with e.g. bpf_timer_set_callback() this would lead to a function call at a bogus address. Instead of complicating the implementation, just assume that no useful program needs main to be a sync or async callback and reject BPF_PSEUDO_FUNC loads for the main subprogram.
EPSS 0.12% · 2.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-modules-extra | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel-livepatch-6.12.111-136.204 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
5 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 69c087ba6225b574afb6e505b72cb75242a3d844, 69c087ba6225b574afb6e505b72cb75242a3d844, 69c087ba6225b574afb6e505b72cb75242a3d844 |
| Linux | Linux | 5.13, 0, 5.15.222 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.111-136.204 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf | 0 |
| Linux | Linux | 5.15.222, 69c087ba6225b574afb6e505b72cb75242a3d844, 69c087ba6225b574afb6e505b72cb75242a3d844 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
…and 19 more
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (8 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98075
vulnetix vdb fixes CVE-2026-98075
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98075/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart