ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()

Summary

CVECVE-2023-52997
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-03-27 17:15:48 UTC
Updated2026-11-05 21:17:06 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

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

Problem Types: NVD-CWE-noinfo

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 ef050cf5fb70d995a0d03244e25179b7c66a924a git Not specified
CNA Linux Linux affected 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 746db9ec1e672eee13965625ddac0d97e16fa20c git Not specified
CNA Linux Linux affected 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 34c6142f0df9cd75cba5a7aa9df0960d2854b415 git Not specified
CNA Linux Linux affected 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 d50e7348b44f1e046121ff5be01b7fb6978a1149 git Not specified
CNA Linux Linux affected 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 6850fe301d015a7d2012d1de8caf43dafb7cc2f6 git Not specified
CNA Linux Linux affected 6cf9dfd3bd62edfff69f11c0f111bc261166e4c7 1d1d63b612801b3f0a39b7d4467cad0abd60e5c8 git Not specified
CNA Linux Linux affected 4.3 Not specified
CNA Linux Linux unaffected 4.3 semver Not specified
CNA Linux Linux unaffected 4.19.272 4.19.* semver Not specified
CNA Linux Linux unaffected 5.4.231 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.166 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.91 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.9 6.1.* semver Not specified
CNA Linux Linux unaffected 6.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/6850fe301d015a7d2012d1de8caf43dafb7cc2f6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/34c6142f0df9cd75cba5a7aa9df0960d2854b415 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/746db9ec1e672eee13965625ddac0d97e16fa20c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/d50e7348b44f1e046121ff5be01b7fb6978a1149 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/1d1d63b612801b3f0a39b7d4467cad0abd60e5c8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/ef050cf5fb70d995a0d03244e25179b7c66a924a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report