CVEvulnerability
CVE-2021-47224
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-05-21
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.2 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-416
Description
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.
Affected configurations
• linux linux kernel (< 5.4.128)
• linux linux kernel (>= 5.5 < 5.10.46)
• linux linux kernel (>= 5.11 < 5.12.13)
• linux linux kernel 5.13
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/019ab7d044d0ebf97e1236bb8935b7809be92358 Patch
- https://git.kernel.org/stable/c/6aa32217a9a446275440ee8724b1ecaf1838df47 Patch
- https://git.kernel.org/stable/c/6d120ab4dc39a543c6b63361e1d0541c382900a3 Patch
- https://git.kernel.org/stable/c/e8afe05bd359ebe12a61dbdc94c06c00ea3e8d4b Patch
- https://git.kernel.org/stable/c/019ab7d044d0ebf97e1236bb8935b7809be92358 Patch
- https://git.kernel.org/stable/c/6aa32217a9a446275440ee8724b1ecaf1838df47 Patch
- https://git.kernel.org/stable/c/6d120ab4dc39a543c6b63361e1d0541c382900a3 Patch
- https://git.kernel.org/stable/c/e8afe05bd359ebe12a61dbdc94c06c00ea3e8d4b Patch