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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2023-04-24T00:00:00
Updated: 2024-08-02T14:45:25.681Z
Reserved: 2023-04-24T00:00:00
Link: CVE-2023-31085
Vulnrichment
No data.
NVD
Status : Modified
Published: 2023-04-24T06:15:08.093
Modified: 2024-11-21T08:01:23.170
Link: CVE-2023-31085
Redhat