CVE-2021-47024
published 2024-02-28CVE-2021-47024: 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…
PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.25%
16.3th percentile
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
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.10.38-1 (bookworm) | linux 5.10.38-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | >= 4.14.122 < 4.15 | 4.15 |
| linux | linux | >= 4.19.46 < 4.20 | 4.20 |
| linux | linux | >= 4.9.179 < 4.10 | 4.10 |
| linux | linux | >= 5.0.19 < 5.1 | 5.1 |
| linux | linux | >= 5.1.5 < 5.2 | 5.2 |
| linux | linux | >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8 < b605673b523fe33abeafb2136759bcbc9c1e6ebf | b605673b523fe33abeafb2136759bcbc9c1e6ebf |
| linux | linux | >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8 < 27691665145e74a45034a9dccf1150cf1894763a | 27691665145e74a45034a9dccf1150cf1894763a |
| linux | linux | >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8 < 37c38674ef2f8d7e8629e5d433c37d6c1273d16b | 37c38674ef2f8d7e8629e5d433c37d6c1273d16b |
| linux | linux | >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8 < 8432b8114957235f42e070a16118a7f750de9d39 | 8432b8114957235f42e070a16118a7f750de9d39 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 5.11 < 5.11.21 | 5.11.21 |
| linux | linux_kernel | >= 5.12 < 5.12.4 | 5.12.4 |
| linux | linux_kernel | >= 5.2 < 5.10.37 | 5.10.37 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-wwcj-mm94-5r39: In the Linux kernel, the following vulnerability has been resolved:
vsock/virtio: free queued packets when closing socket
As reported by syzbot [1],
ghsa_unreviewed·2024-02-28
CVE-2021-47024 [MEDIUM] CWE-401 GHSA-wwcj-mm94-5r39: In the Linux kernel, the following vulnerability has been resolved:
vsock/virtio: free queued packets when closing socket
As reported by syzbot [1],
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
OSV
CVE-2021-47024: In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: free queued packets when closing socket As reported by syzbot [1], t
osv·2024-02-28·CVSS 5.5
CVE-2021-47024 [MEDIUM] CVE-2021-47024: In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: free queued packets when closing socket As reported by syzbot [1], t
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
Red Hat
kernel: vsock/virtio: free queued packets when closing socket
vendor_redhat·2024-02-28·CVSS 5.5
CVE-2021-47024 [MEDIUM] CWE-402 kernel: vsock/virtio: free queued packets when closing socket
kernel: vsock/virtio: free queued packets when closing socket
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
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Re
Debian
CVE-2021-47024: linux - In the Linux kernel, the following vulnerability has been resolved: vsock/virti...
vendor_debian·2021·CVSS 5.5
CVE-2021-47024 [MEDIUM] CVE-2021-47024: linux - In the Linux kernel, the following vulnerability has been resolved: vsock/virti...
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
Scope: local
bookworm: resolved (fixed in 5.10.38-1)
bullseye: resolved (fixed in 5.10.38-1)
forky: resolved (fixed in 5.10.38-1)
sid: resolved (fixed i
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/27691665145e74a45034a9dccf1150cf1894763ahttps://git.kernel.org/stable/c/37c38674ef2f8d7e8629e5d433c37d6c1273d16bhttps://git.kernel.org/stable/c/8432b8114957235f42e070a16118a7f750de9d39https://git.kernel.org/stable/c/b605673b523fe33abeafb2136759bcbc9c1e6ebfhttps://git.kernel.org/stable/c/27691665145e74a45034a9dccf1150cf1894763ahttps://git.kernel.org/stable/c/37c38674ef2f8d7e8629e5d433c37d6c1273d16bhttps://git.kernel.org/stable/c/8432b8114957235f42e070a16118a7f750de9d39https://git.kernel.org/stable/c/b605673b523fe33abeafb2136759bcbc9c1e6ebf
2024-02-28
Published