# CVE-2021-47319: virtio-blk: Fix memory leak among suspend/resume procedure

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-05-21T14:35:34.541Z
- Modified: 2026-06-17T04:17:11.083Z
- Weaknesses: CWE-401
- 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-blk: Fix memory leak among suspend/resume procedure

The vblk->vqs should be freed before we call init_vqs()
in virtblk_restore().

(As written by CVE List.)

## Affected

- Linux Linux: from 6a27b656fc0210e976db362e1368c56db05c8f08 before 381bde79d11e596002edfd914e6714291826967a; from 6a27b656fc0210e976db362e1368c56db05c8f08 before 102d6bc6475ab09bab579c18704e6cf8d898e93c; from 6a27b656fc0210e976db362e1368c56db05c8f08 before 863da837964c80c72e368a4f748c30d25daa1815; from 6a27b656fc0210e976db362e1368c56db05c8f08 before 600942d2fd49b90e44857d20c774b20d16f3130f; from 6a27b656fc0210e976db362e1368c56db05c8f08 before 04c6e60b884cb5e94ff32af46867fb41d5848358; from 6a27b656fc0210e976db362e1368c56db05c8f08 before cd24da0db9f75ca11eaf6060f0ccb90e2f3be3b0; from 6a27b656fc0210e976db362e1368c56db05c8f08 before ca2b8ae93a6da9839dc7f9eb9199b18aa03c3dae; from 6a27b656fc0210e976db362e1368c56db05c8f08 before 29a2f4a3214aa14d61cc9737c9f886dae9dbb710; from 6a27b656fc0210e976db362e1368c56db05c8f08 before b71ba22e7c6c6b279c66f53ee7818709774efa1f; 3.17 (not affected: before 3.17; from 4.4.276 up to 4.4.*; from 4.9.276 up to 4.9.*; from 4.14.240 up to 4.14.*; from 4.19.198 up to 4.19.*; from 5.4.134 up to 5.4.*; from 5.10.52 up to 5.10.*; from 5.12.19 up to 5.12.*; from 5.13.4 up to 5.13.*; from 5.14 up to *)
- linux linux_kernel: before 4.4.276; from 4.5 before 4.9.276; from 4.10 before 4.14.240; from 4.15 before 4.19.198; from 4.20 before 5.4.134; from 5.5 before 5.10.52; from 5.11 before 5.12.19; from 5.13 before 5.13.4

## References

- <https://git.kernel.org/stable/c/381bde79d11e596002edfd914e6714291826967a> (patch)
- <https://git.kernel.org/stable/c/102d6bc6475ab09bab579c18704e6cf8d898e93c> (patch)
- <https://git.kernel.org/stable/c/863da837964c80c72e368a4f748c30d25daa1815> (patch)
- <https://git.kernel.org/stable/c/600942d2fd49b90e44857d20c774b20d16f3130f> (patch)
- <https://git.kernel.org/stable/c/04c6e60b884cb5e94ff32af46867fb41d5848358> (patch)
- <https://git.kernel.org/stable/c/cd24da0db9f75ca11eaf6060f0ccb90e2f3be3b0> (patch)
- <https://git.kernel.org/stable/c/ca2b8ae93a6da9839dc7f9eb9199b18aa03c3dae> (patch)
- <https://git.kernel.org/stable/c/29a2f4a3214aa14d61cc9737c9f886dae9dbb710> (patch)
- <https://git.kernel.org/stable/c/b71ba22e7c6c6b279c66f53ee7818709774efa1f> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2021-47319 · Whole record: https://cve.day/CVE-2021-47319.json · Rebuilt by cve.day 2026-11-25T22:58:08.795Z
