CVE-2021-47024
vsock/virtio: free queued packets when closing socket
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < b605673b523fe33abeafb2136759bcbc9c1e6ebf; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 27691665145e74a45034a9dccf1150cf1894763a; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 37c38674ef2f8d7e8629e5d433c37d6c1273d16b; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 8432b8114957235f42e070a16118a7f750de9d39; 4ea082cd3c400cd5bb36a7beb7e441bf3e29350d; 4e539fa2dec4db3405e47002f2878aa4a99eb68b; 4af8a327aeba102aaa9b78f3451f725bc590b237; 51adb8ebe8c1d80528fc2ea863cfea9d32d2c52b; 7d29c9ad0ed525c1b10e29cfca4fb1eece1e93fb; >= 4.9.179, < 4.10; …
- Anyone running Linux 5.2
Vulnerability facts
- Affected
- Linux >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < b605673b523fe33abeafb2136759bcbc9c1e6ebf; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 27691665145e74a45034a9dccf1150cf1894763a; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 37c38674ef2f8d7e8629e5d433c37d6c1273d16b; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 8432b8114957235f42e070a16118a7f750de9d39; 4ea082cd3c400cd5bb36a7beb7e441bf3e29350d; 4e539fa2dec4db3405e47002f2878aa4a99eb68b; 4af8a327aeba102aaa9b78f3451f725bc590b237; 51adb8ebe8c1d80528fc2ea863cfea9d32d2c52b; 7d29c9ad0ed525c1b10e29cfca4fb1eece1e93fb; >= 4.9.179, < 4.10; …; Linux 5.2
- Fixed in
- Linux 27691665145e74a45034a9dccf1150cf1894763a, Linux 37c38674ef2f8d7e8629e5d433c37d6c1273d16b, Linux 8432b8114957235f42e070a16118a7f750de9d39, Linux 4.10
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: free queued packets when closing socket As reported by syzbot [1], there is a memory leak while closing the socket. We partially solved this issue with commit ac03046ece2b ("vsock/virtio: free packets during the socket release"), but we forgot to drain the RX queue when the socket is definitely closed by the scheduled work. To avoid future issues, let's use the new virtio_transport_remove_sock() to drain the RX queue before removing the socket from the af_vsock lists calling vsock_remove_sock(). [1] https://syzkaller.appspot.com/bug?extid=24452624fc4c571eedd9
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < b605673b523fe33abeafb2136759bcbc9c1e6ebf; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 27691665145e74a45034a9dccf1150cf1894763a; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 37c38674ef2f8d7e8629e5d433c37d6c1273d16b; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 8432b8114957235f42e070a16118a7f750de9d39; 4ea082cd3c400cd5bb36a7beb7e441bf3e29350d; 4e539fa2dec4db3405e47002f2878aa4a99eb68b; 4af8a327aeba102aaa9b78f3451f725bc590b237; 51adb8ebe8c1d80528fc2ea863cfea9d32d2c52b; 7d29c9ad0ed525c1b10e29cfca4fb1eece1e93fb; >= 4.9.179, < 4.10; … | — | cvelist |
| Linux | 5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-47024. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47024.md Affected: Linux >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < b605673b523fe33abeafb2136759bcbc9c1e6ebf; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 27691665145e74a45034a9dccf1150cf1894763a; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 37c38674ef2f8d7e8629e5d433c37d6c1273d16b; >= ac03046ece2b158ebd204df… Fixed in: Linux 27691665145e74a45034a9dccf1150cf1894763a, Linux 37c38674ef2f8d7e8629e5d433c37d6c1273d16b, Linux 8432b8114957235f42e070a16118a7f750de9d39, Linux 4.10 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2021-47024 being exploited?
There is no confirmed exploitation: CVE-2021-47024 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47024?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-47024?
Linux >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < b605673b523fe33abeafb2136759bcbc9c1e6ebf; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 27691665145e74a45034a9dccf1150cf1894763a; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 37c38674ef2f8d7e8629e5d433c37d6c1273d16b; >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 8432b8114957235f42e070a16118a7f750de9d39; 4ea082cd3c400cd5bb36a7beb7e441bf3e29350d; 4e539fa2dec4db3405e47002f2878aa4a99eb68b; 4af8a327aeba102aaa9b78f3451f725bc590b237; 51adb8ebe8c1d80528fc2ea863cfea9d32d2c52b; 7d29c9ad0ed525c1b10e29cfca4fb1eece1e93fb; >= 4.9.179, < 4.10; …; Linux 5.2.
Is there a fix for CVE-2021-47024?
Yes. Fixed in Linux 27691665145e74a45034a9dccf1150cf1894763a, Linux 37c38674ef2f8d7e8629e5d433c37d6c1273d16b, Linux 8432b8114957235f42e070a16118a7f750de9d39, Linux 4.10. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2021-47024?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.