{"id":"CVE-2023-52746","published":"2024-05-21T15:23:07Z","modified":"2026-05-11T19:32:24Z","title":"xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()\n\n  int type = nla_type(nla);\n\n  if (type > XFRMA_MAX) {\n            return -EOPNOTSUPP;\n  }\n\n@type is then used as an array index and can be used\nas a Spectre v1 gadget.\n\n  if (nla_len(nla) < compat_policy[type].len) {\n\narray_index_nospec() can be used to prevent leaking\ncontent of kernel memory to malicious users.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00278,"percentile":0.12911,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a893cc644812728e86e9aff517fd5698812ecef0","tags":[]},{"url":"https://git.kernel.org/stable/c/5dc688fae6b7be9dbbf5304a3d2520d038e06db5","tags":[]},{"url":"https://git.kernel.org/stable/c/419674224390fca298020fc0751a20812f84b12d","tags":[]},{"url":"https://git.kernel.org/stable/c/b6ee896385380aa621102e8ea402ba12db1cabff","tags":[]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":2.58},{"name":"CVSS severity","points":1.75}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5106f4a8acff480e244300bc5097c0ad7048c3a2, < a893cc644812728e86e9aff517fd5698812ecef0",">= 5106f4a8acff480e244300bc5097c0ad7048c3a2, < 5dc688fae6b7be9dbbf5304a3d2520d038e06db5",">= 5106f4a8acff480e244300bc5097c0ad7048c3a2, < 419674224390fca298020fc0751a20812f84b12d",">= 5106f4a8acff480e244300bc5097c0ad7048c3a2, < b6ee896385380aa621102e8ea402ba12db1cabff"]},{"vendor":"Linux","product":"Linux","versions":["5.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-29T17:50:37.070696Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59465","exploited":false,"provenance":"source"}}