An issue was discovered in drivers/mtd/ubi/cdev.c in the...
Moderate severity
Unreviewed
Published
Apr 24, 2023
to the GitHub Advisory Database
•
Updated Apr 3, 2024
Description
Published by the National Vulnerability Database
Apr 24, 2023
Published to the GitHub Advisory Database
Apr 24, 2023
Last updated
Apr 3, 2024
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.
References