What’s Vulnerable › Vulnerabilities

CVE-2021-47236: net: cdc_eem: fix tx fixup skb leak

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.238, 4.19.196, 4.4.274, 4.9.274. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47236 or the next vulnerability affects your stack