CVE-2021-47224

Medium

In the Linux kernel, the following vulnerability has been resolved: net: ll_temac: Make sure to free skb when it is completely used With the skb pointer piggy-backed on the TX BD, we have a simple and efficient way to free the skb buffer when the frame has been transmitted. But in order to avoid freeing the skb while there are still fragments from the skb in use, we need to piggy-back on the TX BD of the skb, not the first. Without this, we are doing use-after-free on the DMA side, when the first BD of a multi TX BD packet is seen as completed in xmit_done, and the remaining BDs are still being processed.

Package Linux Kernel
Published 2024-05-21
Last modified 2025-04-04
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

6.2

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

Weakness type

CWE-416

CVE-2021-47224 is a Use After Free vulnerability

What is Use After Free?

The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE

Affected versions

Linux kernel versions 2.6.31 and later are affected. Fixed in 5.4.128, 5.10.46, 5.12.13, 5.13 and their respective stable series.

Affected from
≥ 2.6.31
Fixed in
✓ 5.4.128 5.4.x ✓ 5.10.46 5.10.x ✓ 5.12.13 5.12.x ✓ 5.13

Frequently asked questions

  • What is CVE-2021-47224?

    CVE-2021-47224 is a Medium severity Linux kernel vulnerability with a CVSS score of 6.2 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 2.6.31 onward and has been patched in 5.4.128, 5.10.46, 5.12.13 and others. CVE-2021-47224 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

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

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

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

    Yes. CVE-2021-47224 has been patched. Fixed versions include 5.4.128, 5.10.46, 5.12.13 and others. If you are running Linux kernel 2.6.31 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2021-47224 actively exploited?

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