Vulnerability Details : CVE-2023-31085
Potential exploit
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.
Products affected by CVE-2023-31085
- cpe:2.3:o:linux:linux_kernel:6.2:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-31085
0.01%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 1 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-31085
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2023-31085
-
The product divides a value by zero.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-31085
-
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=017c73a34a661a861712f7cc1393a123e5b2208c
ubi: Refuse attaching if mtd's erasesize is 0 - kernel/git/torvalds/linux.git - Linux kernel source tree
-
https://lore.kernel.org/all/687864524.118195.1681799447034.JavaMail.zimbra@nod.at/
Exploit;Mailing List;Vendor Advisory
-
https://lore.kernel.org/all/687864524.118195.1681799447034.JavaMail.zimbra%40nod.at/
Re: BUG: divide error in ubi_attach_mtd_dev - Richard Weinberger
-
https://security.netapp.com/advisory/ntap-20230929-0003/
April 2023 Linux Kernel 6.2 Vulnerabilities in NetApp Products | NetApp Product Security
Jump to