CVE-2026-98722
mtd: block2mtd: Fix divide error when erase_size is zero
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < c8004de07739fa9a39e310e859384f1458d7d076; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 7ad5287e58d7aa1a848105f119e6c5b00446882f; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < fd73c079abc58e10183a4db4dc9dc5012db17476; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < bff83b723e93acc788bd690dc4bc1f6f4356c35b; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 826170a49ca1315af6b293a02200585b1e2186d9; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < a991c28066e7ba4da7450bb04478849f7ac6a14a; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 21d0f05989bf0d5cef57b467a7fa4feefbd7236a; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < b5965c4221165045e19736794ca5f48ae3d67142
- Anyone running Linux 3.15
Vulnerability facts
- Affected
- Linux >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < c8004de07739fa9a39e310e859384f1458d7d076; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 7ad5287e58d7aa1a848105f119e6c5b00446882f; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < fd73c079abc58e10183a4db4dc9dc5012db17476; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < bff83b723e93acc788bd690dc4bc1f6f4356c35b; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 826170a49ca1315af6b293a02200585b1e2186d9; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < a991c28066e7ba4da7450bb04478849f7ac6a14a; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 21d0f05989bf0d5cef57b467a7fa4feefbd7236a; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < b5965c4221165045e19736794ca5f48ae3d67142; Linux 3.15
- Fixed in
- Linux 7ad5287e58d7aa1a848105f119e6c5b00446882f, Linux 826170a49ca1315af6b293a02200585b1e2186d9, Linux 21d0f05989bf0d5cef57b467a7fa4feefbd7236a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mtd: block2mtd: Fix divide error when erase_size is zero The erase size is parsed from the "block2mtd" module parameter and can be set to zero. add_device() then evaluates if (size % erase_size) with a zero divisor, which triggers a divide error: divide error: 0000 [#1] PREEMPT SMP PTI RIP: 0010:add_device drivers/mtd/devices/block2mtd.c:296 [inline] RIP: 0010:block2mtd_setup2+0x592/0xda0 drivers/mtd/devices/block2mtd.c:459 Call Trace: block2mtd_setup+0x27/0xe0 drivers/mtd/devices/block2mtd.c:476 param_attr_store+0x214/0x310 kernel/params.c:589 module_attr_store+0x65/0x90 kernel/params.c:904 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 ... Reject a zero erase size before performing the modulo operation so the existing "erasesize must be a divisor of device size" error path reports the invalid argument and frees the device.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < c8004de07739fa9a39e310e859384f1458d7d076; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 7ad5287e58d7aa1a848105f119e6c5b00446882f; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < fd73c079abc58e10183a4db4dc9dc5012db17476; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < bff83b723e93acc788bd690dc4bc1f6f4356c35b; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 826170a49ca1315af6b293a02200585b1e2186d9; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < a991c28066e7ba4da7450bb04478849f7ac6a14a; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 21d0f05989bf0d5cef57b467a7fa4feefbd7236a; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < b5965c4221165045e19736794ca5f48ae3d67142 | — | cvelist |
| Linux | 3.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98722. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98722.md Affected: Linux >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < c8004de07739fa9a39e310e859384f1458d7d076; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 7ad5287e58d7aa1a848105f119e6c5b00446882f; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < fd73c079abc58e10183a4db4dc9dc5012db17476; >= ea6d833a3fddcd1d60414d4… Fixed in: Linux 7ad5287e58d7aa1a848105f119e6c5b00446882f, Linux 826170a49ca1315af6b293a02200585b1e2186d9, Linux 21d0f05989bf0d5cef57b467a7fa4feefbd7236a Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/c8004de07739fa9a39e310e859384f1458d7d076
- https://git.kernel.org/stable/c/7ad5287e58d7aa1a848105f119e6c5b00446882f
- https://git.kernel.org/stable/c/fd73c079abc58e10183a4db4dc9dc5012db17476
- https://git.kernel.org/stable/c/bff83b723e93acc788bd690dc4bc1f6f4356c35b
- https://git.kernel.org/stable/c/826170a49ca1315af6b293a02200585b1e2186d9
- https://git.kernel.org/stable/c/a991c28066e7ba4da7450bb04478849f7ac6a14a
- https://git.kernel.org/stable/c/21d0f05989bf0d5cef57b467a7fa4feefbd7236a
- https://git.kernel.org/stable/c/b5965c4221165045e19736794ca5f48ae3d67142
FAQ
Is CVE-2026-98722 being exploited?
There is no confirmed exploitation: CVE-2026-98722 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98722?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98722?
Linux >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < c8004de07739fa9a39e310e859384f1458d7d076; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 7ad5287e58d7aa1a848105f119e6c5b00446882f; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < fd73c079abc58e10183a4db4dc9dc5012db17476; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < bff83b723e93acc788bd690dc4bc1f6f4356c35b; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 826170a49ca1315af6b293a02200585b1e2186d9; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < a991c28066e7ba4da7450bb04478849f7ac6a14a; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < 21d0f05989bf0d5cef57b467a7fa4feefbd7236a; >= ea6d833a3fddcd1d60414d48f34c7f4fbe88608f, < b5965c4221165045e19736794ca5f48ae3d67142; Linux 3.15.
Is there a fix for CVE-2026-98722?
Yes. Fixed in Linux 7ad5287e58d7aa1a848105f119e6c5b00446882f, Linux 826170a49ca1315af6b293a02200585b1e2186d9, Linux 21d0f05989bf0d5cef57b467a7fa4feefbd7236a. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-98722?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.