CVE-2023-46841
CVE-2023-46841 · x86: shadow stack vs exceptions from emulation stubs
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Recent x86 CPUs offer functionality named Control-flow Enforcement Technology (CET). A sub-feature of this are Shadow Stacks (CET-SS). CET-SS is a hardware feature designed to protect against Return Oriented Programming attacks. When enabled, traditional stacks holding both data and return addresses are accompanied by so called "shadow stacks", holding little more than return addresses. Shadow stacks aren't writable by normal instructions, and upon function returns their contents are used to check for possible manipulation of a return address coming from the traditional stack. In particular certain memory accesses need intercepting by Xen. In various cases the necessary emulation involves kind of replaying of the instruction. Such replaying typically involves filling and then invoking of a stub. Such a replayed instruction may raise an exceptions, which is expected and dealt with accordingly. Unfortunately the interaction of both of the above wasn't right: Recovery involves removal of a call frame from the (traditional) stack. The counterpart of this operation for the shadow stack was missing.
CVSS 6.5 · Medium · EPSS 0.3% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
xen
- Versions
- consult Xen advisory XSA-451: Unknown
No fix published
xen Debian:12
- Versions
- 4.17.1+2-gb773c48e36-1
- 4.17.2+55-g0b56bed864-1
- 4.17.2+76-ge1f9cb16e2-1
- 4.17.2+76-ge1f9cb16e2-1~deb12u1
- 4.17.2-1
- 4.17.3+10-g091466ba55-1
- 4.17.3+10-g091466ba55-1.1
- 4.17.3+10-g091466ba55-1.1~exp1
- 4.17.3+10-g091466ba55-1.1~exp2
- 4.17.3+10-g091466ba55-1~deb12u1
- 4.17.3+36-g54dacb5c02-1
- Affected ranges
- ECOSYSTEM: < 4.17.5+23-ga4e5191dc0-1
Update to 4.17.5+23-ga4e5191dc0-1
xen Debian:13
- Affected ranges
- ECOSYSTEM: < 4.17.3+36-g54dacb5c02-1
Update to 4.17.3+36-g54dacb5c02-1
xen Debian:14
- Affected ranges
- ECOSYSTEM: < 4.17.3+36-g54dacb5c02-1
Update to 4.17.3+36-g54dacb5c02-1
xen Ubuntu:16.04:LTS
- Versions
- 4.5.1-0ubuntu1
- 4.5.1-0ubuntu2
- 4.6.0-1ubuntu1
- 4.6.0-1ubuntu2
- 4.6.0-1ubuntu4
- 4.6.0-1ubuntu4.1
- 4.6.0-1ubuntu4.2
- 4.6.0-1ubuntu4.3
- 4.6.5-0ubuntu1
- 4.6.5-0ubuntu1.1
- 4.6.5-0ubuntu1.2
- 4.6.5-0ubuntu1.4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xen Ubuntu:18.04:LTS
- Versions
- 4.9.0-0ubuntu3
- 4.9.0-0ubuntu4
- 4.9.2-0ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xen Ubuntu:20.04:LTS
- Versions
- 4.9.2-0ubuntu2
- 4.9.2-0ubuntu6
- 4.9.2-0ubuntu7
- 4.11.3+24-g14b62ab3e5-1ubuntu1
- 4.11.3+24-g14b62ab3e5-1ubuntu2
- 4.11.3+24-g14b62ab3e5-1ubuntu2.2
- 4.11.3+24-g14b62ab3e5-1ubuntu2.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xen Ubuntu:22.04:LTS
- Versions
- 4.11.4+24-gddaaccbbab-1ubuntu2
- 4.16.0-1~ubuntu2
- 4.16.0-1~ubuntu2.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xen Ubuntu:24.04:LTS
- Versions
- 4.17.2-1
- 4.17.2+55-g0b56bed864-1
- 4.17.2+76-ge1f9cb16e2-1
- 4.17.2+76-ge1f9cb16e2-1ubuntu1
- 4.17.3+10-g091466ba55-1
- 4.17.3+10-g091466ba55-1.1ubuntu2
- 4.17.3+10-g091466ba55-1.1ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xen Ubuntu:25.10
- Versions
- 4.20.0-1ubuntu1
- 4.20.0+68-g35cb38b222-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xen Ubuntu:26.10
- Versions
- 4.20.2+7-g1badcf5035-2build2
- 4.20.2+37-g61ff35323e-1ubuntu1
- 4.20.3+127-gc42374a105-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xen Ubuntu:26.04:LTS
- Versions
- 4.20.0+68-g35cb38b222-1
- 4.20.2+7-g1badcf5035-2
- 4.20.2+7-g1badcf5035-2build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://xenbits.xenproject.org/xsa/advisory-451.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZON4TLXG7TG4A2XZG563JMVTGQW4SF3A/
- http://xenbits.xen.org/xsa/advisory-451.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HES2IJXZY3H7HBPP4NVSVYYNGW254DMI/
- https://nvd.nist.gov/vuln/detail/CVE-2023-46841