Security Resilience

CVE-2023-31085

Linux Kernel 6.2

Published
24 April 2023
Modified
14 October 2026
CVSS Score v3.1 5.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0038 33th percentile
Risk Priority 43 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-31085 is a medium-severity Divide By Zero (CWE-369) vulnerability in Linux Kernel. Its CVSS base score is 5.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 33th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-45841Same product: Linux Linux Kernel
CVE-2024-42316Same product: Linux Linux Kernel
CVE-2026-46161Same product: Linux Linux Kernel
CVE-2024-47700Same product: Linux Linux Kernel
CVE-2026-43267Same product: Linux Linux Kernel
CVE-2026-45889Same product: Linux Linux Kernel
CVE-2024-46806Same product: Linux Linux Kernel
CVE-2024-47663Same product: Linux Linux Kernel
CVE-2025-21874Same product: Linux Linux Kernel
CVE-2024-26945Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
6.2

Mitigating Controls

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly include code analysis, input validation, and testing that prevent divide-by-zero errors.

ID.RA-01 partial match
blocks

Vulnerability identification processes can discover divide-by-zero flaws via static analysis or testing.

PR.PS-02 partial match
blocks

Routine patching and replacement can remediate divide-by-zero bugs present in deployed software.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect divide-by-zero conditions before release.

prevents

Secure coding standards directly require validation to prevent divide-by-zero and similar runtime faults.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary implementation bugs like divide-by-zero in delivered code the way those practices do, but only partially because the clause depends on those other controls and human practice is fallible.

finds

A.8.8's reach is DISCLOSURE — it sees vulnerabilities via vendor advisories and component inventory. CWE-369 does commonly surface as CVEs (CVE-2007-3268, CVE-2007-2723, CVE-2007-2237 are listed observed examples), so the disclosed share is non-trivial, but the bulk of divide-by-zero instances live in first-party code that A.8.8's disclosure-based programme does not reach.

References