CVE-2023-52746

published 21 May 2024 · updated 11 May 2026

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

2.5LowCVSS 2.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 419674224390fca298020fc0751a20812f84b12d, Kernel 5dc688fae6b7be9dbbf5304a3d2520d038e06db5, Kernel a893cc644812728e86e9aff517fd5698812ecef0 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.10, >=5106f4a8acff480e244300bc5097c0ad7048c3a2 <419674224390fca298020fc0751a20812f84b12d, >=5106f4a8acff480e244300bc5097c0ad7048c3a2 <5dc688fae6b7be9dbbf5304a3d2520d038e06db5, >=5106f4a8acff480e244300bc5097c0ad7048c3a2 <a893cc644812728e86e9aff517fd5698812ecef0, >=5106f4a8acff480e244300bc5097c0ad7048c3a2 <b6ee896385380aa621102e8ea402ba12db1cabff419674224390fca298020fc0751a20812f84b12d, 5dc688fae6b7be9dbbf5304a3d2520d038e06db5, a893cc644812728e86e9aff517fd5698812ecef0, b6ee896385380aa621102e8ea402ba12db1cabff

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52746 severity on Zeptric[![CVE-2023-52746](https://zeptric.io/badge/cve/CVE-2023-52746.svg)](https://zeptric.io/cve/CVE-2023-52746)