CVE-2024-3447: Qemu: sdhci: heap buffer overflow in sdhci_write_dataport()

Published Apr 9, 2024
·
Updated

A heap based buffer overflow was found in the SDHCI device emulation of QEMU. The bug is triggered when both s->datacount and the size of s->fifobuffer 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.

Upstream patch: https://patchew.org/QEMU/20240404085549.16987-1-philmd@linaro.org/

oss-fuzz bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58813

Other sources

A heap-based buffer overflow was found in the SDHCI device emulation of QEMU. The bug is triggered when both s->datacount and the size of s->fifobuffer 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.

MITRE

Qemu: sdhci: heap buffer overflow in sdhciwritedataport()

Microsoft

Affected Software

11 affected componentsFixes available
Qemu Qemu
Qemu Qemu<7.2.11
Qemu Qemu>=8.0.0<8.2.3
Qemu Qemu=9.0.0
Qemu Qemu=9.0.0-rc0
Qemu Qemu=9.0.0-rc1
Qemu Qemu=9.0.0-rc2
NetApp Hci Compute Node
Microsoft azl3 qemu 8.2.0-16
Microsoft cbl2 qemu 6.2.0-24
Microsoft cbl2 qemu 6.2.0-24

Event History

Apr 9, 2024
Data Sourced
via Red Hat·09:04 AM
DescriptionSeverityAffected Software
Nov 14, 2024
CVE Published
via MITRE·12:10 PM
Data Sourced
via MITRE·12:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 PM
DescriptionSeverityWeaknessAffected Software
May 5, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Updated
via Microsoft·07:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2024-3447?

CVE-2024-3447 is classified as a critical vulnerability due to the potential for a heap-based buffer overflow leading to crashes.

2

How do I fix CVE-2024-3447?

To mitigate CVE-2024-3447, update to the latest version of QEMU that addresses this vulnerability.

3

What causes CVE-2024-3447?

CVE-2024-3447 is triggered when both 's->data_count' and the size of 's->fifo_buffer' are incorrectly set, leading to out-of-bounds access.

4

Who is impacted by CVE-2024-3447?

Any system using vulnerable versions of QEMU may be impacted by CVE-2024-3447, especially if it processes untrusted guest data.

5

What are the consequences of exploiting CVE-2024-3447?

Exploitation of CVE-2024-3447 can lead to a crash of the QEMU process, resulting in denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203