CVE-2026-98647: Linux kernel · bpf: Fix divide-by-zero in btf_struct_walk()
Source GCVE Database
Not known to be exploited · fixed in b8fa56722e9c43bcd59c51fe4c7edd5f4158a11b : patch Linux kernel soon.
Data as of 26 Oct 2026, 12:55 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in b8fa56722e9c43bcd59c51fe4c7edd5f4158a11b, b0b3dc66529676228cb938cbcad66920f735c223, 172756f02663ad45c889c001c1a8cb4082a01a05 +4
Exploitation evidence
Disclosed: evidence found.
CVE published 18 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix has been applied to reject zero-sized element types in btf_struct_walk(), preventing the divide-by-zero error. Users should update their Linux kernel to a version that includes this fix. Since no vendor advisory or patch links are provided, check the official Linux kernel release notes or security advisories for the fixed version and apply updates accordingly.
Description
A divide-by-zero vulnerability in the Linux kernel's bpf_struct_walk() function has been fixed. The issue occurs when accessing past a struct with a flexible array member whose element type has zero size, causing a divide-by-zero error at program load time. This flaw can trigger a kernel error and crash when loading certain BPF programs.
References
- nvd.nist.gov/vuln/detail/CVE-2026-98647 (opens in a new tab)
- git.kernel.org/stable/c/172756f02663ad45c889c001c1a8cb4082a01a05 (opens in a new tab)
- git.kernel.org/stable/c/1ea3820937f8022e044c41c6e95c84b02741b45f (opens in a new tab)
- git.kernel.org/stable/c/63af086cb5fa6f72fd924f86bea4c2194da663a2 (opens in a new tab)
- git.kernel.org/stable/c/8eb4cd72daad3a9ee63d2281bbdd16ce6d9406b1 (opens in a new tab)
- git.kernel.org/stable/c/934e9ba9f8d05656a48624710be67ca4dc8482e6 (opens in a new tab)
- git.kernel.org/stable/c/b0b3dc66529676228cb938cbcad66920f735c223 (opens in a new tab)
- git.kernel.org/stable/c/b8fa56722e9c43bcd59c51fe4c7edd5f4158a11b (opens in a new tab)