{"id":"CVE-2023-52997","aliases":["CVE-2023-52997"],"related":[],"kind":"vulnerability","state":"published","title":"ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: prevent potential spectre v1 gadget in ip_metrics_convert()\n\nif (!type)\n\t\tcontinue;\n\tif (type > RTAX_MAX)\n\t\treturn -EINVAL;\n\t...\n\tmetrics[type - 1] = val;\n\n@type being used as an array index, we need to prevent\ncpu speculation or risk leaking kernel memory content.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: prevent potential spectre v1 gadget in ip_metrics_convert()\n\nif (!type)\n\t\tcontinue;\n\tif (type > RTAX_MAX)\n\t\treturn -EINVAL;\n\t...\n\tmetrics[type - 1] = val;\n\n@type being used as an array index, we need to prevent\ncpu speculation or risk leaking kernel memory content.","source":"cvelist"},{"lang":"es","text":"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 &gt; 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.","source":"nvd"}],"published":"2025-03-27T16:43:31.164Z","modified":"2026-11-05T21:17:06.607Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6cf9dfd3bd62edfff69f11c0f111bc261166e4c7","fixed":"ef050cf5fb70d995a0d03244e25179b7c66a924a","status":"affected"},{"type":"git","introduced":"6cf9dfd3bd62edfff69f11c0f111bc261166e4c7","fixed":"746db9ec1e672eee13965625ddac0d97e16fa20c","status":"affected"},{"type":"git","introduced":"6cf9dfd3bd62edfff69f11c0f111bc261166e4c7","fixed":"34c6142f0df9cd75cba5a7aa9df0960d2854b415","status":"affected"},{"type":"git","introduced":"6cf9dfd3bd62edfff69f11c0f111bc261166e4c7","fixed":"d50e7348b44f1e046121ff5be01b7fb6978a1149","status":"affected"},{"type":"git","introduced":"6cf9dfd3bd62edfff69f11c0f111bc261166e4c7","fixed":"6850fe301d015a7d2012d1de8caf43dafb7cc2f6","status":"affected"},{"type":"git","introduced":"6cf9dfd3bd62edfff69f11c0f111bc261166e4c7","fixed":"1d1d63b612801b3f0a39b7d4467cad0abd60e5c8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.3","status":"unaffected"},{"type":"semver","introduced":"4.19.272","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.231","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.166","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.91","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.9","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.3","fixed":"4.19.272"},{"status":"affected","introduced":"4.20","fixed":"5.4.231"},{"status":"affected","introduced":"5.5","fixed":"5.10.166"},{"status":"affected","introduced":"5.11","fixed":"5.15.91"},{"status":"affected","introduced":"5.16","fixed":"6.1.9"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ef050cf5fb70d995a0d03244e25179b7c66a924a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/746db9ec1e672eee13965625ddac0d97e16fa20c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34c6142f0df9cd75cba5a7aa9df0960d2854b415","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d50e7348b44f1e046121ff5be01b7fb6978a1149","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6850fe301d015a7d2012d1de8caf43dafb7cc2f6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d1d63b612801b3f0a39b7d4467cad0abd60e5c8","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:14:16.390Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52997","url":"https://www.cve.org/CVERecord?id=CVE-2023-52997","licence":"CVE Terms of Use","modified":"2026-11-05T20:20:53.777Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52997","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52997","licence":"Public domain","modified":"2026-11-05T21:17:06.607Z"}],"updatedAt":"2026-11-25T22:58:34.594Z","epss":{"score":0.0027,"percentile":0.20599,"date":"2026-12-01T12:00:22.000Z"}}