CVE-2021-47236

net: cdc_eem: fix tx fixup skb leak

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 02:19 PM UTC
Updated: June 17, 2026 at 04:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: net: cdc_eem: fix tx fixup skb leak when usbnet transmit a skb, eem fixup it in eem_tx_fixup(), if skb_copy_expand() failed, it return NULL, usbnet_start_xmit() will have no chance to free original skb. fix it by free orginal skb in eem_tx_fixup() first, then check skb clone status, if failed, return NULL to usbnet.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.30 ≤ v < 4.14.2382.6.30 ≤ v < 4.19.1962.6.30 ≤ v < 4.4.2742.6.30 ≤ v < 4.9.2742.6.30 ≤ v < 5.10.462.6.30 ≤ v < 5.12.132.6.30 ≤ v < 5.132.6.30 ≤ v < 5.4.1284.10 ≤ v < 4.14.2384.15 ≤ v < 4.19.1964.20 ≤ v < 5.4.1284.5 ≤ v < 4.9.2745.11 ≤ v < 5.12.135.5 ≤ v < 5.10.465.13 rc15.13 rc25.13 rc35.13 rc45.13 rc55.13 rc69f722c0978b04acba209f8ca1896ad05814bc3a3
Vendor states this is fixed in 05b2b9f7d24b5663d9b47427fe1555bdafd3ea02 (fixed)
Vendor states this is fixed in 14184ec5c958b589ba934da7363a2877879204df (fixed)
Vendor states this is fixed in 1bcacd6088d61c0ac6a990d87975600a81f3247e (fixed)
Vendor states this is fixed in 81de2ed06df8b5451e050fe6a318af3263dbff3f (fixed)
Vendor states this is fixed in b4f7a9fc9d094c0c4a66f2ad7c37b1dbe9e78f88 (fixed)
Vendor states this is fixed in c3b26fdf1b32f91c7a3bc743384b4a298ab53ad7 (fixed)
Vendor states this is fixed in f12554b0ff639e74612cc01b3b4a049e098d2d65 (fixed)
Vendor states this is fixed in f4e6a7f19c82f39b1803e91c54718f0d7143767d (fixed)
Vendor states this is fixed in 2.6.30 (unaffected)
Vendor states this is fixed in 4.14.238 (unaffected)
Vendor states this is fixed in 4.19.196 (unaffected)
Vendor states this is fixed in 4.4.274 (unaffected)
Vendor states this is fixed in 4.9.274 (unaffected)
Vendor states this is fixed in 5.10.46 (unaffected)
Vendor states this is fixed in 5.12.13 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.4.128 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/05b2b9f7d24b5663d9b47427fe1555bdafd3ea02
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/14184ec5c958b589ba934da7363a2877879204df
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1bcacd6088d61c0ac6a990d87975600a81f3247e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/81de2ed06df8b5451e050fe6a318af3263dbff3f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b4f7a9fc9d094c0c4a66f2ad7c37b1dbe9e78f88
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c3b26fdf1b32f91c7a3bc743384b4a298ab53ad7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f12554b0ff639e74612cc01b3b4a049e098d2d65
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f4e6a7f19c82f39b1803e91c54718f0d7143767d

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card