Vulnerability · Published Apr 24, 2023 · Assigned by mitre
CVE-2023-31085
Medium 5.5
In plain English
A medium-severity security flaw in the linux package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.4%top 67.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | no fix listed | DEBIAN-CVE-2023-31085 |
| Debian:13 | linux | no fix listed | DEBIAN-CVE-2023-31085 |
| Debian:14 | linux | no fix listed | DEBIAN-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux | 5.15.0-89.99 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux | 5.15.0-89.99 | USN-6496-1 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1050.55 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1050.55 | USN-6496-1 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1016.16~22.04.1 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1016.16~22.04.1 | USN-6502-1 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1052.60 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1052.60 | USN-6496-2 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | 6.2.0-1017.17~22.04.1 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | 6.2.0-1017.17~22.04.1 | USN-6502-4 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1052.60.1 | USN-6496-2 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1052.60.1 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | 6.2.0-1017.17~22.04.1.1 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | 6.2.0-1017.17~22.04.1.1 | USN-6502-4 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1047.55 | USN-6496-2 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1047.55 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | 6.2.0-1019.21~22.04.1 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | 6.2.0-1019.21~22.04.1 | USN-6502-4 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1047.52 | USN-6496-2 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1047.52 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1033.39 | USN-6496-2 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1033.39 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | 6.2.0-37.38~22.04.1 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | 6.2.0-37.38~22.04.1 | USN-6502-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1043.46 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1043.46 | USN-6496-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1045.51 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1045.51 | USN-6516-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1047.52 | USN-6496-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1047.52 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-89.99 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-89.99 | USN-6496-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | 6.2.0-1017.17~22.04.1 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | 6.2.0-1017.17~22.04.1 | USN-6502-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1041.41 | USN-6496-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1041.41 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | 6.2.0-1012.12 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | 6.2.0-1012.12 | USN-6502-3 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | 6.5.0-1007.7 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1020.20 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1007.7 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1025.25 | USN-6461-1 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1025.25 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1008.8 | USN-6503-1 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1008.8 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1048.54 | USN-6496-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1048.54 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1043.46 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1043.46 | USN-6496-1 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | 6.2.0-1009.10~22.04.1 | UBUNTU-CVE-2023-31085 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | 6.2.0-1009.10~22.04.1 | USN-6520-1 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1027.31 | UBUNTU-CVE-2023-31085 |
Affected products (as reported)
References
- https://lore.kernel.org/all/687864524.118195.1681799447034.JavaMail.zimbra%40nod.at/
- https://security.netapp.com/advisory/ntap-20230929-0003/
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=017c73a34a661a861712f7cc1393a123e5b2208c
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html