{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-31085","published":"2023-04-24T06:15:08.093000Z","last_modified":"2026-10-14T23:17:18.580000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-369"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:6.2:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.2"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"epss":{"score":0.00306,"percentile":0.15931,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2023-31085/","html_en":"/en/cve/CVE-2023-31085/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-31085","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-31085"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"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":[{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","versions":[]}],"references":[{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=017c73a34a661a861712f7cc1393a123e5b2208c","tags":[]},{"url":"https://lore.kernel.org/all/687864524.118195.1681799447034.JavaMail.zimbra%40nod.at/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230929-0003/","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-769027.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-794697.html","tags":[]}]}}