Bug 1181254 (CVE-2021-3308) - VUL-0: CVE-2021-3308: xen: IRQ vector leak on x86 (XSA-360)
Summary: VUL-0: CVE-2021-3308: xen: IRQ vector leak on x86 (XSA-360)
Status: RESOLVED FIXED
Alias: CVE-2021-3308
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/276124/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-3308:5.9:(AV:L...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-21 15:10 UTC by Alexandros Toptsoglou
Modified: 2022-06-10 10:07 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
patches (1.66 KB, application/x-xz)
2021-01-21 15:11 UTC, Alexandros Toptsoglou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandros Toptsoglou 2021-01-21 15:10:44 UTC
Xen Security Advisory XSA-360

                        IRQ vector leak on x86

ISSUE DESCRIPTION
=================

A 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.

IMPACT
======

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.

VULNERABLE SYSTEMS
==================

Xen versions 4.12.3, 4.12.4, and all versions from 4.13.1 onwards are
vulnerable.  Xen version 4.13.0 and all versions up to 4.12.2 are not
affected.

Only x86 systems running HVM guests with PCI pass through devices are
vulnerable.

MITIGATION
==========

Not running HVM guests with PCI pass through devices will avoid the
vulnerability.  Note that even non-malicious guests can trigger this
vulnerability as part of normal operation.

RESOLUTION
==========

Applying the appropriate attached patch resolves this issue.

Note that patches for released versions are generally prepared to
apply to the stable branches, and may not apply cleanly to the most
recent release tarball.  Downstreams are encouraged to update to the
tip of the stable branch before applying these patches.

xsa360.patch           xen-unstable
xsa360-4.14.patch      Xen 4.14 - 4.12

$ sha256sum xsa360*
c874ad2b9edb0791ac975735306d055b1916f4acbc59e6f1550fbf33223d6106  xsa360.meta
592f3afda63777d31844e0e34d85fbe387a62d59fa7903ee19b22a98fba68894  xsa360.patch
809515011efb781a2a8742e9acfd76412d3920c2d4142bb187588cd36f77383e  xsa360-4.14.patch
$

CREDITS
=======

This issue was discovered by James McCoy, debugged in combination with
Samuel Verschelde of Vates, and recognised as a security issue by Roger
Pau Monné of Citrix.

NOTE REGARDING LACK OF EMBARGO
==============================

This was reported and debugged publicly, before the security
implications were apparent.
Comment 1 Alexandros Toptsoglou 2021-01-21 15:11:56 UTC
Created attachment 845405 [details]
patches
Comment 2 OBSbugzilla Bot 2021-01-22 22:50:06 UTC
This is an autogenerated message for OBS integration:
This bug (1181254) was mentioned in
https://build.opensuse.org/request/show/866148 Factory / xen
Comment 4 Alexandros Toptsoglou 2021-02-02 16:44:49 UTC
Tracked SLE12-SP5, SLE15-SP1 and SLE15-SP2 as affected.
Comment 6 Swamp Workflow Management 2021-04-06 19:15:43 UTC
SUSE-SU-2021:1023-1: An update that solves four vulnerabilities and has 6 fixes is now available.

Category: security (important)
Bug References: 1027519,1177112,1177204,1178591,1178736,1179148,1181254,1181989,1182846,1183072
CVE References: CVE-2020-28368,CVE-2021-20257,CVE-2021-28687,CVE-2021-3308
JIRA References: 
Sources used:
SUSE Linux Enterprise Software Development Kit 12-SP5 (src):    xen-4.12.4_09-3.39.3
SUSE Linux Enterprise Server 12-SP5 (src):    xen-4.12.4_09-3.39.3

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Swamp Workflow Management 2021-04-06 19:18:09 UTC
SUSE-SU-2021:1028-1: An update that solves two vulnerabilities and has 6 fixes is now available.

Category: security (important)
Bug References: 1027519,1177204,1179148,1180690,1181254,1181989,1182576,1183072
CVE References: CVE-2021-28687,CVE-2021-3308
JIRA References: 
Sources used:
SUSE MicroOS 5.0 (src):    xen-4.13.2_08-3.25.3
SUSE Linux Enterprise Module for Server Applications 15-SP2 (src):    xen-4.13.2_08-3.25.3
SUSE Linux Enterprise Module for Basesystem 15-SP2 (src):    xen-4.13.2_08-3.25.3

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Charles Arnold 2021-04-28 21:38:04 UTC
This has been released on SLE12-SP5, SLE15-SP2, submitted on SLE15-SP1 (238146),
and is part SLE15-SP3 for FCS.
Comment 9 Swamp Workflow Management 2021-04-30 16:22:52 UTC
SUSE-SU-2021:1460-1: An update that solves three vulnerabilities and has four fixes is now available.

Category: security (important)
Bug References: 1027519,1177204,1178591,1179148,1181254,1181989,1183072
CVE References: CVE-2020-28368,CVE-2021-28687,CVE-2021-3308
JIRA References: 
Sources used:
SUSE Manager Server 4.0 (src):    xen-4.12.4_08-3.43.3
SUSE Manager Retail Branch Server 4.0 (src):    xen-4.12.4_08-3.43.3
SUSE Manager Proxy 4.0 (src):    xen-4.12.4_08-3.43.3
SUSE Linux Enterprise Server for SAP 15-SP1 (src):    xen-4.12.4_08-3.43.3
SUSE Linux Enterprise Server 15-SP1-LTSS (src):    xen-4.12.4_08-3.43.3
SUSE Linux Enterprise Server 15-SP1-BCL (src):    xen-4.12.4_08-3.43.3
SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src):    xen-4.12.4_08-3.43.3
SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src):    xen-4.12.4_08-3.43.3
SUSE Enterprise Storage 6 (src):    xen-4.12.4_08-3.43.3
SUSE CaaS Platform 4.0 (src):    xen-4.12.4_08-3.43.3

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 12 Swamp Workflow Management 2021-09-03 16:29:10 UTC
# maintenance_jira_update_notice
SUSE-SU-2021:2955-1: An update that fixes 14 vulnerabilities is now available.

Category: security (important)
Bug References: 1181254,1182654,1186429,1186433,1186434,1187369,1187376,1187378,1189373,1189376,1189378,1189380,1189882
CVE References: CVE-2021-0089,CVE-2021-20255,CVE-2021-28690,CVE-2021-28692,CVE-2021-28694,CVE-2021-28695,CVE-2021-28696,CVE-2021-28697,CVE-2021-28698,CVE-2021-28699,CVE-2021-3308,CVE-2021-3592,CVE-2021-3594,CVE-2021-3595
JIRA References: 
Sources used:
SUSE OpenStack Cloud Crowbar 9 (src):    xen-4.11.4_20-2.60.1
SUSE OpenStack Cloud 9 (src):    xen-4.11.4_20-2.60.1
SUSE Linux Enterprise Server for SAP 12-SP4 (src):    xen-4.11.4_20-2.60.1
SUSE Linux Enterprise Server 12-SP4-LTSS (src):    xen-4.11.4_20-2.60.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 13 Carlos López 2022-06-10 10:07:18 UTC
Done, closing.