{"id":"CVE-2023-52996","published":"2025-03-27T16:43:30Z","modified":"2026-05-11T19:36:36Z","title":"ipv4: prevent potential spectre v1 gadget in fib_metrics_match()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00284,"percentile":0.1354,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/8f0eb24f1a7a60ce635f0d757a46f1a37a4d467d","tags":[]},{"url":"https://git.kernel.org/stable/c/7f9828fb1f688210e681268490576f0ca65c322a","tags":[]},{"url":"https://git.kernel.org/stable/c/ca3cf947760de050d558293002ad3e7f4b8745d2","tags":[]},{"url":"https://git.kernel.org/stable/c/f9753ebd61be2d957b5504cbd3fd719674f05b7a","tags":[]},{"url":"https://git.kernel.org/stable/c/5e9398a26a92fc402d82ce1f97cc67d832527da0","tags":[]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":2.71}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8, < 8f0eb24f1a7a60ce635f0d757a46f1a37a4d467d",">= 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8, < 7f9828fb1f688210e681268490576f0ca65c322a",">= 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8, < ca3cf947760de050d558293002ad3e7f4b8745d2",">= 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8, < f9753ebd61be2d957b5504cbd3fd719674f05b7a",">= 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8, < 5e9398a26a92fc402d82ce1f97cc67d832527da0"]},{"vendor":"Linux","product":"Linux","versions":["4.14"]}],"euvd":{"id":"EUVD-2023-59724","exploited":false,"provenance":"source"}}