CVE-2023-31085

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-31085
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-31085.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-31085
Downstream
Related
Published
2023-04-24T06:15:08Z
Modified
2025-08-09T20:01:27Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in drivers/mtd/ubi/cdev.c in the Linux kernel 6.2. There is a divide-by-zero error in dodiv(sz,mtd->erasesize), used indirectly by ctrlcdev_ioctl, when mtd->erasesize is 0.

References

Affected packages