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

> A race condition in the QEMU NBD server during socket closure allows remote attackers to cause a denial of service.

- **Severity:** High 7.5 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 5 Aug 2024
- **Updated:** 9 Oct 2026
- **Also known as:** AZL-60094, AZL-60916, BELL-CVE-2024-7409, CLSA-2025-1761673460, DEBIAN-CVE-2024-7409, DLA-4296-1, GHSA-7c7g-wccp-rrhj, OESA-2024-1988, OESA-2024-1989, OESA-2024-1990, OESA-2024-1991, OESA-2024-2027, RHSA-2024:7408, RHSA-2024:9912, SUSE-SU-2025:02530-1, UBUNTU-CVE-2024-7409, USN-8412-2

## What is CVE-2024-7409?

CVE-2024-7409 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 5 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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.

Weakness: CWE-662 (Improper Synchronization)

## Which versions are affected by CVE-2024-7409?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `qemu-guest-agent` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-guest-agent-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-img` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-img-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-audio-pa` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-audio-pa-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-block-curl` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-block-curl-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-block-rbd` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-block-rbd-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-common` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-common-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-core` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-core-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-debugsource` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-device-display-virtio-gpu` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-device-display-virtio-gpu-ccw` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-device-display-virtio-gpu-ccw-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-device-display-virtio-gpu-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-device-display-virtio-gpu-pci` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-device-display-virtio-gpu-pci-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-device-display-virtio-vga` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-device-display-virtio-vga-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-device-usb-host` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-device-usb-host-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-device-usb-redirect` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-device-usb-redirect-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-docs` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-tests-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-tools` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-tools-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-ui-egl-headless` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-ui-egl-headless-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-ui-opengl` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-kvm-ui-opengl-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-pr-helper` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-pr-helper-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 17:7.2.0-14.el9_2.14 |
| `qemu-guest-agent` | Red Hat:rhel_eus:9.4::appstream | All versions | 17:8.2.0-11.el9_4.8 |

## How do I fix CVE-2024-7409?

Apply the vendor's patch.

## Is CVE-2024-7409 being exploited?

There is no known exploitation of CVE-2024-7409 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-7409 and fix it if it is affected.

What it is: CVE-2024-7409 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 5 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-7409 in the wild and no public exploit code.

Affected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-7409/ (Markdown: https://insights.sbomify.com/CVE-2024-7409/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-7409
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-7409
- OSV: https://osv.dev/vulnerability/CVE-2024-7409

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-7409/
Summaries are generated and may contain mistakes; the official description above is the record.
