{"id":41194,"date":"2026-10-19T00:32:33","date_gmt":"2026-10-18T16:32:33","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98722"},"modified":"2026-10-19T00:32:33","modified_gmt":"2026-10-18T16:32:33","slug":"cve-2026-98722","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98722","title":{"rendered":"CVE-2026-98722 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: block2mtd: Fix d"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mtd: block2mtd: Fix divide error when erase_size is zero<\/p>\n<p>The erase size is parsed from the &#8220;block2mtd&#8221; module parameter and can<br \/>\nbe set to zero. add_device() then evaluates<\/p>\n<p>        if (size % erase_size)<\/p>\n<p>with a zero divisor, which triggers a divide error:<\/p>\n<p>divide error: 0000 [#1] PREEMPT SMP PTI<br \/>\nRIP: 0010:add_device drivers\/mtd\/devices\/block2mtd.c:296 [inline]<br \/>\nRIP: 0010:block2mtd_setup2+0x592\/0xda0 drivers\/mtd\/devices\/block2mtd.c:459<br \/>\nCall Trace:<br \/>\nblock2mtd_setup+0x27\/0xe0 drivers\/mtd\/devices\/block2mtd.c:476<br \/>\nparam_attr_store+0x214\/0x310 kernel\/params.c:589<br \/>\nmodule_attr_store+0x65\/0x90 kernel\/params.c:904<br \/>\nkernfs_fop_write_iter+0x3a4\/0x540 fs\/kernfs\/file.c:345<br \/>\n&#8230;<\/p>\n<p>Reject a zero erase size before performing the modulo operation so the<br \/>\nexisting &#8220;erasesize must be a divisor of device size&#8221; error path<br \/>\nreports the invalid argument and frees the device.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>mtd: block2mtd: Fix divide error when erase_size is zero<\/p>\n<p>The erase size is parsed from the &#8220;block2mtd&#8221; module parameter and can<br \/>\nbe<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41194","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}