ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
Summary
| CVE | CVE-2023-52997 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-03-27 17:15:48 UTC |
| Updated | 2026-11-05 21:17:06 UTC |
| 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. |
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
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS: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)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.