| Name | CVE-2023-31085 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bullseye | 5.10.223-1 | vulnerable |
| bullseye (security) | 5.10.244-1 | vulnerable | |
| bookworm | 6.1.148-1 | vulnerable | |
| bookworm (security) | 6.1.153-1 | vulnerable | |
| trixie | 6.12.43-1 | vulnerable | |
| trixie (security) | 6.12.48-1 | vulnerable | |
| forky, sid | 6.16.12-2 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | (unstable) | (unfixed) | unimportant |
https://lore.kernel.org/all/687864524.118195.1681799447034.JavaMail.zimbra@nod.at/
Negligible security impact