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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-21T14:19:37.724Z
- Modified: 2026-06-17T04:16:58.570Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9f722c0978b04acba209f8ca1896ad05814bc3a3 before f12554b0ff639e74612cc01b3b4a049e098d2d65; from 9f722c0978b04acba209f8ca1896ad05814bc3a3 before 14184ec5c958b589ba934da7363a2877879204df; from 9f722c0978b04acba209f8ca1896ad05814bc3a3 before 1bcacd6088d61c0ac6a990d87975600a81f3247e; from 9f722c0978b04acba209f8ca1896ad05814bc3a3 before f4e6a7f19c82f39b1803e91c54718f0d7143767d; from 9f722c0978b04acba209f8ca1896ad05814bc3a3 before 81de2ed06df8b5451e050fe6a318af3263dbff3f; from 9f722c0978b04acba209f8ca1896ad05814bc3a3 before 05b2b9f7d24b5663d9b47427fe1555bdafd3ea02; from 9f722c0978b04acba209f8ca1896ad05814bc3a3 before b4f7a9fc9d094c0c4a66f2ad7c37b1dbe9e78f88; from 9f722c0978b04acba209f8ca1896ad05814bc3a3 before c3b26fdf1b32f91c7a3bc743384b4a298ab53ad7; 2.6.30 (not affected: before 2.6.30; from 4.4.274 up to 4.4.*; from 4.9.274 up to 4.9.*; from 4.14.238 up to 4.14.*; from 4.19.196 up to 4.19.*; from 5.4.128 up to 5.4.*; from 5.10.46 up to 5.10.*; from 5.12.13 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 2.6.30 before 4.4.274; from 4.5 before 4.9.274; from 4.10 before 4.14.238; from 4.15 before 4.19.196; from 4.20 before 5.4.128; from 5.5 before 5.10.46; from 5.11 before 5.12.13; 5.13

## References

- <https://git.kernel.org/stable/c/f12554b0ff639e74612cc01b3b4a049e098d2d65> (patch)
- <https://git.kernel.org/stable/c/14184ec5c958b589ba934da7363a2877879204df> (patch)
- <https://git.kernel.org/stable/c/1bcacd6088d61c0ac6a990d87975600a81f3247e> (patch)
- <https://git.kernel.org/stable/c/f4e6a7f19c82f39b1803e91c54718f0d7143767d> (patch)
- <https://git.kernel.org/stable/c/81de2ed06df8b5451e050fe6a318af3263dbff3f> (patch)
- <https://git.kernel.org/stable/c/05b2b9f7d24b5663d9b47427fe1555bdafd3ea02> (patch)
- <https://git.kernel.org/stable/c/b4f7a9fc9d094c0c4a66f2ad7c37b1dbe9e78f88> (patch)
- <https://git.kernel.org/stable/c/c3b26fdf1b32f91c7a3bc743384b4a298ab53ad7> (patch)

## Sources

- CVE List: [CVE-2021-47236](https://www.cve.org/CVERecord?id=CVE-2021-47236), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47236](https://nvd.nist.gov/vuln/detail/CVE-2021-47236), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47236 · Whole record: https://cve.day/CVE-2021-47236.json · Rebuilt by cve.day 2026-11-25T22:58:08.749Z
