5.5medium
net: cdc_eem: fix tx fixup skb leak
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 1 more 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.* | CVE List |
| 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 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: cdc_eem: corrige la fuga de skb de reparación de tx cuando usbnet transmite un skb, eem lo repara en eem_tx_fixup(), si skb_copy_expand() falla, devuelve NULL, usbnet_start_xmit() No tendrá posibilidad de liberar el skb original. solucionelo primero con skb original gratuito en eem_tx_fixup(), luego verifique el estado del clon de skb, si falla, devuelva NULL a usbnet.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47236 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47236 changed 2026-06-17 | Public domain |