Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 9f722c0978b04acba209f8ca1896ad05814bc3a3 to < f12554b0ff639e74612cc01b3b4a049e098d2d65affected
  • 9f722c0978b04acba209f8ca1896ad05814bc3a3 to < 14184ec5c958b589ba934da7363a2877879204dfaffected
  • 9f722c0978b04acba209f8ca1896ad05814bc3a3 to < 1bcacd6088d61c0ac6a990d87975600a81f3247eaffected
  • 9f722c0978b04acba209f8ca1896ad05814bc3a3 to < f4e6a7f19c82f39b1803e91c54718f0d7143767daffected
  • 9f722c0978b04acba209f8ca1896ad05814bc3a3 to < 81de2ed06df8b5451e050fe6a318af3263dbff3faffected
  • 9f722c0978b04acba209f8ca1896ad05814bc3a3 to < 05b2b9f7d24b5663d9b47427fe1555bdafd3ea02affected
  • 9f722c0978b04acba209f8ca1896ad05814bc3a3 to < b4f7a9fc9d094c0c4a66f2ad7c37b1dbe9e78f88affected
  • 9f722c0978b04acba209f8ca1896ad05814bc3a3 to < c3b26fdf1b32f91c7a3bc743384b4a298ab53ad7affected

Linux Linux

Default version status: affected

  • 2.6.30affected
  • 0 to < 2.6.30unaffected
  • 4.4.274 to ≤ 4.4.*unaffected
  • 4.9.274 to ≤ 4.9.*unaffected
  • 4.14.238 to ≤ 4.14.*unaffected
  • 4.19.196 to ≤ 4.19.*unaffected
  • 5.4.128 to ≤ 5.4.*unaffected
  • 5.10.46 to ≤ 5.10.*unaffected
  • 5.12.13 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References