CVE-2023-52997

published 27 Mar 2025 · updated 7 Nov 2026

ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.4.231, Kernel 4.19.272, Kernel 5.15.91 and 8 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=4.20 <5.4.231, >=4.3 <4.19.272, >=5.11 <5.15.91, >=5.16 <6.1.9, >=5.5 <5.10.166, =6.2, >=6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 <34c6142f0df9cd75cba5a7aa9df0960d2854b415, >=6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 <6850fe301d015a7d2012d1de8caf43dafb7cc2f6, >=6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 <746db9ec1e672eee13965625ddac0d97e16fa20c, >=6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 <d50e7348b44f1e046121ff5be01b7fb6978a1149, >=6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 <ef050cf5fb70d995a0d03244e25179b7c66a924a, =4.3, >=6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 <1d1d63b612801b3f0a39b7d4467cad0abd60e5c85.4.231, 4.19.272, 5.15.91, 6.1.9, 5.10.166, 34c6142f0df9cd75cba5a7aa9df0960d2854b415, 6850fe301d015a7d2012d1de8caf43dafb7cc2f6, 746db9ec1e672eee13965625ddac0d97e16fa20c, d50e7348b44f1e046121ff5be01b7fb6978a1149, ef050cf5fb70d995a0d03244e25179b7c66a924a, 1d1d63b612801b3f0a39b7d4467cad0abd60e5c8
linux-kernel: Kernel>=4.20.0 <5.4.231, >=4.3.0 <4.19.272, >=5.11.0 <5.15.91, >=5.16.0 <6.1.9, >=5.5.0 <5.10.1665.4.231, 4.19.272, 5.15.91, 6.1.9, 5.10.166

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52997 severity on Zeptric[![CVE-2023-52997](https://zeptric.io/badge/cve/CVE-2023-52997.svg)](https://zeptric.io/cve/CVE-2023-52997)