# CVE-2021-47224: net: ll_temac: Make sure to free skb when it is completely used

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-05-21T14:19:29.542Z
- Modified: 2026-08-05T08:46:48.857Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 92744989533cbe85e8057935d230e128810168ce before 6d120ab4dc39a543c6b63361e1d0541c382900a3; from 92744989533cbe85e8057935d230e128810168ce before 019ab7d044d0ebf97e1236bb8935b7809be92358; from 92744989533cbe85e8057935d230e128810168ce before e8afe05bd359ebe12a61dbdc94c06c00ea3e8d4b; from 92744989533cbe85e8057935d230e128810168ce before 6aa32217a9a446275440ee8724b1ecaf1838df47; 2.6.31 (not affected: before 2.6.31; from 5.4.128 up to 5.4.*; from 5.10.46 up to 5.10.*; from 5.12.13 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: before 5.4.128; from 5.5 before 5.10.46; from 5.11 before 5.12.13; 5.13

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/6d120ab4dc39a543c6b63361e1d0541c382900a3> (patch)
- <https://git.kernel.org/stable/c/019ab7d044d0ebf97e1236bb8935b7809be92358> (patch)
- <https://git.kernel.org/stable/c/e8afe05bd359ebe12a61dbdc94c06c00ea3e8d4b> (patch)
- <https://git.kernel.org/stable/c/6aa32217a9a446275440ee8724b1ecaf1838df47> (patch)

## Sources

- CVE List: [CVE-2021-47224](https://www.cve.org/CVERecord?id=CVE-2021-47224), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-47224](https://nvd.nist.gov/vuln/detail/CVE-2021-47224), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-47224 · Whole record: https://cve.day/CVE-2021-47224.json · Rebuilt by cve.day 2026-11-25T22:58:08.742Z
