CVE-2023-52997
published 2025-03-27CVE-2023-52997: In the Linux kernel, the following vulnerability has been resolved: ipv4: prevent potential spectre v1 gadget in ip_metrics_convert() if (!type) continue; if…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.25%
16.7th percentile
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
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.11-1 (bookworm) | linux 6.1.11-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 < ef050cf5fb70d995a0d03244e25179b7c66a924a | ef050cf5fb70d995a0d03244e25179b7c66a924a |
| linux | linux | >= 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 < 746db9ec1e672eee13965625ddac0d97e16fa20c | 746db9ec1e672eee13965625ddac0d97e16fa20c |
| linux | linux | >= 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 < 34c6142f0df9cd75cba5a7aa9df0960d2854b415 | 34c6142f0df9cd75cba5a7aa9df0960d2854b415 |
| linux | linux | >= 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 < d50e7348b44f1e046121ff5be01b7fb6978a1149 | d50e7348b44f1e046121ff5be01b7fb6978a1149 |
| linux | linux | >= 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 < 6850fe301d015a7d2012d1de8caf43dafb7cc2f6 | 6850fe301d015a7d2012d1de8caf43dafb7cc2f6 |
| linux | linux | >= 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 < 1d1d63b612801b3f0a39b7d4467cad0abd60e5c8 | 1d1d63b612801b3f0a39b7d4467cad0abd60e5c8 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.178-1 | 5.10.178-1 |
| linux | linux_kernel | >= 0 < 6.1.11-1 | 6.1.11-1 |
| linux | linux_kernel | >= 0 < 6.1.11-1 | 6.1.11-1 |
| linux | linux_kernel | >= 0 < 6.1.11-1 | 6.1.11-1 |
| linux | linux_kernel | >= 4.20 < 5.4.231 | 5.4.231 |
| linux | linux_kernel | >= 4.3 < 4.19.272 | 4.19.272 |
| linux | linux_kernel | >= 5.11 < 5.15.91 | 5.15.91 |
| linux | linux_kernel | >= 5.16 < 6.1.9 | 6.1.9 |
| linux | linux_kernel | >= 5.5 < 5.10.166 | 5.10.166 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2023-52997: In the Linux kernel, the following vulnerability has been resolved: ipv4: prevent potential spectre v1 gadget in ip_metrics_convert() if (!type) conti
osv·2025-03-27·CVSS 5.5
CVE-2023-52997 [MEDIUM] CVE-2023-52997: In the Linux kernel, the following vulnerability has been resolved: ipv4: prevent potential spectre v1 gadget in ip_metrics_convert() if (!type) conti
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.
GHSA
GHSA-f436-rh44-wfp7: In the Linux kernel, the following vulnerability has been resolved:
ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
if (!type)
con
ghsa_unreviewed·2025-03-27
CVE-2023-52997 [MEDIUM] GHSA-f436-rh44-wfp7: In the Linux kernel, the following vulnerability has been resolved:
ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
if (!type)
con
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.
Red Hat
kernel: ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
vendor_redhat·2025-03-27·CVSS 5.5
CVE-2023-52997 [MEDIUM] kernel: ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
kernel: ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
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.
A vulnerability was found in the Linux kernel's `ip_metrics_convert()` function, where improper handling of user input can potentially leak kernel memory via side channels. This issue is caused by the use of `@type`, a user-controlled input, which is an array within this function. If a CPU speculatively executes instructions past the conditional branch before the branch condition is resolve
Debian
CVE-2023-52997: linux - In the Linux kernel, the following vulnerability has been resolved: ipv4: preve...
vendor_debian·2023·CVSS 5.5
CVE-2023-52997 [MEDIUM] CVE-2023-52997: linux - In the Linux kernel, the following vulnerability has been resolved: ipv4: preve...
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.
Scope: local
bookworm: resolved (fixed in 6.1.11-1)
bullseye: resolved (fixed in 5.10.178-1)
forky: resolved (fixed in 6.1.11-1)
sid: resolved (fixed in 6.1.11-1)
trixie: resolved (fixed in 6.1.11-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://git.kernel.org/stable/c/1d1d63b612801b3f0a39b7d4467cad0abd60e5c8https://git.kernel.org/stable/c/34c6142f0df9cd75cba5a7aa9df0960d2854b415https://git.kernel.org/stable/c/6850fe301d015a7d2012d1de8caf43dafb7cc2f6https://git.kernel.org/stable/c/746db9ec1e672eee13965625ddac0d97e16fa20chttps://git.kernel.org/stable/c/d50e7348b44f1e046121ff5be01b7fb6978a1149https://git.kernel.org/stable/c/ef050cf5fb70d995a0d03244e25179b7c66a924a
2025-03-27
Published