CVE-2021-47024

Medium

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 Linux Kernel
Published 2024-02-28
Last modified 2024-12-06
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-401

CVE-2021-47024 is a Memory Leak vulnerability

What is Memory Leak?

The product does not release memory after use, causing gradual resource exhaustion. Learn more on MITRE CWE

Affected versions

Linux kernel versions 4.9.179, 4.14.122, 4.19.46, 5.0.19, 5.1.5, 5.2 and later are affected. Fixed in 5.10.37, 5.11.21, 5.12.4, 5.13 and their respective stable series.

Affected from
≥ 4.9.179 ≥ 4.14.122 ≥ 4.19.46 ≥ 5.0.19 ≥ 5.1.5 ≥ 5.2
Fixed in
✓ 5.10.37 5.10.x ✓ 5.11.21 5.11.x ✓ 5.12.4 5.12.x ✓ 5.13

Frequently asked questions

  • What is CVE-2021-47024?

    CVE-2021-47024 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Memory Leak flaw (CWE-401) . It affects Linux kernel versions from 4.9.179 onward and has been patched in 5.10.37, 5.11.21, 5.12.4 and others. CVE-2021-47024 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2021-47024?

    CVE-2021-47024 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2021-47024?

    Yes. CVE-2021-47024 has been patched. Fixed versions include 5.10.37, 5.11.21, 5.12.4 and others. If you are running Linux kernel 4.9.179 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2021-47024 actively exploited?

    No. CVE-2021-47024 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.