CVE-2024-3447
Medium · 6.0CVSS
6.0
EPSS
0.6%
Published
Nov 14, 2024
CISA due date
—
Cloudanix analysis
A flaw in emulation software lets a virtual machine crash the physical computer running it, interrupting all virtual machines on that system.
- Exploitation
- Local Privilege
- Attacker needs
- High Privilege
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap-based buffer overflow in QEMU SDHCI device emulation triggered when both s->data_count and s->fifo_buffer size are set to 0x200, causing out-of-bounds memory access from a guest.
Why it matters to the business
A compromised or malicious virtual machine can crash the host QEMU process, resulting in denial of service for all VMs on that host and potential operational disruption in virtualized environments.
How an attack unfolds
An attacker controlling a guest VM configures SDHCI registers to set data_count and fifo_buffer size to 0x200, then performs operations that trigger the out-of-bounds access, crashing the host QEMU process.
How to fix it
Update QEMU to the fixed commit c6fe0f315cfac9739c8d57ffa05c9c22d7ebd2cb; for Discourse instances also apply commit 0bd64788d2b4680c04fbef76314a24884d65fed9 if applicable in the environment.
How to confirm the fix worked
Confirm QEMU is running a version containing commit c6fe0f315cfac9739c8d57ffa05c9c22d7ebd2cb and test SDHCI emulation paths to ensure no crash occurs under the triggering conditions.
Typical attack path
- Obtain control of a guest virtual machine
- Manipulate SDHCI device state to set data_count and fifo_buffer size to 0x200
- Issue SDHCI operations that cause out-of-bounds access
- Crash the QEMU process on the host
How to detect it
Review QEMU process logs, core dumps, and system crash reports for SDHCI-related buffer handling errors or abrupt terminations on hosts.
What your security team should do
- Apply the listed fixed commits to QEMU immediately
- Isolate or restrict untrusted guest VMs pending updates
- Monitor host logs for QEMU process crashes
- Review virtualization infrastructure for exposure to guest-controlled devices
The record
A heap-based buffer overflow was found in the SDHCI device emulation of QEMU. The bug is triggered when both `s->data_count` and the size of `s->fifo_buffer` are set to 0x200, leading to an out-of-bound access. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | qemu | 0 | No fix |
| Debian:12 | qemu | 0 | 1:7.2+dfsg-7+deb12u6 |
| Debian:13 | qemu | 0 | 1:8.2.3+ds-1 |
| Mageia:9 | qemu | 0 | 7.2.15-1.mga9 |
| SUSE:Enterprise Storage 7.1 | qemu | 0 | 5.2.0-150300.135.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | qemu | 0 | 5.2.0-150300.135.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | qemu | 0 | 6.2.0-150400.37.29.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | qemu | 0 | 6.2.0-150400.37.29.1 |
| SUSE:Linux Enterprise Micro 5.1 | qemu | 0 | 5.2.0-150300.135.1 |
| SUSE:Linux Enterprise Micro 5.2 | qemu | 0 | 5.2.0-150300.135.1 |
| SUSE:Linux Enterprise Micro 5.3 | qemu | 0 | 6.2.0-150400.37.29.1 |
| SUSE:Linux Enterprise Micro 5.4 | qemu | 0 | 6.2.0-150400.37.29.1 |
| SUSE:Linux Enterprise Micro 5.5 | qemu | 0 | 7.1.0-150500.49.15.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | qemu | 0 | 7.1.0-150500.49.15.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP5 | qemu | 0 | 7.1.0-150500.49.15.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP5 | qemu | 0 | 7.1.0-150500.49.15.1 |
| SUSE:Linux Enterprise Server 12 SP5 | qemu | 0 | 3.1.1.1-75.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | qemu | 0 | 5.2.0-150300.135.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | qemu | 0 | 6.2.0-150400.37.29.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | qemu | 0 | 3.1.1.1-75.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | qemu | 0 | 5.2.0-150300.135.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | qemu | 0 | 6.2.0-150400.37.29.1 |
| SUSE:Manager Proxy 4.3 | qemu | 0 | 6.2.0-150400.37.29.1 |
| SUSE:Manager Server 4.3 | qemu | 0 | 6.2.0-150400.37.29.1 |
| Ubuntu:20.04:LTS | qemu | 0 | No fix |
| Ubuntu:22.04:LTS | qemu | 0 | No fix |
| Ubuntu:22.04:LTS | qemu | 0 | 1:6.2+dfsg-2ubuntu6.27 |
| Ubuntu:24.04:LTS | qemu | 0 | No fix |
| Ubuntu:24.04:LTS | qemu | 0 | 1:8.2.2+ds-0ubuntu1.10 |
| Ubuntu:24.10 | qemu | 0 | 1:9.0.2+ds-4ubuntu2 |
| Ubuntu:Pro:14.04:LTS | qemu | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | qemu | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | qemu | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | qemu | 0 | No fix |
| openSUSE:Leap 15.5 | qemu | 0 | 7.1.0-150500.49.15.1 |
| openSUSE:Leap Micro 5.3 | qemu | 0 | 6.2.0-150400.37.29.1 |
| openSUSE:Leap Micro 5.4 | qemu | 0 | 6.2.0-150400.37.29.1 |
| openSUSE:Tumbleweed | qemu | 0 | 8.2.2-2.1 |
Related vulnerabilities
- CVE-2024-7730 A heap buffer overflow was found in the virtio-snd device in QEMU. Also affects qemu
- CVE-2024-6519 A use-after-free vulnerability was found in the QEMU LSI53C895A SCSI Host Bus Adapter… Also affects qemu
- CVE-2024-8612 A flaw was found in QEMU, in the virtio-scsi, virtio-blk, and virtio-crypto devices. Also affects qemu
- CVE-2024-8354 A flaw was found in QEMU. Also affects qemu
- CVE-2024-7409 A flaw was found in the QEMU NBD Server. Also affects qemu
- CVE-2024-6505 A flaw was found in the virtio-net device in QEMU. Also affects qemu
- CVE-2024-4467 A flaw was found in the QEMU disk image utility (qemu-img) 'info' command. Also affects qemu
- CVE-2024-3446 A double free vulnerability was found in QEMU virtio devices (virtio-gpu… Also affects qemu