CVE-2023-46841: x86: shadow stack vs exceptions from emulation stubs

Published Feb 27, 2024
·
Updated

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.

Affected Software

3 affected components
Xen Project Xen
Fedoraproject Fedora=40
XEN Xen>=4.14.0

Event History

Mar 20, 2024
CVE Published
via MITRE·10:40 AM
Data Sourced
via MITRE·10:40 AM
Description
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-46841?

CVE-2023-46841 is classified as a critical vulnerability due to its potential impact on system security.

2

How do I fix CVE-2023-46841?

To mitigate CVE-2023-46841, ensure that you are using the latest version of the Xen Hypervisor that includes the necessary security patches.

3

What systems are affected by CVE-2023-46841?

CVE-2023-46841 primarily affects the Xen Hypervisor in environments utilizing x86 CPUs with Control-flow Enforcement Technology.

4

What is the impact of CVE-2023-46841?

The impact of CVE-2023-46841 includes a heightened risk of Return Oriented Programming attacks if the vulnerability is exploited.

5

When was CVE-2023-46841 disclosed?

CVE-2023-46841 was disclosed recently as part of ongoing security assessments for x86 CPU vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203