CVE-2021-47224CWE-416

CVE-2021-47224

High · published May 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
13.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00234 · 13.5th percentile
Weakness
CWE-416 · Use After Free
Published
2024-05-21T19:15Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel< 5.4.1285.4.128
linux/linux_kernel≥ 5.5, < 5.10.465.10.46
linux/linux_kernel≥ 5.11, < 5.12.135.12.13
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 21 MAY 14:19Z
    net: ll_temac: Make sure to free skb when it is completely used
    cvelistv5