{ "id": "CVE-2023-31085", "sourceIdentifier": "cve@mitre.org", "published": "2023-04-24T06:15:08.093", "lastModified": "2023-05-02T14:11:02.420", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "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." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH", "baseScore": 5.5, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 1.8, "impactScore": 3.6 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-369" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:6.2:*:*:*:*:*:*:*", "matchCriteriaId": "B6FAA415-53CF-4007-875A-9045AD1A540F" } ] } ] } ], "references": [ { "url": "https://lore.kernel.org/all/687864524.118195.1681799447034.JavaMail.zimbra@nod.at/", "source": "cve@mitre.org", "tags": [ "Exploit", "Mailing List", "Vendor Advisory" ] } ] }