What’s Vulnerable › Vulnerabilities

CVE-2023-52996: ipv4: prevent potential spectre v1 gadget in fib_metrics_match()

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.166, 5.15.91, 5.4.231, 6.1.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52996 or the next vulnerability affects your stack