SB20261022234 - Division by zero in Linux kernel bpf
Published: October 22, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Division by zero (CVE-ID: CVE-2026-98647)
CWE-ID: CWE-369 - Divide By Zero
CVSSv4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local privileged user to cause a denial of service by triggering a kernel divide-by-zero exception.
The vulnerability exists due to an unchecked zero divisor in btf_struct_walk() when validating an access beyond a structure ending in a flexible array whose element type has zero size. A local privileged user can load a specially crafted BPF program that accesses the structure through a PTR_TO_BTF_ID pointer not marked MEM_ALLOC to trigger a modulo-by-zero operation during verification and cause a denial of service.
Remediation
Install update from vendor's website.
References
- https://git.kernel.org/stable/c/172756f02663ad45c889c001c1a8cb4082a01a05
- https://git.kernel.org/stable/c/1ea3820937f8022e044c41c6e95c84b02741b45f
- https://git.kernel.org/stable/c/63af086cb5fa6f72fd924f86bea4c2194da663a2
- https://git.kernel.org/stable/c/8eb4cd72daad3a9ee63d2281bbdd16ce6d9406b1
- https://git.kernel.org/stable/c/934e9ba9f8d05656a48624710be67ca4dc8482e6
- https://git.kernel.org/stable/c/b0b3dc66529676228cb938cbcad66920f735c223
- https://git.kernel.org/stable/c/b8fa56722e9c43bcd59c51fe4c7edd5f4158a11b