CVE-2023-52997
JSON

5.5medium

ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()

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 ip_metrics_convert() if (!type) continue; if (type > RTAX_MAX) return -EINVAL; ... metrics[type - 1] = val; @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 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 before ef050cf5fb70d995a0d03244e25179b7c66a924a, from 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 before 746db9ec1e672eee13965625ddac0d97e16fa20c, from 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 before 34c6142f0df9cd75cba5a7aa9df0960d2854b415, from 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 before d50e7348b44f1e046121ff5be01b7fb6978a1149, from 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 before 6850fe301d015a7d2012d1de8caf43dafb7cc2f6, from 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 before 1d1d63b612801b3f0a39b7d4467cad0abd60e5c8, 4.3
Not affected: before 4.3, from 4.19.272 up to 4.19.*, 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.*
CVE List
linux linux_kernelfrom 4.3 before 4.19.272, from 4.20 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

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ipv4: prevent potential spectre v1 gadget in ip_metrics_convert() if (!type) continue; if (type > RTAX_MAX) return -EINVAL; ... metrics[type - 1] = val; @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 ip_metrics_convert() if (!type) continue; if (type > RTAX_MAX) return -EINVAL; ... metrics[type - 1] = val; @type se utiliza como un índice de matriz, debemos evitar la especulación de la CPU o el riesgo de filtrar el contenido de la memoria del kernel.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52997 changed 2026-11-05CVE Terms of Use
NVDCVE-2023-52997 changed 2026-11-05Public domain