CVE-2024-53241: x86/xen: don't do PV iret hypercall through hypercall page

Published Dec 10, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

x86/xen: don't do PV iret hypercall through hypercall page

Instead of jumping to the Xen hypercall page for doing the iret hypercall, directly code the required sequence in xen-asm.S.

This is done in preparation of no longer using hypercall page at all, as it has shown to cause problems with speculation mitigations.

This is part of XSA-466 / CVE-2024-53241.

Other sources

Xen guests need to use different processor instructions to make explicit calls into the Xen hypervisor depending on guest type and/or CPU vendor. In order to hide those differences, the hypervisor can fill a hypercall page with the needed instruction sequences, allowing the guest operating system to call into the hypercall page instead of having to choose the correct instructions.

The hypercall page contains whole functions, which are written by the hypervisor and executed by the guest. With the lack of an interface between the guest OS and the hypervisor specifying how a potential modification of those functions should look like, the Xen hypervisor has no knowledge how any potential mitigation should look like or which hardening features should be put into place.

This results in potential vulnerabilities if the guest OS is using any speculative mitigation that performs a compiler transform on "ret" instructions in order to work (e.g. the Linux kernel rethunk or safe-ret mitigations).

Furthermore, the hypercall page has no provision for Control-flow Integrity schemes (e.g. kCFI/CET-IBT/FineIBT), and will simply malfunction in such configurations.

Red Hat

Affected Software

13 affected components
Linux Linux kernel
Linux Linux kernel<5.10.232
Linux Linux kernel>=5.11<5.15.175
Linux Linux kernel>=5.16<6.1.121
Linux Linux kernel>=6.2<6.6.67
Linux Linux kernel>=6.7<6.12.6
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
Linux Linux kernel=6.13-rc3
IBM Verify Identity Access<=11.0 - 11.0.2
IBM Security Verify Access<=10.0 - 10.0.9.1
IBM Verify Identity Access Container<=11.0 - 11.0.2
IBM Security Verify Access Container<=10.0 - 10.0.9.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade xen PV iret hypercall through hypercall page to a version that resolves this vulnerability.

    Fixed in x86/xen: don't do PV iret hypercall through hypercall pagePatch Xen Security Advisory 466 v3 (CVE-2024-53241)

Event History

Dec 10, 2024
Data Sourced
via Red Hat·09:22 AM
DescriptionSeverityAffected Software
Dec 24, 2024
CVE Published
via MITRE·09:24 AM
Data Sourced
via MITRE·09:24 AM
Description
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityAffected Software
Jul 8, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-53241?

CVE-2024-53241 has been classified with a moderate severity level.

2

How do I fix CVE-2024-53241?

To mitigate CVE-2024-53241, users should update their Linux Kernel to the latest stable version that includes the patch.

3

What systems are affected by CVE-2024-53241?

CVE-2024-53241 affects the Linux Kernel across various distributions that utilize the affected versions.

4

Is CVE-2024-53241 under active exploitation?

As of now, there is no public indication that CVE-2024-53241 is being actively exploited in the wild.

5

What are the potential impacts of CVE-2024-53241?

The potential impacts of CVE-2024-53241 could include system instability or vulnerabilities that may be exploited by malicious actors.

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