# CVE-2024-50184: virtio_pmem: Check device status before requesting flush

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-11-08T05:38:25.258Z
- Modified: 2026-06-17T08:03:48.750Z
- Weaknesses: CWE-754
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

virtio_pmem: Check device status before requesting flush

If a pmem device is in a bad status, the driver side could wait for
host ack forever in virtio_pmem_flush(), causing the system to hang.

So add a status check in the beginning of virtio_pmem_flush() to return
early if the device is not activated.

(As written by CVE List.)

## Affected

- Linux Linux: from 6e84200c0a2994b991259d19450eee561029bf70 before 59ac565c6277d4be6661e81ea6a7f3ca2c5e4e36; from 6e84200c0a2994b991259d19450eee561029bf70 before 4ce662fe4be6fbc2595d9ef4888b2b6e778c99ed; from 6e84200c0a2994b991259d19450eee561029bf70 before 9a2bc9b6f929a2ce1ebe4d1a796ddab37568c5b4; from 6e84200c0a2994b991259d19450eee561029bf70 before 6a5ca0ab94e13a1474bf7ad8437a975c2193618f; from 6e84200c0a2994b991259d19450eee561029bf70 before b01793cc63dd39c8f12b9a3d8dc115fbebb19e2a; from 6e84200c0a2994b991259d19450eee561029bf70 before ce7a3a62cc533c922072f328fd2ea2fd7cb893d4; from 6e84200c0a2994b991259d19450eee561029bf70 before e25fbcd97cf52c3c9824d44b5c56c19673c3dd50; 5.3 (not affected: before 5.3; from 5.4.285 up to 5.4.*; from 5.10.227 up to 5.10.*; from 5.15.168 up to 5.15.*; from 6.1.113 up to 6.1.*; from 6.6.57 up to 6.6.*; from 6.11.4 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 5.3 before 5.4.285; from 5.5 before 5.10.227; from 5.11 before 5.15.168; from 5.16 before 6.1.113; from 6.2 before 6.6.57; from 6.7 before 6.11.4

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/59ac565c6277d4be6661e81ea6a7f3ca2c5e4e36> (patch)
- <https://git.kernel.org/stable/c/4ce662fe4be6fbc2595d9ef4888b2b6e778c99ed> (patch)
- <https://git.kernel.org/stable/c/9a2bc9b6f929a2ce1ebe4d1a796ddab37568c5b4> (patch)
- <https://git.kernel.org/stable/c/6a5ca0ab94e13a1474bf7ad8437a975c2193618f> (patch)
- <https://git.kernel.org/stable/c/b01793cc63dd39c8f12b9a3d8dc115fbebb19e2a> (patch)
- <https://git.kernel.org/stable/c/ce7a3a62cc533c922072f328fd2ea2fd7cb893d4> (patch)
- <https://git.kernel.org/stable/c/e25fbcd97cf52c3c9824d44b5c56c19673c3dd50> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-50184](https://www.cve.org/CVERecord?id=CVE-2024-50184), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-50184](https://nvd.nist.gov/vuln/detail/CVE-2024-50184), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50184 · Whole record: https://cve.day/CVE-2024-50184.json · Rebuilt by cve.day 2026-11-25T22:58:47.904Z
