{"id":"CVE-2023-52746","aliases":["CVE-2023-52746"],"related":[],"kind":"vulnerability","state":"published","title":"xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"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 &gt; 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) &lt; 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.","source":"nvd"}],"published":"2024-05-21T15:23:07.255Z","modified":"2026-06-17T06:43:29.273Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","score":2.5,"rating":"LOW"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","score":2.5,"rating":"LOW"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"5106f4a8acff480e244300bc5097c0ad7048c3a2","fixed":"a893cc644812728e86e9aff517fd5698812ecef0","status":"affected"},{"type":"git","introduced":"5106f4a8acff480e244300bc5097c0ad7048c3a2","fixed":"5dc688fae6b7be9dbbf5304a3d2520d038e06db5","status":"affected"},{"type":"git","introduced":"5106f4a8acff480e244300bc5097c0ad7048c3a2","fixed":"419674224390fca298020fc0751a20812f84b12d","status":"affected"},{"type":"git","introduced":"5106f4a8acff480e244300bc5097c0ad7048c3a2","fixed":"b6ee896385380aa621102e8ea402ba12db1cabff","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.10.168","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.94","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.12","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10","fixed":"5.10.168"},{"status":"affected","introduced":"5.11","fixed":"5.15.94"},{"status":"affected","introduced":"5.16","fixed":"6.1.12"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a893cc644812728e86e9aff517fd5698812ecef0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5dc688fae6b7be9dbbf5304a3d2520d038e06db5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/419674224390fca298020fc0751a20812f84b12d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6ee896385380aa621102e8ea402ba12db1cabff","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-29T17:50:37.070Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52746","url":"https://www.cve.org/CVERecord?id=CVE-2023-52746","licence":"CVE Terms of Use","modified":"2026-05-11T19:32:24.038Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52746","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52746","licence":"Public domain","modified":"2026-06-17T06:43:29.273Z"}],"updatedAt":"2026-11-25T22:58:33.999Z","epss":{"score":0.00243,"percentile":0.16562,"date":"2026-12-01T12:00:22.000Z"}}