CVE-2026-98075
High 7.1No known exploitationFix availablebpf: reject BPF_PSEUDO_FUNC reference to the main program
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 2% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Microsoft | azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Not documented | 6.6.158.1-1 | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| linux | linux_kernel | from 5.13 before 5.15.222 | 5.15.222 | NIST NVD |
| linux | linux_kernel | from 5.16 before 6.1.189 | 6.1.189 | NIST NVD |
| linux | linux_kernel | from 6.13 before 6.18.53 | 6.18.53 | NIST NVD |
| linux | linux_kernel | from 6.19 before 7.2.7 | 7.2.7 | NIST NVD |
| linux | linux_kernel | from 6.2 before 6.6.158 | 6.6.158 | NIST NVD |
| linux | linux_kernel | from 6.7 before 6.12.111 | 6.12.111 | NIST NVD |
| linux | linux_kernel | 7.3 | Not documented | NIST NVD |
Timeline
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- https://git.kernel.org/stable/c/118212417ba0120d99f84154799f8880f07411f4 (opens in a new tab)patch
- https://git.kernel.org/stable/c/314c8caa9cb64ad60c5b969fe9a3e2dcdccf156f (opens in a new tab)patch
- https://git.kernel.org/stable/c/374b2c5561db80fcdd7cdce44af37a49416f61c7 (opens in a new tab)patch
- https://git.kernel.org/stable/c/8cb75f7ada25b1cf25f2f74dec3ba649b9064a09 (opens in a new tab)patch
- https://git.kernel.org/stable/c/92f0bd0e2b632c6565ac2214a4d7d2ed37e5b9f6 (opens in a new tab)patch
- https://git.kernel.org/stable/c/c74750dca96f40a1adb9d334f5a3152f44b270c3 (opens in a new tab)patch
- https://git.kernel.org/stable/c/d6c39774ae093c9f7009cc4ae918f18fc1af7ae7 (opens in a new tab)patch
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory