CVE-2023-52996
JSON

5.5medium

ipv4: prevent potential spectre v1 gadget in fib_metrics_match()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ipv4: prevent potential spectre v1 gadget in fib_metrics_match() if (!type) continue; if (type > RTAX_MAX) return false; ... fi_val = fi->fib_metrics->metrics[type - 1]; @type being used as an array index, we need to prevent cpu speculation or risk leaking kernel memory content.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 before 8f0eb24f1a7a60ce635f0d757a46f1a37a4d467d, from 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 before 7f9828fb1f688210e681268490576f0ca65c322a, from 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 before ca3cf947760de050d558293002ad3e7f4b8745d2, from 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 before f9753ebd61be2d957b5504cbd3fd719674f05b7a, from 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 before 5e9398a26a92fc402d82ce1f97cc67d832527da0, 4.14
Not affected: before 4.14, from 5.4.231 up to 5.4.*, from 5.10.166 up to 5.10.*, from 5.15.91 up to 5.15.*, from 6.1.9 up to 6.1.*, from 6.2 up to *
CVE List
linux linux_kernelfrom 4.14 before 5.4.231, from 5.5 before 5.10.166, from 5.11 before 5.15.91, from 5.16 before 6.1.9, 6.2NVD

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ipv4: prevent potential spectre v1 gadget in fib_metrics_match() if (!type) continue; if (type > RTAX_MAX) return false; ... fi_val = fi->fib_metrics->metrics[type - 1]; @type being used as an array index, we need to prevent cpu speculation or risk leaking kernel memory content.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ipv4: evitar un potencial gadget spectre v1 en fib_metrics_match() if (!type) continue; if (type > RTAX_MAX) return false; ... fi_val = fi->fib_metrics->metrics[type - 1]; @type se utiliza como un índice de matriz, debemos evitar la especulación de la CPU o corremos el riesgo de filtrar el contenido de la memoria del kernel.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52996 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52996 changed 2026-06-17Public domain