CVE Database›Document archive›CVE-2023-52997

CVE-2023-52997

kernel: ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()

Loading…

Severity

Moderate

Red Hat Product Security

4.7

CVSS 3.1

Review impact separately from score.

Published · March 27, 2025

Updated · July 22, 2026

Description

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 resolved, the line metrics[type - 1] = val may be evaluated. A situation where type is out-of-bounds could lead to improper kernel memory access.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

CWE not specified