CVE-2022-42332
Fixed in a distro release EPSS <1%
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.
Products: xen
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.15 | xen | 4.15.5-r0 |
| Alpine 3.16 | xen | 4.16.4-r0 |
| Alpine 3.17 | xen | 4.16.4-r0 |
| Alpine 3.18 | xen | 4.17.0-r5 |
| Alpine 3.19 | xen | 4.17.0-r5 |
| Alpine 3.20 | xen | 4.17.0-r5 |
| Alpine 3.21 | xen | 4.17.0-r5 |
| Alpine 3.22 | xen | 4.17.0-r5 |
| Alpine 3.23 | xen | 4.17.0-r5 |
| Alpine 3.24 | xen | 4.17.0-r5 |
| Debian 11 | xen | 4.14.5+94-ge49571868d-1 |
| Debian 12 | xen | 4.17.0+74-g3eac216e6e-1 |
| Debian 13 | xen | 4.17.0+74-g3eac216e6e-1 |
| Debian 14 | xen | 4.17.0+74-g3eac216e6e-1 |
| SUSE Enterprise Storage 7 | xen | 4.13.4_20-150200.3.71.1 |
| SUSE Enterprise Storage 7.1 | xen | 4.14.5_12-150300.3.48.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | xen | 4.12.4_34-150100.3.86.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | xen | 4.13.4_20-150200.3.71.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | xen | 4.14.5_12-150300.3.48.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | xen | 4.14.5_12-150300.3.48.1 |
| SUSE Linux Enterprise Micro 5.1 | xen | 4.14.5_12-150300.3.48.1 |
| SUSE Linux Enterprise Micro 5.2 | xen | 4.14.5_12-150300.3.48.1 |
| SUSE Linux Enterprise Micro 5.3 | xen | 4.16.3_06-150400.4.25.1 |
| SUSE Linux Enterprise Micro 5.4 | xen | 4.16.3_06-150400.4.25.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | xen | 4.16.3_06-150400.4.25.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP4 | xen | 4.16.3_06-150400.4.25.1 |
| SUSE Linux Enterprise Real Time 15 SP3 | xen | 4.14.5_12-150300.3.48.1 |
| SUSE Linux Enterprise Server 12 SP2-BCL | xen | 4.7.6_32-43.104.1 |
| SUSE Linux Enterprise Server 12 SP4-ESPOS | xen | 4.11.4_38-2.89.1 |
| SUSE Linux Enterprise Server 12 SP4-LTSS | xen | 4.11.4_38-2.89.1 |
| SUSE Linux Enterprise Server 12 SP5 | xen | 4.12.4_34-3.88.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | xen | 4.12.4_34-150100.3.86.1 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | xen | 4.13.4_20-150200.3.71.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | xen | 4.14.5_12-150300.3.48.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | xen | 4.11.4_38-2.89.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | xen | 4.12.4_34-3.88.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | xen | 4.12.4_34-150100.3.86.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | xen | 4.13.4_20-150200.3.71.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | xen | 4.14.5_12-150300.3.48.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP5 | xen | 4.12.4_34-3.88.1 |
| SUSE Manager Proxy 4.2 | xen | 4.14.5_12-150300.3.48.1 |
| SUSE Manager Server 4.2 | xen | 4.14.5_12-150300.3.48.1 |
| SUSE OpenStack Cloud 9 | xen | 4.11.4_38-2.89.1 |
| SUSE OpenStack Cloud Crowbar 9 | xen | 4.11.4_38-2.89.1 |
| Ubuntu 16.04 LTS | xen | no fix |
| Ubuntu 18.04 LTS | xen | no fix |
| Ubuntu 20.04 LTS | xen | no fix |
| Ubuntu 22.04 LTS | xen | no fix |
| Ubuntu 24.04 LTS | xen | no fix |
| Ubuntu 25.10 | xen | no fix |
| Ubuntu 26.04 LTS | xen | no fix |
| Ubuntu 26.10 | xen | no fix |
| openSUSE Leap 15.4 | xen | 4.16.3_06-150400.4.25.1 |
| openSUSE Leap Micro 5.3 | xen | 4.16.3_06-150400.4.25.1 |
| openSUSE Tumbleweed | xen | 4.17.0_06-1.1 |