VULNERABILITY INTELLIGENCE
CVE-2023-31085
CVSS score5.5 MEDIUM
EPSS probability0.38%
CISA KEVNot currently listed
Published2023-04-24
Last modified2026-10-14
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Weakness classification
- nvd@nist.gov: CWE-369