What’s Vulnerable › Vulnerabilities
CVE-2021-47319: virtio-blk: Fix memory leak among suspend/resume procedure
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-06-17
- Weakness: CWE-401
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().
Affected products
- 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 — fixed in 4.14.240, 4.19.198, 4.4.276, 4.9.276, 5.10.52, 5.12.19
How to fix
Upgrade to a fixed version: Linux kernel 4.14.240, 4.19.198, 4.4.276, 4.9.276. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/04c6e60b884cb5e94ff32af46867fb41d5848358
- https://git.kernel.org/stable/c/102d6bc6475ab09bab579c18704e6cf8d898e93c
- https://git.kernel.org/stable/c/29a2f4a3214aa14d61cc9737c9f886dae9dbb710
- https://git.kernel.org/stable/c/381bde79d11e596002edfd914e6714291826967a
- https://git.kernel.org/stable/c/600942d2fd49b90e44857d20c774b20d16f3130f
- https://git.kernel.org/stable/c/863da837964c80c72e368a4f748c30d25daa1815
- https://git.kernel.org/stable/c/b71ba22e7c6c6b279c66f53ee7818709774efa1f
- https://git.kernel.org/stable/c/ca2b8ae93a6da9839dc7f9eb9199b18aa03c3dae
- https://git.kernel.org/stable/c/cd24da0db9f75ca11eaf6060f0ccb90e2f3be3b0
- https://git.kernel.org/stable/c/04c6e60b884cb5e94ff32af46867fb41d5848358
- https://git.kernel.org/stable/c/102d6bc6475ab09bab579c18704e6cf8d898e93c
- https://git.kernel.org/stable/c/29a2f4a3214aa14d61cc9737c9f886dae9dbb710
Get alerted when CVE-2021-47319 or the next vulnerability affects your stack