CVEvulnerability

CVE-2023-52746

2.5 LOW Published 2024-05-21 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-05-21
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
2.5 LOW — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-401

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 configurations

• linux linux kernel (>= 5.10 < 5.10.168) • linux linux kernel (>= 5.11 < 5.15.94) • linux linux kernel (>= 5.16 < 6.1.12) • linux linux kernel 6.2

Related

Weakness · CWE (1)

  • CWE-401 Missing Release of Memory after Effective Lifetime weakness

References