CVE-2023-52996

ipv4: prevent potential spectre v1 gadget in fib_metrics_match()

State
Published
Severity
Not scored
Published
Mar 27, 2025
Updated
May 11, 2026
Reserved
Mar 27, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 to before 8f0eb24f1a7a60ce635f0d757a46f1a37a4d467dAffected
  • 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 to before 7f9828fb1f688210e681268490576f0ca65c322aAffected
  • 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 to before ca3cf947760de050d558293002ad3e7f4b8745d2Affected
  • 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 to before f9753ebd61be2d957b5504cbd3fd719674f05b7aAffected
  • 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 to before 5e9398a26a92fc402d82ce1f97cc67d832527da0Affected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 5.4.231 through 5.4.*Not affected
  • 5.10.166 through 5.10.*Not affected
  • 5.15.91 through 5.15.*Not affected
  • 6.1.9 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.