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.
{ "urgency": "unimportant" }