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.
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2023-04-24T00:00:00

Updated: 2024-03-25T00:41:53.794360

Reserved: 2023-04-24T00:00:00


Link: CVE-2023-31085

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2023-04-24T06:15:08.093

Modified: 2024-03-25T01:15:54.350


Link: CVE-2023-31085

JSON object: View

cve-icon Redhat Information

No data.

CWE