PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-98722 Linux CVE debrief

A divide error vulnerability exists in the Linux kernel's block2mtd module when the erase size is set to zero. This can cause a divide error when evaluating the device size modulo the erase size. The vulnerability can lead to system crashes and potential denial of service (DoS) attacks. Linux kernel developers and administrators who use the block2mtd module should verify that the erase size is set to a valid value and monitor system logs for divide error messages. The erase size is parsed from the 'block2mtd' module parameter and can be set to zero, triggering a divide error: divide error: 0000 [#1] PREEMPT SMP PTI RIP: 0010:add_device drivers/mtd/devices/block2mtd.c:296 [inline]

Vendor
Linux
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-18
Original CVE updated
2026-10-18
Advisory published
2026-10-18
Advisory updated
2026-10-18

Who should care

Linux kernel developers and administrators who use the block2mtd module should be aware of this vulnerability and take steps to mitigate it. They should verify that the erase size is set to a valid value and monitor system logs for divide error messages. This vulnerability can cause system crashes and potential denial of service (DoS) attacks, and it is essential to review and update Linux kernel configurations to ensure the block2mtd module is properly

Why it matters

This vulnerability can cause system crashes and potential denial of service (DoS) attacks when the erase size is set to zero. Linux kernel developers and administrators who use the block2mtd module should verify that the erase size is set to a valid value and monitor system logs for divide error messages.

  • System crashes due to divide errors
  • Potential denial of service (DoS) attacks
  • Need for verification of erase size values

Technical summary

The Linux kernel's block2mtd module is vulnerable to a divide error when the erase size is set to zero. This can cause a divide error when evaluating the device size modulo the erase size. The vulnerability can lead to system crashes and potential denial of service (DoS) attacks. The erase size is parsed from the 'block2mtd' module parameter and can be set to zero. To mitigate this vulnerability, Linux kernel developers and administrators should verify that the erase size is set to a valid value and monitor system logs for divide error messages.

Defensive priority

Medium

Recommended defensive actions

  • Review and update Linux kernel configurations to ensure the block2mtd module is properly configured.
  • Verify that the erase size is set to a valid value when using the block2mtd module.
  • Monitor system logs for divide error messages related to the block2mtd module.
  • Perform a thorough review of the Linux kernel configurations and the block2mtd module to identify potential vulnerabilities.
  • Implement compensating controls for exposed systems while remediation is scheduled and verified.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.

Evidence notes

The vulnerability is caused by a zero divisor when calculating the device size modulo the erase size. The erase size is parsed from the 'block2mtd' module parameter and can be set to zero. This can cause a divide error when evaluating the device size modulo the erase size. The existing 'erasesize must be a divisor of device size' error path reports the invalid argument and frees the device. To verify, defenders should check the 'block2mtd' module parameter and ensure the erase size is set to a valid value.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-98722 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-98722

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-98722 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-98722

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/21d0f05989bf0d5cef57b467a7fa4feefbd7236a

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/826170a49ca1315af6b293a02200585b1e2186d9

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/a991c28066e7ba4da7450bb04478849f7ac6a14a

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/b5965c4221165045e19736794ca5f48ae3d67142

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.