2.5low
xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()
- Severity
- 2.5low CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 5106f4a8acff480e244300bc5097c0ad7048c3a2 before a893cc644812728e86e9aff517fd5698812ecef0, from 5106f4a8acff480e244300bc5097c0ad7048c3a2 before 5dc688fae6b7be9dbbf5304a3d2520d038e06db5, from 5106f4a8acff480e244300bc5097c0ad7048c3a2 before 419674224390fca298020fc0751a20812f84b12d, from 5106f4a8acff480e244300bc5097c0ad7048c3a2 before b6ee896385380aa621102e8ea402ba12db1cabff, 5.10 Not affected: before 5.10, from 5.10.168 up to 5.10.*, from 5.15.94 up to 5.15.*, from 6.1.12 up to 6.1.*, from 6.2 up to * | CVE List |
| linux linux_kernel | from 5.10 before 5.10.168, from 5.11 before 5.15.94, from 5.16 before 6.1.12, 6.2 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: xfrm/compat: previene el posible gadget spectre v1 en xfrm_xlate32_attr() int type = nla_type(nla); if (tipo > XFRMA_MAX) { return -EOPNOTSUPP; } @type luego se usa como índice de matriz y se puede usar como un gadget Spectre v1. if (nla_len(nla) < compat_policy[type].len) { array_index_nospec() se puede utilizar para evitar la filtración de contenido de la memoria del kernel a usuarios malintencionados.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52746 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-52746 changed 2026-06-17 | Public domain |