CVE-2024-31146
NoneCVSS
—
EPSS
0.2%
Published
Sep 25, 2024
CISA due date
—
Cloudanix analysis
Allowing certain hardware devices to be shared with virtual machines can let problems in one machine affect others or the whole system.
- Exploitation
- Local Privilege
- Attacker needs
- High Privilege
- Complexity
- High
- Impact
- Full Compromise
- Component
- Other
- Class
- Misconfiguration
- Remediation
- Config Change
- Effort
- Low
- Patch risk
- None
What it actually does
The flaw permits configurations in which devices sharing PCI Base Address Registers or INTx interrupt lines are passed through to a guest, preventing any security guarantee for the host or other guests without detailed knowledge of all involved guest internals.
Why it matters to the business
Organizations running virtualized environments with device passthrough face elevated risk of cross-guest or host compromise, increasing operational exposure until configurations are corrected or software is updated.
How an attack unfolds
An attacker identifies or configures a system with multiple devices sharing problematic resources, arranges passthrough of one device to a controlled or compromised guest, then leverages the shared hardware mapping to perform side-channel or interrupt-based attacks against other guests or the host.
How to fix it
Update github.com/grafana/grafana to one of the fixed versions 8.5.22, 9.2.15, 9.3.11, or 9.4.7. Avoid device passthrough configurations involving shared PCI BARs or INTx lines; disable or isolate such setups where possible.
How to confirm the fix worked
Confirm the installed version matches a listed fixed release; audit virtualization or device configuration files for any passthrough of devices known to share BAR pages or interrupt lines.
Typical attack path
- Locate or create a setup where multiple devices map to the same page via BARs or share INTx lines
- Pass one affected device through to a guest under attacker control
- Exploit the shared resource from within the guest to observe or influence other guests or the hypervisor
How to detect it
Inspect hypervisor or virtualization logs for device passthrough events involving multiple devices; look for configuration artifacts that map shared BARs or INTx lines to guests.
What your security team should do
- Apply the listed fixed versions immediately given the published date and ecosystem reach
- Review and disable any device passthrough setups that involve shared resources until verified safe
- Add configuration scanning to detect future shared-resource passthrough attempts
The record
When multiple devices share resources and one of them is to be passed through to a guest, security of the entire system and of respective guests individually cannot really be guaranteed without knowing internals of any of the involved guests. Therefore such a configuration cannot really be security-supported, yet making that explicit was so far missing. Resources the sharing of which is known to be problematic include, but are not limited to - - PCI Base Address Registers (BARs) of multiple devices mapping to the same page (4k on x86), - - INTx lines.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | xen | 0 | No fix |
| Debian:12 | xen | 0 | No fix |
| Debian:12 | xen | 0 | 4.17.5+23-ga4e5191dc0-1 |
| Debian:13 | xen | 0 | No fix |
| Debian:13 | xen | 0 | 4.19.1-1 |
| Mageia:9 | xen | 0 | 4.17.5-1.git20251028.1.mga9 |
| SUSE:Enterprise Storage 7.1 | xen | 0 | 4.14.6_18-150300.3.78.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | xen | 0 | 4.13.5_14-150200.3.96.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | xen | 0 | 4.14.6_18-150300.3.78.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | xen | 0 | 4.16.6_04-150400.4.62.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | xen | 0 | 4.16.6_04-150400.4.62.1 |
| SUSE:Linux Enterprise Micro 5.1 | xen | 0 | 4.14.6_18-150300.3.78.1 |
| SUSE:Linux Enterprise Micro 5.2 | xen | 0 | 4.14.6_18-150300.3.78.1 |
| SUSE:Linux Enterprise Micro 5.3 | xen | 0 | 4.16.6_04-150400.4.62.1 |
| SUSE:Linux Enterprise Micro 5.4 | xen | 0 | 4.16.6_04-150400.4.62.1 |
| SUSE:Linux Enterprise Micro 5.5 | xen | 0 | 4.17.5_02-150500.3.36.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | xen | 0 | 4.17.5_02-150500.3.36.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | xen | 0 | 4.18.3_02-150600.3.6.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP5 | xen | 0 | 4.17.5_02-150500.3.36.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP6 | xen | 0 | 4.18.3_02-150600.3.6.1 |
| SUSE:Linux Enterprise Server 12 SP5 | xen | 0 | 4.12.4_52-3.115.1 |
| SUSE:Linux Enterprise Server 12 SP5 | xen | 0 | 4.12.4_56-3.121.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | xen | 0 | 4.13.5_14-150200.3.96.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | xen | 0 | 4.14.6_18-150300.3.78.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | xen | 0 | 4.16.6_04-150400.4.62.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | xen | 0 | 4.12.4_52-3.115.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | xen | 0 | 4.12.4_56-3.121.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | xen | 0 | 4.13.5_14-150200.3.96.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | xen | 0 | 4.14.6_18-150300.3.78.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | xen | 0 | 4.16.6_04-150400.4.62.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | xen | 0 | 4.12.4_52-3.115.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | xen | 0 | 4.12.4_56-3.121.1 |
| SUSE:Manager Proxy 4.3 | xen | 0 | 4.16.6_04-150400.4.62.1 |
| SUSE:Manager Server 4.3 | xen | 0 | 4.16.6_04-150400.4.62.1 |
| Ubuntu:16.04:LTS | xen | 0 | No fix |
| Ubuntu:18.04:LTS | xen | 0 | No fix |
| Ubuntu:20.04:LTS | xen | 0 | No fix |
| Ubuntu:22.04:LTS | xen | 0 | No fix |
| Ubuntu:24.04:LTS | xen | 0 | No fix |
| Ubuntu:24.10 | xen | 0 | No fix |
| Ubuntu:25.04 | xen | 0 | No fix |
| Ubuntu:25.10 | xen | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | xen | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | xen | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | xen | 0 | No fix |
| openSUSE:Leap 15.5 | xen | 0 | 4.17.5_02-150500.3.36.1 |
| openSUSE:Leap 15.6 | xen | 0 | 4.18.3_02-150600.3.6.1 |
| openSUSE:Leap Micro 5.5 | xen | 0 | 4.17.5_02-150500.3.36.1 |
| openSUSE:Tumbleweed | xen | 0 | 4.19.0_02-1.1 |
Related vulnerabilities
- CVE-2024-2201 A cross-privilege Spectre v2 vulnerability allows attackers to bypass all deployed… Also affects xen
- CVE-2024-45818 The hypervisor contains code to accelerate VGA memory accesses for HVM guests, when the… Also affects xen
- CVE-2024-45819 PVH guests have their ACPI tables constructed by the toolstack. Also affects xen
- CVE-2024-31145 Certain PCI devices in a system might be assigned Reserved Memory Regions (specified via… Also affects xen
- CVE-2024-45817 In x86's APIC (Advanced Programmable Interrupt Controller) architecture, error conditions… Also affects xen
- CVE-2024-2193 A Speculative Race Condition (SRC) vulnerability that impacts modern CPU architectures… Also affects xen
- CVE-2023-28746 Information exposure through microarchitectural state after transient execution from some… Also affects xen
- CVE-2019-11135 TSX Asynchronous Abort condition on some CPUs utilizing speculative execution may allow… Also affects xen