CVE-2026-31570
Gravedad CVSS v3.1:
ALTA
Tipo:
CWE-125
Lectura fuera de límites
Fecha de publicación:
24/04/2026
Última modificación:
27/04/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
can: gw: fix OOB heap access in cgw_csum_crc8_rel()<br />
<br />
cgw_csum_crc8_rel() correctly computes bounds-safe indices via calc_idx():<br />
<br />
int from = calc_idx(crc8->from_idx, cf->len);<br />
int to = calc_idx(crc8->to_idx, cf->len);<br />
int res = calc_idx(crc8->result_idx, cf->len);<br />
<br />
if (from result_idx] = ...; /* BUG: raw negative index */<br />
<br />
With from_idx = to_idx = result_idx = -64 on a 64-byte CAN FD frame,<br />
calc_idx(-64, 64) = 0 so the guard passes, but the loop iterates with<br />
i = -64, reading cf->data[-64], and the write goes to cf->data[-64].<br />
This write might end up to 56 (7.0-rc) or 40 (
Impacto
Puntuación base 3.x
8.80
Gravedad 3.x
ALTA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.4.1 (incluyendo) | 5.10.253 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (incluyendo) | 5.15.203 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (incluyendo) | 6.1.168 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (incluyendo) | 6.6.131 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (incluyendo) | 6.12.80 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (incluyendo) | 6.18.21 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (incluyendo) | 6.19.11 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:5.4:-:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/54ecdf76a55e75c1f5085e440f8ab671a3283ef5
- https://git.kernel.org/stable/c/66b689efd08227da2c5ca49b58b30a95d23c695a
- https://git.kernel.org/stable/c/84f8b76d24273175a22713e83e90874e1880d801
- https://git.kernel.org/stable/c/999ca48d55a8a46da21519db7e834e5867200379
- https://git.kernel.org/stable/c/a025283d7f7404c739225e457fb99db2368bb544
- https://git.kernel.org/stable/c/b9c310d72783cc2f30d103eed83920a5a29c671a
- https://git.kernel.org/stable/c/c4e8eaa75fa0b6bcbfa5356d6195c4ad0e05e57a
- https://git.kernel.org/stable/c/e7c99348b0612b2bc02d5ce6ff9873261cc7605f



