cve.bz

CVE-2024-7409 Qemu: denial of service via improper synchronization in qemu nbd server during socket closure

7.5 highEPSS 2.0%Fix available

High (7.5) in red hat. EPSS 2.0% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the QEMU NBD Server. This vulnerability allows a denial of service (DoS) attack via improper synchronization during socket closure when a client keeps a socket open as the server is taken offline.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.0% (up from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-08-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-662 Improper Synchronization
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 8100020240905091210.489197e6
  • Red Hat Red Hat Enterprise Linux 9: fixed in 17:9.0.0-10.el9_5
  • Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support: fixed in 17:7.2.0-14.el9_2.14
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support: fixed in 17:8.2.0-11.el9_4.8
  • Red Hat Red Hat OpenShift Container Platform 4.13: fixed in 413.92.202411212100-0
  • Red Hat Red Hat OpenShift Container Platform 4.13: fixed in 413.92.202409180051-0
  • Red Hat Red Hat OpenShift Container Platform 4.14: fixed in 414.92.202411130444-0
  • Red Hat Red Hat OpenShift Container Platform 4.15: fixed in 415.92.202409162258-0
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2024-7409 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-7409?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-7409?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-7409 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 88100020240905091210.489197e6
Red Hat Enterprise Linux 917:9.0.0-10.el9_5
Red Hat Enterprise Linux 9.2 Extended Update Support17:7.2.0-14.el9_2.14
Red Hat Enterprise Linux 9.4 Extended Update Support17:8.2.0-11.el9_4.8
Red Hat OpenShift Container Platform 4.13413.92.202411212100-0
Red Hat OpenShift Container Platform 4.13413.92.202409180051-0
Red Hat OpenShift Container Platform 4.14414.92.202411130444-0
Red Hat OpenShift Container Platform 4.15415.92.202409162258-0
Red Hat OpenShift Container Platform 4.15415.92.202411050056-0
Red Hat OpenShift Container Platform 4.16416.94.202411261619-0
Red Hat OpenShift Container Platform 4.17417.94.202411261220-0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11qemu1:5.2+dfsg-11+deb11u5DLA-4296-1
Debian12qemu1:7.2+dfsg-7+deb12u8DEBIAN-CVE-2024-7409
Debian13, 14qemu1:9.0.2+ds-3DEBIAN-CVE-2024-7409
Ubuntu22.04:LTSqemu1:6.2+dfsg-2ubuntu6.27UBUNTU-CVE-2024-7409 USN-7744-1
Ubuntu24.04:LTSqemu1:8.2.2+ds-0ubuntu1.10UBUNTU-CVE-2024-7409 USN-7744-1
UbuntuPro:14.04:LTSqemu2.0.0+dfsg-2ubuntu1.47+esm6UBUNTU-CVE-2024-7409 USN-8412-1
UbuntuPro:16.04:LTSqemu1:2.5+dfsg-5ubuntu10.51+esm4UBUNTU-CVE-2024-7409 USN-8412-1
UbuntuPro:18.04:LTSqemu1:2.11+dfsg-1ubuntu7.42+esm6UBUNTU-CVE-2024-7409 USN-8412-1 USN-8412-2
UbuntuPro:20.04:LTSqemu1:4.2-3ubuntu6.30+esm2UBUNTU-CVE-2024-7409 USN-8412-1 USN-8412-2
Red Hatenterprise_linux:8::appstreamhivex, perl-hivex, ruby-hivex and 7 more0:1.3.18-23.module+el8.9.0+18724+20190c23RHSA-2024:6964
Red Hatenterprise_linux:8::appstreamlibnbd, nbdfuse, libnbd-devel and 6 more0:1.6.0-6.module+el8.10.0+22250+3c790083RHSA-2024:6964
Red Hatenterprise_linux:8::appstreamlibtpms, libtpms-devel, libtpms-debuginfo and 1 more0:0.9.1-2.20211126git1ff6fe1f43.module+el8.9.0+18724+20190c23RHSA-2024:6964
Red Hatenterprise_linux:8::appstreamlibvirt, libvirt-nss, libvirt-docs and 48 more0:8.0.0-23.2.module+el8.10.0+21972+d7867348RHSA-2024:6964
Red Hatenterprise_linux:8::appstreamlibvirt-python, python3-libvirt, python3-libvirt-debuginfo and 1 more0:8.0.0-2.module+el8.9.0+18724+20190c23RHSA-2024:6964
Red Hatenterprise_linux:8::appstreamnbdkit, nbdkit-devel, nbdkit-server and 34 more0:1.24.0-5.module+el8.9.0+18724+20190c23RHSA-2024:6964
Red Hatenterprise_linux:8::appstreamqemu-img, qemu-kvm, qemu-kvm-core and 25 more15:6.2.0-53.module+el8.10.0+22268+f82ccd96RHSA-2024:6964
Red Hatenterprise_linux:8::appstreamseabios, seabios-bin, seavgabios-bin0:1.16.0-4.module+el8.9.0+19570+14a90618RHSA-2024:6964
Red Hatenterprise_linux:8::appstreamsgabios, sgabios-bin1:0.20170427git-3.module+el8.9.0+18724+20190c23RHSA-2024:6964
Red Hatenterprise_linux:8::appstreamsupermin, supermin-devel, supermin-debuginfo and 1 more0:5.2.1-2.module+el8.9.0+18724+20190c23RHSA-2024:6964
Red Hatenterprise_linux:8::appstreamswtpm, swtpm-libs, swtpm-devel and 6 more0:0.7.0-4.20211109gitb79fd91.module+el8.9.0+18724+20190c23RHSA-2024:6964
Red Hatenterprise_linux:8::appstreamvirt-dib, libguestfs, lua-guestfs and 30 more1:1.44.0-9.module+el8.9.0+18724+20190c23RHSA-2024:6964
19 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 moreqemu5.2.0-150300.135.1SUSE-SU-2025:0692-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 moreqemu6.2.0-150400.37.37.3SUSE-SU-2024:4304-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Package Hub 15 SP5 and 1 moreqemu7.1.0-150500.49.24.1SUSE-SU-2024:3948-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Server Applications 15 SP6qemu8.2.6-150600.3.9.1SUSE-SU-2024:2983-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Server Applications 15 SP6qemu8.2.7-150600.3.20.1SUSE-SU-2024:4094-1
SUSELinux Enterprise Module for Confidential Computing Technical Preview 15 SP6qemu8.2.7-15061.6.coco15sp6.1SUSE-SU-2024:3744-1
SUSELinux Enterprise Module for Package Hub 15 SP6qemu, qemu-linux-user8.2.6-150600.3.9.1SUSE-SU-2024:2983-1
SUSELinux Enterprise Module for Package Hub 15 SP6qemu, qemu-linux-user8.2.7-150600.3.20.1SUSE-SU-2024:4094-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5qemu3.1.1.1-78.1SUSE-SU-2025:02530-1
SUSELinux Micro 6.0qemu8.2.6-1.1SUSE-SU-2025:20036-1
SUSELinux Micro 6.0qemu8.2.7-1.1SUSE-SU-2025:20076-1
openSUSELeap 15.5, Leap Micro 5.5qemu7.1.0-150500.49.24.1SUSE-SU-2024:3948-1
openSUSELeap 15.6qemu, qemu-linux-user8.2.6-150600.3.9.1SUSE-SU-2024:2983-1
openSUSELeap 15.6qemu, qemu-linux-user8.2.7-150600.3.20.1SUSE-SU-2024:4094-1
openSUSETumbleweedqemu9.1.0-2.1openSUSE-SU-2024:14411-1
AlmaLinux8SLOF20210217-2.module_el8.10.0+3768+dfd76e10ALSA-2024:6964
AlmaLinux8hivex, perl-hivex, ruby-hivex and 4 more1.3.18-23.module_el8.6.0+2880+7d9e3703ALSA-2024:6964
AlmaLinux8hivex, perl-hivex, ruby-hivex and 4 more1.3.18-23.module_el8.6.0+3161+a07c0ea5ALSA-2024:6964
AlmaLinux8libguestfs-winsupport8.10-1.module_el8.10.0+3768+dfd76e10ALSA-2024:6964
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.6.0+2880+7d9e3703ALSA-2024:6964
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.6.0+3161+a07c0ea5ALSA-2024:6964
AlmaLinux8libnbd, nbdfuse, libnbd-devel and 4 more1.6.0-6.module_el8.10.0+3897+eb84924dALSA-2024:6964
AlmaLinux8libtpms, libtpms-devel0.9.1-2.20211126git1ff6fe1f43.module_el8.9.0+3659+9c8643f3ALSA-2024:6964
AlmaLinux8libvirt, libvirt-nss, libvirt-docs and 23 more8.0.0-23.2.module_el8.10.0+3867+f3f9981aALSA-2024:6964
AlmaLinux8libvirt, libvirt-nss, libvirt-docs and 23 more8.0.0-23.2.module_el8.10.0+3869+b8959270ALSA-2024:6964
AlmaLinux8libvirt-dbus1.3.0-2.module_el8.6.0+2880+7d9e3703ALSA-2024:6964
AlmaLinux8libvirt-dbus1.3.0-2.module_el8.6.0+3161+a07c0ea5ALSA-2024:6964
14 more for AlmaLinux in the JSON.
Rocky Linux8hivex0:1.3.18-23.module+el8.10.0+1590+a67ab969RLSA-2024:6964
Rocky Linux8hivex0:1.3.18-23.module+el8.10.0+1835+43f01cbbRLSA-2024:6964
Rocky Linux8libguestfs1:1.44.0-9.module+el8.10.0+1590+a67ab969.rockyRLSA-2024:6964
Rocky Linux8libguestfs1:1.44.0-9.module+el8.10.0+1835+43f01cbb.rocky.rockyRLSA-2024:6964
Rocky Linux8libguestfs-winsupport0:8.10-1.module+el8.10.0+1451+358d0d76RLSA-2024:6964
Rocky Linux8libguestfs-winsupport0:8.10-1.module+el8.10.0+1835+43f01cbbRLSA-2024:6964
Rocky Linux8libiscsi0:1.18.0-8.module+el8.10.0+1590+a67ab969RLSA-2024:6964
Rocky Linux8libiscsi0:1.18.0-8.module+el8.10.0+1835+43f01cbbRLSA-2024:6964
Rocky Linux8libnbd0:1.6.0-6.module+el8.10.0+1870+0a714c9fRLSA-2024:6964
Rocky Linux8libtpms0:0.9.1-2.20211126git1ff6fe1f43.module+el8.10.0+1590+a67ab969RLSA-2024:6964
Rocky Linux8libtpms0:0.9.1-2.20211126git1ff6fe1f43.module+el8.10.0+1835+43f01cbbRLSA-2024:6964
Rocky Linux8libvirt0:8.0.0-23.2.module+el8.10.0+1835+43f01cbbRLSA-2024:6964
22 more for Rocky Linux in the JSON.
Azure Linux2qemu6.2.0-26AZL-60094
Azure Linux3qemu8.2.0-19AZL-60916
Alpaquita23qemuno fix listedBELL-CVE-2024-7409
Alpaquitastreamqemu9.1.0-r0BELL-CVE-2024-7409

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is classified as Moderate severity rather than Important because it primarily results in a denial of service condition rather than a more crucial impact such as data corruption, unauthorized access, or system compromise. The NULL pointer dereference occurs under specific conditions where the NBD server is stopped before nbd_blockdev_client_closed is called, which leads to a segmentation fault and crash of the QEMU process. However, this scenario is mitigated by the fact that it requires a particular sequence of events involving client connection handling and server shutdown. Additionally, proper network segmentation and the use of secure client connections can further reduce the likelihood of this issue being exploited.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8virt-devel:rhel-8100020240905091210.489197e6Fixed 2024-09-24RHSA-2024:6964
Red Hat Enterprise Linux 8virt:rhel-8100020240905091210.489197e6Fixed 2024-09-24RHSA-2024:6964
Red Hat Enterprise Linux 9qemu-kvm-17:9.0.0-10.el9_5Fixed 2024-11-12RHSA-2024:9136
Red Hat Enterprise Linux 9.2 Extended Update Supportqemu-kvm-17:7.2.0-14.el9_2.14Fixed 2024-10-01RHSA-2024:7408
Red Hat Enterprise Linux 9.4 Extended Update Supportqemu-kvm-17:8.2.0-11.el9_4.8Fixed 2024-11-19RHSA-2024:9912
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202411212100-0Fixed 2024-12-12RHSA-2024:10813
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202409180051-0Fixed 2024-09-25RHSA-2024:6811
Red Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9:414.92.202411130444-0Fixed 2024-11-20RHSA-2024:9620
Red Hat OpenShift Container Platform 4.15openshift/ose-rhel-coreos-9:415.92.202409162258-0Fixed 2024-09-25RHSA-2024:6818
Red Hat OpenShift Container Platform 4.15openshift/ose-rhel-coreos-9:415.92.202411050056-0Fixed 2024-11-13RHSA-2024:8991
Red Hat OpenShift Container Platform 4.16openshift/ose-rhel-coreos-9:416.94.202411261619-0Fixed 2024-12-04RHSA-2024:10528
Red Hat Enterprise Linux 10qemu-kvmNot affected
Red Hat Enterprise Linux 6qemu-kvmOut of support scope
Red Hat Enterprise Linux 7qemu-kvmOut of support scope
Red Hat Enterprise Linux 7qemu-kvm-maOut of support scope
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.2/qemu-kvmWill not fix
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/qemu-kvmWill not fix
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt-devel:8.2/qemu-kvmWill not fix
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt-devel:av/qemu-kvmWill not fix
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Will not fix
1 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-7409.

Attack patterns (CAPEC)

  • CAPEC-25 Forced Deadlock Likelihood: Low · Severity: High
  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON