SB20261022328 - Division by zero in Linux kernel mtd devices driver
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-98722)
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 in the Linux kernel.
The vulnerability exists due to division by zero in the block2mtd driver's add_device() function when processing a zero erase size supplied through the block2mtd module parameter. A local privileged user can set the erase size to zero to trigger a kernel divide error during the device-size modulo calculation and cause a denial of service.
Remediation
Install update from vendor's website.
References
- https://git.kernel.org/stable/c/21d0f05989bf0d5cef57b467a7fa4feefbd7236a
- https://git.kernel.org/stable/c/826170a49ca1315af6b293a02200585b1e2186d9
- https://git.kernel.org/stable/c/a991c28066e7ba4da7450bb04478849f7ac6a14a
- https://git.kernel.org/stable/c/b5965c4221165045e19736794ca5f48ae3d67142
- https://git.kernel.org/stable/c/bff83b723e93acc788bd690dc4bc1f6f4356c35b