CVE-2026-98647: bpf: Fix divide-by-zero in btf_struct_walk()
Noroxi assessment
Priority: Monitor (action score 0/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.17% (FIRST EPSS).
- Fixed version: Linux Linux 172756f02663ad45c889c001c1a8cb4082a01a05, 1ea3820937f8022e044c41c6e95c84b02741b45f, 63af086cb5fa6f72fd924f86bea4c2194da663a2; azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 6.6.159.1-1.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 172756f02663ad45c889c001c1a8cb4082a01a05, 1ea3820937f8022e044c41c6e95c84b02741b45f, 63af086cb5fa6f72fd924f86bea4c2194da663a2; azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 6.6.159.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix divide-by-zero in btf_struct_walk() When an access goes past the struct and the last member is a flexible array, btf_struct_walk() folds the offset back into a single element with (off - moff) % t->size, but never checks that the element type has a size. BTF takes an empty struct, so this in program BTF /* event could be empty */ struct event { #ifdef HAVE_TIMESTAMP __u64 ts; #endif }; struct batch { int nr; struct event events[]; }; divides by zero at prog load time. Getting there needs a PTR_TO_BTF_ID that is not MEM_ALLOC, e.g. a plain read of a local kptr stashed in a map from a sleepable program. Oops: divide error: 0000 [#1] SMP KASAN PTI RIP: 0010:btf_struct_walk+0x53f/0x1570 Call Trace: <TASK> btf_struct_access+0x42a/0xcd0 check_ptr_to_btf_access+0x4dc/0x1160 check_mem_access+0x3a45/0x8740 check_load_mem+0x36a/0xd10 do_check_common+0x3ef0/0xb210 bpf_check+0x6d3b/0x8580 bpf_prog_load+0xf7c/0x2720 __sys_bpf+0xa83/0x3690 __x64_sys_bpf+0xc7/0x150 x64_sys_call+0x1f3f/0x27e0 do_syscall_64+0xe5/0x610 entry_SYSCALL_64_after_hwframe+0x76/0x7e </TASK> Reject a zero-sized element type. The fixed array path in the same function already bails out on the same thing: btf_struct_walk() ... /* skip empty array */ if (moff == mtrue_end) continue; msize /= total_nelems;
- Published
- Oct 18, 2026
- Updated
- Oct 19, 2026
- EPSS
- 0.1% · 6th percentile
- CWE
- —
Report tools
Action score
0
Monitor
Low priority for now.
- CVSS
- 0 / 40 · —
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 5.8affected
- 9c5f8a1008a121e4c6b24af211034e24b0b63081 and later · before 1ea3820937f8022e044c41c6e95c84b02741b45faffected · git
- 9c5f8a1008a121e4c6b24af211034e24b0b63081 and later · before 172756f02663ad45c889c001c1a8cb4082a01a05affected · git
- 9c5f8a1008a121e4c6b24af211034e24b0b63081 and later · before 934e9ba9f8d05656a48624710be67ca4dc8482e6affected · git
- 9c5f8a1008a121e4c6b24af211034e24b0b63081 and later · before 63af086cb5fa6f72fd924f86bea4c2194da663a2affected · git
- 9c5f8a1008a121e4c6b24af211034e24b0b63081 and later · before 8eb4cd72daad3a9ee63d2281bbdd16ce6d9406b1affected · git
- 9c5f8a1008a121e4c6b24af211034e24b0b63081 and later · before b8fa56722e9c43bcd59c51fe4c7edd5f4158a11baffected · git
- 9c5f8a1008a121e4c6b24af211034e24b0b63081 and later · before b0b3dc66529676228cb938cbcad66920f735c223affected · git
- before 5.8not affected · semver
- 5.15.222 and later · up to and including 5.15.*not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.190-1 | 6.1.190-1 |
| Debian:12 | linux-6.12 | before 6.12.113-1~deb12u1 | 6.12.113-1~deb12u1 |
| Debian:13 | linux | before 6.12.113-1 | 6.12.113-1 |
| Debian:14 | linux | before 7.2.9-1 | 7.2.9-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
Published before and after this one in the same product
- ← EarlierCVE-2026-98645Oct 18, 2026 · HID: winwing: fix use-after-free in force feedback teardown0Monitor
- ← EarlierCVE-2026-98646Oct 18, 2026 · tcp: Skip cond_resched() in inet_csk_listen_stop() under BPF context0Monitor
- Later →CVE-2026-98648Oct 18, 2026 · s390/uv: Prevent potential out-of-bounds read0Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 172756f02663ad45c889c001c1a8cb4082a01a05 | Vendor (CNA) |
| Linux Linux | 1ea3820937f8022e044c41c6e95c84b02741b45f | Vendor (CNA) |
| Linux Linux | 63af086cb5fa6f72fd924f86bea4c2194da663a2 | Vendor (CNA) |
| Linux Linux | 8eb4cd72daad3a9ee63d2281bbdd16ce6d9406b1 | Vendor (CNA) |
| Linux Linux | 934e9ba9f8d05656a48624710be67ca4dc8482e6 | Vendor (CNA) |
| Linux Linux | b0b3dc66529676228cb938cbcad66920f735c223 | Vendor (CNA) |
| Linux Linux | b8fa56722e9c43bcd59c51fe4c7edd5f4158a11b | Vendor (CNA) |
| azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | 6.6.159.1-1 · Release Notes | Microsoft (MSRC) |
| debian:linux | 6.1.190-1 · Debian:12 | Package registry (OSV) |
| debian:linux-6.12 | 6.12.113-1~deb12u1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- Fix recordedsame day
- TodayNov 7, 2026+20 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-26-1351 · Oct 19, 2026(Linux Kernel Güvenlik Bildirimi)
Technical details
No CVSS vector for this record, so attack conditions can't be derived.
Weakness class (CWE)
—
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Exploit maturity— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- git.kernel.org/stable/c/1ea3820937f8022e044c41c6e95c84b02741b45f
- git.kernel.org/stable/c/63af086cb5fa6f72fd924f86bea4c2194da663a2
- git.kernel.org/stable/c/8eb4cd72daad3a9ee63d2281bbdd16ce6d9406b1
- git.kernel.org/stable/c/934e9ba9f8d05656a48624710be67ca4dc8482e6
- git.kernel.org/stable/c/b0b3dc66529676228cb938cbcad66920f735c223
- git.kernel.org/stable/c/b8fa56722e9c43bcd59c51fe4c7edd5f4158a11b
Vendor advisories and official records. Exploit/PoC links are deliberately left out.