PT-2023-2676
CVE-2023-31085
·
Publicado
2023-04-24
·
Atualizado
2026-10-18
Descrição por
CVSS 3.1
5.5
MédiaMétricasAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel version 6.2
Description
An issue in the Linux kernel is related to a divide-by-zero error in the
do div(sz, mtd->erasesize) function, which is used indirectly by ctrl cdev ioctl, when mtd->erasesize is 0. This error is located in the drivers/mtd/ubi/cdev.c file. The issue may allow an attacker to cause a denial of service or potentially have other impacts.Recommendations
For Linux kernel version 6.2, consider applying a patch to fix the divide-by-zero error in the
do div(sz, mtd->erasesize) function. As a temporary workaround, restrict access to the ctrl cdev ioctl function to minimize the risk of exploitation. Avoid using the mtd->erasesize variable with a value of 0 in the affected code until the issue is resolved.Explorabilidade
Exploit
Correção
Impactos
Fornecedores
Produtos afetados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾