Description
x86 shadow plus log-dirty mode use-after-free In environments where host assisted address translation is necessary but Hardware Assisted Paging (HAP) is unavailable, Xen will run guests in so called shadow mode. Shadow mode maintains a pool of memory used for both shadow page tables as well as auxiliary data structures. To migrate or snapshot guests, Xen additionally runs them in so called log-dirty mode. The data structures needed by the log-dirty tracking are part of aformentioned auxiliary data. In order to keep error handling efforts within reasonable bounds, for operations which may require memory allocations shadow mode logic ensures up front that enough memory is available for the worst case requirements. Unfortunately, while page table memory is properly accounted for on the code path requiring the potential establishing of new shadows, demands by the log-dirty infrastructure were not taken into consideration. As a result, just established shadow page tables could be freed again immediately, while other code is still accessing them on the assumption that they would remain allocated.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Xen | xen | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | xen | 4.17.0+74-g3eac216e6e-1 | — |
| Debian 13 | xen | 4.17.0+74-g3eac216e6e-1 | — |
| Debian 12 | xen | 4.17.0+74-g3eac216e6e-1 | — |
| Debian 11 | xen | 4.14.5+94-ge49571868d-1 | DSA-5378-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | xen | No fix yet | — |
| Ubuntu 26.04 LTS | xen | No fix yet | — |
| Ubuntu 25.10 | xen | No fix yet | — |
| Ubuntu 24.04 LTS | xen | No fix yet | — |
| Ubuntu 22.04 LTS | xen | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | xen | No fix yet | — |
| Ubuntu 18.04 LTS | xen | No fix yet | — |
| Ubuntu 16.04 LTS | xen | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | xen | 4.16.3_06-150400.4.25.1 | SUSE-SU-2023:0848-1 |
| SLES 15 SP3 | xen | 4.14.5_12-150300.3.48.1 | SUSE-SU-2023:0847-1 |
| SLES 15 SP2 | xen | 4.13.4_20-150200.3.71.1 | SUSE-SU-2023:0862-1 |
| SLES 15 SP1 | xen | 4.12.4_34-150100.3.86.1 | SUSE-SU-2023:0858-1 |
| SLES 12 SP5 | xen | 4.12.4_34-3.88.1 | SUSE-SU-2023:0845-1 |
Show 21 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP4 | xen | 4.11.4_38-2.89.1 | SUSE-SU-2023:0859-1 |
| SLES 12 SP2 | xen | 4.7.6_32-43.104.1 | SUSE-SU-2023:0846-1 |
| SLES for SAP 15 SP3 | xen | 4.14.5_12-150300.3.48.1 | SUSE-SU-2023:0847-1 |
| SLES for SAP 15 SP2 | xen | 4.13.4_20-150200.3.71.1 | SUSE-SU-2023:0862-1 |
| SLES for SAP 15 SP1 | xen | 4.12.4_34-150100.3.86.1 | SUSE-SU-2023:0858-1 |
| SLES for SAP 12 SP5 | xen | 4.12.4_34-3.88.1 | SUSE-SU-2023:0845-1 |
| SLES for SAP 12 SP4 | xen | 4.11.4_38-2.89.1 | SUSE-SU-2023:0859-1 |
| SLE Real Time 15 SP3 | xen | 4.14.5_12-150300.3.48.1 | SUSE-SU-2023:0847-1 |
| SLE Micro 5.4 | xen | 4.16.3_06-150400.4.25.1 | SUSE-SU-2023:0848-2 |
| SLE Micro 5.3 | xen | 4.16.3_06-150400.4.25.1 | SUSE-SU-2023:0848-1 |
| SLE Micro 5.2 | xen | 4.14.5_12-150300.3.48.1 | SUSE-SU-2023:0847-1 |
| SLE Micro 5.1 | xen | 4.14.5_12-150300.3.48.1 | SUSE-SU-2023:0847-1 |
| SLE HPC 15 SP3 | xen | 4.14.5_12-150300.3.48.1 | SUSE-SU-2023:0847-1 |
| SLE HPC 15 SP2 | xen | 4.13.4_20-150200.3.71.1 | SUSE-SU-2023:0862-1 |
| SLE HPC 15 SP1 | xen | 4.12.4_34-150100.3.86.1 | SUSE-SU-2023:0858-1 |
| SUSE OpenStack Cloud Crowbar 9 | xen | 4.11.4_38-2.89.1 | SUSE-SU-2023:0859-1 |
| SUSE OpenStack Cloud 9 | xen | 4.11.4_38-2.89.1 | SUSE-SU-2023:0859-1 |
| SUSE Manager Server 4.2 | xen | 4.14.5_12-150300.3.48.1 | SUSE-SU-2023:0847-1 |
| SUSE Manager Proxy 4.2 | xen | 4.14.5_12-150300.3.48.1 | SUSE-SU-2023:0847-1 |
| SUSE Enterprise Storage 7.1 | xen | 4.14.5_12-150300.3.48.1 | SUSE-SU-2023:0847-1 |
| SUSE Enterprise Storage 7 | xen | 4.13.4_20-150200.3.71.1 | SUSE-SU-2023:0862-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | xen | 4.17.0_06-1.1 | openSUSE-SU-2024:12833-1 |
| openSUSE Leap 15.4 | xen | 4.16.3_06-150400.4.25.1 | SUSE-SU-2023:0848-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.3 | xen | 4.16.3_06-150400.4.25.1 | SUSE-SU-2023:0848-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | xen | 4.17.0-r5 | — |
| Alpine v3.23 | xen | 4.17.0-r5 | — |
| Alpine v3.22 | xen | 4.17.0-r5 | — |
| Alpine v3.21 | xen | 4.17.0-r5 | — |
| Alpine v3.20 | xen | 4.17.0-r5 | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | xen | 4.17.0-r5 | — |
| Alpine v3.18 | xen | 4.17.0-r5 | — |
| Alpine v3.17 | xen | 4.16.4-r0 | — |
| Alpine v3.16 | xen | 4.16.4-r0 | — |
| Alpine v3.15 | xen | 4.15.5-r0 | — |
Advisories 11
- DSA-5378-1 xen - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:0859-1 Security update for xen SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0858-1 Security update for xen SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0847-1 Security update for xen SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0862-1 Security update for xen SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0846-1 Security update for xen SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0845-1 Security update for xen SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12833-1 xen-4.17.0_06-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0848-1 Security update for xen SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2023:0848-2 Security update for xen SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2023-0703 Xen: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 4, 2024
References
- https://xenbits.xenproject.org/xsa/advisory-427.txt
- http://xenbits.xen.org/xsa/advisory-427.html
- [oss-security] 20230321 Xen Security Advisory 427 v2 (CVE-2022-42332) - x86 shadow plus log-dirty mode use-after-free mailing-list
- FEDORA-2023-703f133eb3 vendor-advisory
- FEDORA-2023-da8315e641 vendor-advisory
- DSA-5378 vendor-advisory
- https://security.gentoo.org/glsa/202402-07