CVE-2023-31085
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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.38% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 31.7% of scored records. A rank, not a probability.
- NVD base score
- 5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2023-04-24 00:00Z3 YR AGO
- Last updated
- 2026-10-14 23:07Z14 DAYS AGO
- Reserved
- 2023-04-24
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-369Divide By ZeroBase
- Data version
- 5.2
- Document digest
- c0d3837db33a966c28a9b0f1bd8f8f5c2d0c2c1f87eab046a65fefd2c8dbb0b3
05 Affected products
06 References
- lore.kernel.orghttps://lore.kernel.org/all/687864524.118195.1681799447034.JavaMail.zimbra%40nod.at/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20230929-0003/
- git.kernel.orghttps://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=017c73a34a661a861712f7cc1393a123e5b2208c
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-794697.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-769027.html
07 Fixed in
Debian 12
- linux No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- linux No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- linux No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- linux-hwe-edge No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- linux-aws-5.0 No fix yet
- linux-aws-5.3 No fix yet
- linux-azure No fix yet
- linux-azure-5.3 No fix yet
- linux-azure-edge No fix yet
- linux-gcp No fix yet
- linux-gcp-5.3 No fix yet
- linux-gke-4.15 No fix yet
- linux-gke-5.4 No fix yet
- linux-gkeop-5.4 No fix yet
- linux-hwe No fix yet
- linux-hwe-edge No fix yet
- linux-oem No fix yet
- linux-oracle-5.0 No fix yet
- linux-oracle-5.3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- linux Fixed in 5.4.0-167.184
- linux-aws Fixed in 5.4.0-1114.124
- linux-aws-5.11 No fix yet
- linux-aws-5.13 No fix yet
- linux-aws-5.15 Fixed in 5.15.0-1050.55~20.04.1
- linux-aws-5.8 No fix yet
- linux-azure Fixed in 5.4.0-1120.127
- linux-azure-5.11 No fix yet
- linux-azure-5.13 No fix yet
- linux-azure-5.15 Fixed in 5.15.0-1052.60~20.04.1
- linux-azure-5.8 No fix yet
- linux-azure-fde No fix yet
- linux-bluefield Fixed in 5.4.0-1075.81
- linux-gcp Fixed in 5.4.0-1118.127
- linux-gcp-5.11 No fix yet
- linux-gcp-5.13 No fix yet
- linux-gcp-5.15 Fixed in 5.15.0-1047.55~20.04.1
- linux-gcp-5.8 No fix yet
- linux-gke No fix yet
- linux-gke-5.15 No fix yet
- linux-gkeop Fixed in 5.4.0-1081.85
- linux-gkeop-5.15 Fixed in 5.15.0-1033.39~20.04.1
- linux-hwe-5.11 No fix yet
- linux-hwe-5.13 No fix yet
- linux-hwe-5.15 Fixed in 5.15.0-89.99~20.04.1
- linux-hwe-5.8 No fix yet
- linux-ibm Fixed in 5.4.0-1061.66
- linux-ibm-5.15 Fixed in 5.15.0-1043.46~20.04.1
- linux-intel-5.13 No fix yet
- linux-intel-iotg-5.15 Fixed in 5.15.0-1045.51~20.04.1
- linux-iot Fixed in 5.4.0-1026.27
- linux-kvm Fixed in 5.4.0-1103.110
- linux-lowlatency-hwe-5.15 Fixed in 5.15.0-89.99~20.04.1
- linux-nvidia-tegra-5.15 Fixed in 5.15.0-1020.20~20.04.1
- linux-oem-5.10 No fix yet
- linux-oem-5.13 No fix yet
- linux-oem-5.14 No fix yet
- linux-oem-5.6 No fix yet
- linux-oracle Fixed in 5.4.0-1113.122
- linux-oracle-5.11 No fix yet
10 further packages in Ubuntu 20.04 LTS not shown (first 40 listed).
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- linux Fixed in 5.15.0-89.99
- linux-allwinner-5.19 No fix yet
- linux-aws Fixed in 5.15.0-1050.55
- linux-aws-5.19 No fix yet
- linux-aws-6.2 Fixed in 6.2.0-1016.16~22.04.1
- linux-aws-6.5 No fix yet
- linux-azure Fixed in 5.15.0-1052.60
- linux-azure-5.19 No fix yet
- linux-azure-6.2 Fixed in 6.2.0-1017.17~22.04.1
- linux-azure-6.5 No fix yet
- linux-azure-fde Fixed in 5.15.0-1052.60.1
- linux-azure-fde-5.19 No fix yet
- linux-azure-fde-6.2 Fixed in 6.2.0-1017.17~22.04.1.1
- linux-gcp Fixed in 5.15.0-1047.55
- linux-gcp-5.19 No fix yet
- linux-gcp-6.2 Fixed in 6.2.0-1019.21~22.04.1
- linux-gke Fixed in 5.15.0-1047.52
- linux-gkeop Fixed in 5.15.0-1033.39
- linux-hwe-5.19 No fix yet
- linux-hwe-6.2 Fixed in 6.2.0-37.38~22.04.1
- linux-ibm Fixed in 5.15.0-1043.46
- linux-intel-iotg Fixed in 5.15.0-1045.51
- linux-kvm Fixed in 5.15.0-1047.52
- linux-lowlatency Fixed in 5.15.0-89.99
- linux-lowlatency-hwe-5.19 No fix yet
- linux-lowlatency-hwe-6.2 Fixed in 6.2.0-1017.17~22.04.1
- linux-nvidia Fixed in 5.15.0-1041.41
- linux-nvidia-6.2 Fixed in 6.2.0-1012.12
- linux-nvidia-6.5 Fixed in 6.5.0-1007.7
- linux-nvidia-tegra Fixed in 5.15.0-1020.20
- linux-nvidia-tegra-igx Fixed in 5.15.0-1007.7
- linux-oem-5.17 No fix yet
- linux-oem-6.0 No fix yet
- linux-oem-6.1 Fixed in 6.1.0-1025.25
- linux-oem-6.5 Fixed in 6.5.0-1008.8
- linux-oracle Fixed in 5.15.0-1048.54
- linux-raspi Fixed in 5.15.0-1043.46
- linux-realtime No fix yet
- linux-riscv No fix yet
- linux-riscv-5.19 No fix yet
3 further packages in Ubuntu 22.04 LTS not shown (first 40 listed).
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- linux-raspi-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Nvidia-BlueField 22.04 LTS
- linux-bluefield Fixed in 5.15.0-1032.34
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- linux No fix yet
- linux-aws Fixed in 4.4.0-1125.131Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-azure Fixed in 4.15.0-1172.187~14.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-lts-xenial Fixed in 4.4.0-248.282~14.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- linux Fixed in 4.4.0-248.282Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-aws Fixed in 4.4.0-1163.178Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-aws-hwe Fixed in 4.15.0-1163.176~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-azure Fixed in 4.15.0-1172.187~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-gcp Fixed in 4.15.0-1157.174~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-hwe Fixed in 4.15.0-220.231~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-kvm Fixed in 4.4.0-1126.136Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-oracle Fixed in 4.15.0-1126.137~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- linux Fixed in 4.15.0-220.231Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-aws Fixed in 4.15.0-1163.176Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-aws-5.4 Fixed in 5.4.0-1114.124~18.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-azure-4.15 Fixed in 4.15.0-1172.187Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-azure-5.4 Fixed in 5.4.0-1120.127~18.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-gcp-4.15 Fixed in 4.15.0-1157.174Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-gcp-5.4 Fixed in 5.4.0-1118.127~18.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-hwe-5.4 Fixed in 5.4.0-167.184~18.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-ibm-5.4 Fixed in 5.4.0-1061.66~18.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-kvm Fixed in 4.15.0-1147.152Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-oracle Fixed in 4.15.0-1126.137Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-oracle-5.4 Fixed in 5.4.0-1113.122~18.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-raspi-5.4 Fixed in 5.4.0-1098.110~18.04.2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-preview 22.04 LTS
- linux-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 16.04 LTS
- linux-fips Fixed in 4.4.0-1095.102Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 18.04 LTS
- linux-aws-fips Fixed in 4.15.0-2102.108Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 4.15.0-2081.87Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-fips Fixed in 4.15.0-1118.129Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-gcp-fips Fixed in 4.15.0-2065.70Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 20.04 LTS
- linux-aws-fips Fixed in 5.4.0-1114.124+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 5.4.0-1121.128+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-fips Fixed in 5.4.0-1089.98Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-gcp-fips Fixed in 5.4.0-1118.127+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 16.04 LTS
- linux-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 18.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 20.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro Realtime 22.04 LTS
- linux-intel-iot-realtime Fixed in 5.15.0-1043.45Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-realtime Fixed in 5.15.0-1051.57Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.