CVE-2021-47024
MEDIUMLinux Kernel 5.2-5.10.36 - Use-After-Free in vsock/virtio Socket Close
Title source: llmDescription
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
References (4)
Core 4
Core References
Scores
CVSS v3
5.5
EPSS
0.0025
EPSS Percentile
16.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-401
Status
published
Products (21)
Linux/Linux
< 5.2
Linux/Linux
4.14.122 - 4.15
Linux/Linux
4.19.46 - 4.20
Linux/Linux
4.9.179 - 4.10
Linux/Linux
4af8a327aeba102aaa9b78f3451f725bc590b237
Linux/Linux
4e539fa2dec4db3405e47002f2878aa4a99eb68b
Linux/Linux
4ea082cd3c400cd5bb36a7beb7e441bf3e29350d
Linux/Linux
5.0.19 - 5.1
Linux/Linux
5.1.5 - 5.2
Linux/Linux
5.10.37 - 5.10.*
... and 11 more
Published
Feb 28, 2024
Tracked Since
Feb 18, 2026