CVE-2023-31085
5.5medium
An issue was discovered in drivers/mtd/ubi/cdev.c in the Linux kernel 6.2.
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.31% (higher than 16% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| linux linux_kernel | 6.2 | NVD |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-31085 changed 2026-10-14 | CVE Terms of Use |
| NVD | CVE-2023-31085 changed 2026-10-14 | Public domain |