Vulnerability in Linux

CVE-2021-47236

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 13.7th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 9f722c0978b04acba209f8ca1896ad05814bc3a3, 2.6.30, 0
  • Linux Kernel — versions 5.13

Weakness classification (CWE)

References