CVE-2026-98722: Linux kernel · mtd: block2mtd: Fix divide error when erase_size is zero
Source GCVE Database
Not known to be exploited · fixed in bff83b723e93acc788bd690dc4bc1f6f4356c35b : update Linux kernel when convenient.
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 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in bff83b723e93acc788bd690dc4bc1f6f4356c35b, b5965c4221165045e19736794ca5f48ae3d67142, a991c28066e7ba4da7450bb04478849f7ac6a14a +2
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– |
AI-suggested
Apply the official fix that rejects zero erase_size values before performing the modulo operation. This prevents the divide error and ensures proper error reporting and device cleanup. Check the vendor advisory or Linux kernel updates for the patch and update affected systems accordingly.
Description
A vulnerability in the Linux kernel's block2mtd module allowed a divide error when the erase_size parameter was set to zero. This caused a divide-by-zero error during a modulo operation, leading to a kernel crash. The issue is fixed by rejecting zero erase_size values before the modulo operation, ensuring proper error handling and device cleanup.
References
- nvd.nist.gov/vuln/detail/CVE-2026-98722 (opens in a new tab)
- git.kernel.org/stable/c/21d0f05989bf0d5cef57b467a7fa4feefbd7236a (opens in a new tab)
- git.kernel.org/stable/c/826170a49ca1315af6b293a02200585b1e2186d9 (opens in a new tab)
- git.kernel.org/stable/c/a991c28066e7ba4da7450bb04478849f7ac6a14a (opens in a new tab)
- git.kernel.org/stable/c/b5965c4221165045e19736794ca5f48ae3d67142 (opens in a new tab)