CVE Catalog

CVE-2023-31085

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

30th percentile - higher than 30% of all known CVEs

Summary

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.

Risk Assessment

An attacker can trigger a kernel crash (panic) via an ioctl operation, causing denial of service.

Recommendation

Update the Linux kernel to a version that includes the fix preventing divide-by-zero in cdev.c.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS