CVE-2023-52996

ipv4: prevent potential spectre v1 gadget in fib_metrics_match()

MEDIUM
5.5
CVSS Score
Published: March 27, 2025 at 04:43 PM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.14 ≤ v < 5.10.1664.14 ≤ v < 5.15.914.14 ≤ v < 5.4.2314.14 ≤ v < 6.1.94.14 ≤ v < 6.25.11 ≤ v < 5.15.915.16 ≤ v < 6.1.95.5 ≤ v < 5.10.1664.145f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd86.2 rc16.2 rc26.2 rc36.2 rc46.2 rc5
Vendor states this is fixed in 5e9398a26a92fc402d82ce1f97cc67d832527da0 (fixed)
Vendor states this is fixed in 7f9828fb1f688210e681268490576f0ca65c322a (fixed)
Vendor states this is fixed in 8f0eb24f1a7a60ce635f0d757a46f1a37a4d467d (fixed)
Vendor states this is fixed in ca3cf947760de050d558293002ad3e7f4b8745d2 (fixed)
Vendor states this is fixed in f9753ebd61be2d957b5504cbd3fd719674f05b7a (fixed)
Vendor states this is fixed in 4.14 (unaffected)
Vendor states this is fixed in 5.10.166 (unaffected)
Vendor states this is fixed in 5.15.91 (unaffected)
Vendor states this is fixed in 5.4.231 (unaffected)
Vendor states this is fixed in 6.1.9 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5e9398a26a92fc402d82ce1f97cc67d832527da0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7f9828fb1f688210e681268490576f0ca65c322a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8f0eb24f1a7a60ce635f0d757a46f1a37a4d467d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ca3cf947760de050d558293002ad3e7f4b8745d2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f9753ebd61be2d957b5504cbd3fd719674f05b7a

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card