{"id":"CVE-2023-52996","aliases":["CVE-2023-52996"],"related":[],"kind":"vulnerability","state":"published","title":"ipv4: prevent potential spectre v1 gadget in fib_metrics_match()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: prevent potential spectre v1 gadget in fib_metrics_match()\n\nif (!type)\n        continue;\n    if (type > RTAX_MAX)\n        return false;\n    ...\n    fi_val = fi->fib_metrics->metrics[type - 1];\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 fib_metrics_match()\n\nif (!type)\n        continue;\n    if (type > RTAX_MAX)\n        return false;\n    ...\n    fi_val = fi->fib_metrics->metrics[type - 1];\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 fib_metrics_match() if (!type) continue; if (type &gt; RTAX_MAX) return false; ... fi_val = fi-&gt;fib_metrics-&gt;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.","source":"nvd"}],"published":"2025-03-27T16:43:30.547Z","modified":"2026-06-17T06:44:04.960Z","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":"5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8","fixed":"8f0eb24f1a7a60ce635f0d757a46f1a37a4d467d","status":"affected"},{"type":"git","introduced":"5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8","fixed":"7f9828fb1f688210e681268490576f0ca65c322a","status":"affected"},{"type":"git","introduced":"5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8","fixed":"ca3cf947760de050d558293002ad3e7f4b8745d2","status":"affected"},{"type":"git","introduced":"5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8","fixed":"f9753ebd61be2d957b5504cbd3fd719674f05b7a","status":"affected"},{"type":"git","introduced":"5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8","fixed":"5e9398a26a92fc402d82ce1f97cc67d832527da0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","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.14","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/8f0eb24f1a7a60ce635f0d757a46f1a37a4d467d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f9828fb1f688210e681268490576f0ca65c322a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca3cf947760de050d558293002ad3e7f4b8745d2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9753ebd61be2d957b5504cbd3fd719674f05b7a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e9398a26a92fc402d82ce1f97cc67d832527da0","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52996","url":"https://www.cve.org/CVERecord?id=CVE-2023-52996","licence":"CVE Terms of Use","modified":"2026-05-11T19:36:36.117Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52996","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52996","licence":"Public domain","modified":"2026-06-17T06:44:04.960Z"}],"updatedAt":"2026-11-25T22:58:34.593Z","epss":{"score":0.00268,"percentile":0.20284,"date":"2026-12-01T12:00:22.000Z"}}