What’s Vulnerable › Vulnerabilities

CVE-2023-52997: ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()

Description

In the Linux kernel, the following vulnerability has been resolved: ipv4: prevent potential spectre v1 gadget in ip_metrics_convert() if (!type) continue; if (type > RTAX_MAX) return -EINVAL; ... metrics[type - 1] = val; @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 4.19.272, 5.10.166, 5.15.91, 5.4.231. Check the vendor advisory for mitigations.

References

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