An issue was discovered in drivers/mtd/ubi/cdev.c in the Linux kernel 6.2. There is a divide-by-zero error in dodiv(sz,mtd->erasesize), used indirectly by ctrlcdev_ioctl, when mtd->erasesize is 0.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-31085.json"
[ { "events": [ { "introduced": "0" }, { "last_affected": "6.2" } ] } ]