CVE-2023-52746

xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()

LOW
2.5
CVSS Score
Published: May 21, 2024 at 03:23 PM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW2.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr() int type = nla_type(nla); if (type > XFRMA_MAX) { return -EOPNOTSUPP; } @type is then used as an array index and can be used as a Spectre v1 gadget. if (nla_len(nla) < compat_policy[type].len) { array_index_nospec() can be used to prevent leaking content of kernel memory to malicious users.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10 ≤ v < 5.10.1685.10 ≤ v < 5.15.945.10 ≤ v < 6.1.125.10 ≤ v < 6.25.11 ≤ v < 5.15.945.16 ≤ v < 6.1.125106f4a8acff480e244300bc5097c0ad7048c3a26.2 rc16.2 rc26.2 rc36.2 rc46.2 rc56.2 rc66.2 rc7
Vendor states this is fixed in 419674224390fca298020fc0751a20812f84b12d (fixed)
Vendor states this is fixed in 5dc688fae6b7be9dbbf5304a3d2520d038e06db5 (fixed)
Vendor states this is fixed in a893cc644812728e86e9aff517fd5698812ecef0 (fixed)
Vendor states this is fixed in b6ee896385380aa621102e8ea402ba12db1cabff (fixed)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.10.168 (unaffected)
Vendor states this is fixed in 5.15.94 (unaffected)
Vendor states this is fixed in 6.1.12 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/419674224390fca298020fc0751a20812f84b12d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5dc688fae6b7be9dbbf5304a3d2520d038e06db5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a893cc644812728e86e9aff517fd5698812ecef0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b6ee896385380aa621102e8ea402ba12db1cabff

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

2.5LOWCISA-ADP
Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card