Vulnerability in Linux

CVE-2023-52746

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 2.5 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N.

EPSS exploit prediction

EPSS 0.002, 15.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 5106f4a8acff480e244300bc5097c0ad7048c3a2, 5.10, 0
  • Linux Kernel — versions 6.2

Weakness classification (CWE)

References