CVE-2023-31085

NameCVE-2023-31085
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bullseye (security), bullseye5.10.218-1vulnerable
bookworm6.1.94-1vulnerable
bookworm (security)6.1.90-1vulnerable
sid, trixie6.9.8-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsource(unstable)(unfixed)unimportant

Notes

https://lore.kernel.org/all/687864524.118195.1681799447034.JavaMail.zimbra@nod.at/
Negligible security impact

Search for package or bug name: Reporting problems