CVE-2021-3308
An issue was discovered in Xen 4.12.3 through 4.12.4 and 4.13.1 through 4.14.x. An x86 HVM guest with PCI pass through devices can force the allocation of all IDT vectors on the system by rebooting itself with MSI or MSI-X capabilities enabled and entries setup. Such reboots will leak any vectors used by the MSI(-X) entries that the guest might had enabled, and hence will lead to vector exhaustion on the system, not allowing further PCI pass through devices to work properly. HVM guests with PCI pass through devices can mount a Denial of Service (DoS) attack affecting the pass through of PCI devices to other guests or the hardware domain. In the latter case, this would affect the entire host.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | xen | Fix pending | ||
| Debian 14 | xen | Fixed | 4.14.1+11-gb0b734a8b3-1 | DEBIAN-CVE-2021-3308 |
| Debian 13 | xen | Fixed | 4.14.1+11-gb0b734a8b3-1 | DEBIAN-CVE-2021-3308 |
| Debian 12 | xen | Fixed | 4.14.1+11-gb0b734a8b3-1 | DEBIAN-CVE-2021-3308 |
| Alpine Linux 3.24 | xen | Fixed | 4.14.1-r2 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.23 | xen | Fixed | 4.14.1-r2 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.22 | xen | Fixed | 4.14.1-r2 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.21 | xen | Fixed | 4.14.1-r2 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.20 | xen | Fixed | 4.14.1-r2 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.19 | xen | Fixed | 4.14.1-r2 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.18 | xen | Fixed | 4.14.1-r2 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.17 | xen | Fixed | 4.14.1-r2 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.16 | xen | Fixed | 4.14.1-r2 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.15 | xen | Fixed | 4.14.1-r2 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.14 | xen | Fixed | 4.14.1-r2 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.13 | xen | Fixed | 4.14.1-r1 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.12 | xen | Fixed | 4.13.2-r4 | ALPINE-CVE-2021-3308 |
| Alpine Linux 3.11 | xen | Fixed | 4.13.2-r4 | ALPINE-CVE-2021-3308 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202107-30 (vendor-advisory)
References
- http://xenbits.xen.org/xsa/advisory-360.html
- http://www.openwall.com/lists/oss-security/2021/01/26/4
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S5C42TMQYB6SDVT2MPFEWY65A6RSUVBN/
- https://security.gentoo.org/glsa/202107-30
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.