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

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

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T08:01:23.170

Link: CVE-2023-31085

cve-icon Redhat

Severity : Moderate

Publid Date: 2023-04-18T00:00:00Z

Links: CVE-2023-31085 - Bugzilla