Skip to main content
CVE Radar

CVE-2026-98722

CVE-2026-98722 — mtd: block2mtd: Fix divide error when erase_size is zero

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.

Published Updated Sources: NVD, Linux (CNA), GitHub, SOCRadar CTI

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Unreported

no source claims exploitation

EPSS

0%

ahead of 0% of scored CVEs

Affects

Linux

10 products listed

CVSS base

Unscored

no source published a base score

Remediation

The vendor's own words where we have them.

Upgrade Linux to a fixed release (0 to < 3.15). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.

First 24 hours

Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.

  • Identify exposed assets running affected vendor/product/version combinations.
  • Prioritize based on EPSS, PoC availability, and external exposure.
  • Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.

Affected scope

Vendor, product and version as the advisories word them.

Affected vendors, products and versions
VendorProductVersionsStatus
LinuxLinuxea6d833a3fddcd1d60414d48f34c7f4fbe88608f to < 826170a49ca1315af6b293a02200585b1e2186d9Vulnerable
LinuxLinuxea6d833a3fddcd1d60414d48f34c7f4fbe88608fVulnerable
LinuxLinuxea6d833a3fddcd1d60414d48f34c7f4fbe88608f to < 21d0f05989bf0d5cef57b467a7fa4feefbd7236aVulnerable
LinuxLinuxea6d833a3fddcd1d60414d48f34c7f4fbe88608fVulnerable
LinuxLinux3.15Vulnerable
LinuxLinux0 to < 3.15Patched
LinuxLinux6.12.113 to <= 6.12.*Patched
LinuxLinux6.18.56 to <= 6.18.*Patched
LinuxLinux7.2.10 to <= 7.2.*Patched
LinuxLinux7.3-rc6Patched

Detection

Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.

  • Search application, proxy, and WAF logs for requests touching /mtd/devices/block2mtd.c:296, /0xda0, /mtd/devices/block2mtd.c:459, /0xe0, /mtd/devices/block2mtd.c:476, /0x310, /params.c:589, /0x90, /params.c:904, /0x540, /kernfs/file.c:345.

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Initial · CVE published

    Oct 18, 2026 · NVD

  3. CVE published by MITRE.

    Oct 18, 2026 · SOCRadar CTI

References

4 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1

What should defenders know first?

CVE-2026-98722 is mtd: block2mtd: Fix divide error when erase_size is zero, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-98722. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-98722. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.