CVE-2023-31085

Summary

CVECVE-2023-31085
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-04-24 06:15:08 UTC
Updated2026-10-14 23:17:18 UTC
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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.003790000 probability, percentile 0.301950000 (date 2026-10-14)

Problem Types: CWE-369 | n/a

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel 6.2 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem affected V1.1 custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified

References

ReferenceSourceLinkTags
cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit af854a3a-2127-422b-91ae-364da2661108 git.kernel.org
Re: BUG: divide error in ubi_attach_mtd_dev - Richard Weinberger af854a3a-2127-422b-91ae-364da2661108 lore.kernel.org
cert-portal.siemens.com/productcert/html/ssa-769027.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
April 2023 Linux Kernel 6.2 Vulnerabilities in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
cert-portal.siemens.com/productcert/html/ssa-794697.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
Re: BUG: divide error in ubi_attach_mtd_dev - Richard Weinberger MITRE lore.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 199881 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-6461-1)
  • 199930 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6495-1)
  • 199933 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6502-1)
  • 199935 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6496-1)
  • 199936 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6494-1)
  • 199938 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6503-1)
  • 199952 Ubuntu Security Notification for Linux kernel (Oracle) Vulnerabilities (USN-6502-2)
  • 199955 Ubuntu Security Notification for Linux kernel (Intel IoTG) Vulnerabilities (USN-6516-1)
  • 199957 Ubuntu Security Notification for Linux kernel (StarFive) Vulnerabilities (USN-6520-1)
  • 199958 Ubuntu Security Notification for Linux kernel (NVIDIA) Vulnerabilities (USN-6502-3)
  • 199970 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6494-2)
  • 199971 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6496-2)
  • 199972 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6495-2)
  • 199973 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6502-4)
  • 199979 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6532-1)
  • 199982 Ubuntu Security Notification for Linux kernel (GCP) Vulnerability (USN-6537-1)
  • 356562 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.4-2023-055
  • 356612 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2023-042
  • 379043 Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX3-SA-2023:0136)
  • 379435 Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX2-SA-2024:0012)
  • 6140261 AWS Bottlerocket Security Update for kernel (GHSA-hwg9-jjjx-wjv2)
  • 673534 EulerOS Security Update for kernel (EulerOS-SA-2024-1086)
  • 673563 EulerOS Security Update for kernel (EulerOS-SA-2024-1144)
  • 673657 EulerOS Security Update for kernel (EulerOS-SA-2024-1122)
  • 673714 EulerOS Security Update for kernel (EulerOS-SA-2024-1196)
  • 673902 EulerOS Security Update for kernel (EulerOS-SA-2024-1176)
  • 673923 EulerOS Security Update for kernel (EulerOS-SA-2024-1062)
  • 673995 EulerOS Security Update for kernel (EulerOS-SA-2024-1275)
  • 674024 EulerOS Security Update for kernel (EulerOS-SA-2024-1107)
  • 755235 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:4377-1)
  • 755238 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:4378-1)
  • 755240 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:4375-1)
  • 755249 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:4414-1)
  • 755563 SUSE Security Update for the linux kernel (SUSE-SU-2023:4351-1)
  • 755564 SUSE Security Update for the linux kernel (SUSE-SU-2023:4348-1)
  • 755565 SUSE Security Update for the linux kernel (SUSE-SU-2023:4347-1)
  • 755566 SUSE Security Update for the linux kernel (SUSE-SU-2023:4345-1)
  • 755567 SUSE Security Update for the linux kernel (SUSE-SU-2023:4343-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report