{"id":"CVE-2023-31085","published":"2023-04-24T00:00:00Z","modified":"2026-10-14T23:07:57Z","title":"An issue was discovered in drivers/mtd/ubi/cdev.c in the Linux kernel 6.2","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in drivers/mtd/ubi/cdev.c in the Linux kernel 6.2. There is a divide-by-zero error in do_div(sz,mtd->erasesize), used indirectly by ctrl_cdev_ioctl, when mtd->erasesize is 0.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00381,"percentile":0.32781,"provenance":"source"},"cwes":[],"references":[{"url":"https://lore.kernel.org/all/687864524.118195.1681799447034.JavaMail.zimbra%40nod.at/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230929-0003/","tags":[]},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=017c73a34a661a861712f7cc1393a123e5b2208c","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-794697.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-769027.html","tags":[]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":6.56}]},"euvd":{"id":"EUVD-2023-35414","exploited":false,"provenance":"source"}}