{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52746","id":"CVE-2023-52746","title":"xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()","description":"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 pre","descriptionLong":"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.","published":"2024-05-21T15:23:07.255Z","updated":"2026-10-28T02:30:36.874932543Z","reserved":"2024-05-21T15:19:24.233Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"CISA-ADP"},{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"}],"rating":"low","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5106f4a8acff480e244300bc5097c0ad7048c3a2","lessThan":"a893cc644812728e86e9aff517fd5698812ecef0","status":"affected","versionType":"git"},{"version":"5106f4a8acff480e244300bc5097c0ad7048c3a2","lessThan":"5dc688fae6b7be9dbbf5304a3d2520d038e06db5","status":"affected","versionType":"git"},{"version":"5106f4a8acff480e244300bc5097c0ad7048c3a2","lessThan":"419674224390fca298020fc0751a20812f84b12d","status":"affected","versionType":"git"},{"version":"5106f4a8acff480e244300bc5097c0ad7048c3a2","lessThan":"b6ee896385380aa621102e8ea402ba12db1cabff","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"5.10.168","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.94","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.12","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/a893cc644812728e86e9aff517fd5698812ecef0","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/5dc688fae6b7be9dbbf5304a3d2520d038e06db5","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/419674224390fca298020fc0751a20812f84b12d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b6ee896385380aa621102e8ea402ba12db1cabff","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52746.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52746","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00243,"epssPercentile":0.15766,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52746","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52746","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52746","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-52746","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}