Description
certain VT-d IOMMUs may not work in shared page table mode For efficiency reasons, address translation control structures (page tables) may (and, on suitable hardware, by default will) be shared between CPUs, for second-level translation (EPT), and IOMMUs. These page tables are presently set up to always be 4 levels deep. However, an IOMMU may require the use of just 3 page table levels. In such a configuration the lop level table needs to be stripped before inserting the root table's address into the hardware pagetable base register. When sharing page tables, Xen erroneously skipped this stripping. Consequently, the guest is able to write to leaf page table entries.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Xen | xen | 4.15.x – < unspecified | unspecified |
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.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | xen | 4.15.1-r1 | — |
| Alpine v3.23 | xen | 4.15.1-r1 | — |
| Alpine v3.22 | xen | 4.15.1-r1 | — |
| Alpine v3.21 | xen | 4.15.1-r1 | — |
| Alpine v3.20 | xen | 4.15.1-r1 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | xen | 4.15.1-r1 | — |
| Alpine v3.18 | xen | 4.15.1-r1 | — |
| Alpine v3.17 | xen | 4.15.1-r1 | — |
| Alpine v3.16 | xen | 4.15.1-r1 | — |
| Alpine v3.15 | xen | 4.15.1-r1 | — |
| Alpine v3.14 | xen | 4.15.1-r1 | — |
References
- https://xenbits.xenproject.org/xsa/advisory-390.txt
- FEDORA-2021-03645e9807 vendor-advisory
- GLSA-202208-23 vendor-advisory