CVE-2023-31085
Public on 2023-04-24
Modified on 2024-04-23
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.
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
Amazon Linux 1 | kernel | Not Affected | ||
Amazon Linux 2 - Core | kernel | Pending Fix | ||
Amazon Linux 2 - Kernel-5.15 Extra | kernel | Pending Fix | ||
Amazon Linux 2 - Kernel-5.10 Extra | kernel | 2023-10-31 | ALAS2KERNEL-5.10-2023-042 | Fixed |
Amazon Linux 2 - Kernel-5.4 Extra | kernel | 2023-10-31 | ALAS2KERNEL-5.4-2023-055 | Fixed |
Amazon Linux 2023 | kernel | Pending Fix |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
NVD | CVSSv3 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |