CVE-2023-52746
2.5
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 5106f4a8acff480e244300bc5097c0ad7048c3a2 < a893cc644812728e86e9aff517fd5698812ecef0 | affected |
| Linux | Linux | 5106f4a8acff480e244300bc5097c0ad7048c3a2 < 5dc688fae6b7be9dbbf5304a3d2520d038e06db5 | affected |
| Linux | Linux | 5106f4a8acff480e244300bc5097c0ad7048c3a2 < 419674224390fca298020fc0751a20812f84b12d | affected |
| Linux | Linux | 5106f4a8acff480e244300bc5097c0ad7048c3a2 < b6ee896385380aa621102e8ea402ba12db1cabff | affected |
| Linux | Linux | 5.10 | affected |
| Linux | Linux | 0 < 5.10 | unaffected |
| Linux | Linux | 5.10.168 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.94 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.12 <= 6.1.* | unaffected |
| Linux | Linux | 6.2 <= * | unaffected |
Weaknesses
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
CVE Program Container
Additional References
- https://git.kernel.org/stable/c/a893cc644812728e86e9aff517fd5698812ecef0
- https://git.kernel.org/stable/c/5dc688fae6b7be9dbbf5304a3d2520d038e06db5
- https://git.kernel.org/stable/c/419674224390fca298020fc0751a20812f84b12d
- https://git.kernel.org/stable/c/b6ee896385380aa621102e8ea402ba12db1cabff
References
- https://git.kernel.org/stable/c/a893cc644812728e86e9aff517fd5698812ecef0
- https://git.kernel.org/stable/c/5dc688fae6b7be9dbbf5304a3d2520d038e06db5
- https://git.kernel.org/stable/c/419674224390fca298020fc0751a20812f84b12d
- https://git.kernel.org/stable/c/b6ee896385380aa621102e8ea402ba12db1cabff
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.