CVEvulnerability
CVE-2023-31085
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-04-24
- Last modified
- 2026-10-14
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-369
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 configurations
• linux linux kernel 6.2
Related
Weakness · CWE (1)
- CWE-369 Divide By Zero weakness
References
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=017c73a34a661a861712f7cc1393a123e5b2208c git.kernel.org
- https://lore.kernel.org/all/687864524.118195.1681799447034.JavaMail.zimbra%40nod.at/ lore.kernel.org
- https://security.netapp.com/advisory/ntap-20230929-0003/ security.netapp.com
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=017c73a34a661a861712f7cc1393a123e5b2208c git.kernel.org
- https://lore.kernel.org/all/687864524.118195.1681799447034.JavaMail.zimbra%40nod.at/ lore.kernel.org
- https://security.netapp.com/advisory/ntap-20230929-0003/ security.netapp.com
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html cert-portal.siemens.com