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
Configurations
History
No history.
Information
Published : 2023-04-24 06:15
Updated : 2024-03-25 01:15
NVD link : CVE-2023-31085
Mitre link : CVE-2023-31085
CVE.ORG link : CVE-2023-31085
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-369
Divide By Zero