# CVE-2021-47204: net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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-04-10T18:56:37.703Z
- Modified: 2026-06-17T04:16:54.280Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove

Access to netdev after free_netdev() will cause use-after-free bug.
Move debug log before free_netdev() call to avoid it.

(As written by CVE List.)

## Affected

- Linux Linux: from 7472dd9f649958be6a8880ed439233c8414a7b34 before d74ff10ed2d93dc9b67e99a74b36fb9a83273d8a; from 7472dd9f649958be6a8880ed439233c8414a7b34 before 1c4099dc0d6a01e76e4f7dd98e4b3e0d55d80ad9; from 7472dd9f649958be6a8880ed439233c8414a7b34 before 32d4686224744819ddcae58b666c21d2a4ef4c88; from 7472dd9f649958be6a8880ed439233c8414a7b34 before 9b5a333272a48c2f8b30add7a874e46e8b26129c; 4.17 (not affected: before 4.17; from 5.4.162 up to 5.4.*; from 5.10.82 up to 5.10.*; from 5.15.5 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: from 4.17 before 5.4.162; from 5.5 before 5.10.82; from 5.11 before 5.15.5; 5.16

## References

- <https://git.kernel.org/stable/c/d74ff10ed2d93dc9b67e99a74b36fb9a83273d8a> (patch)
- <https://git.kernel.org/stable/c/1c4099dc0d6a01e76e4f7dd98e4b3e0d55d80ad9> (patch)
- <https://git.kernel.org/stable/c/32d4686224744819ddcae58b666c21d2a4ef4c88> (patch)
- <https://git.kernel.org/stable/c/9b5a333272a48c2f8b30add7a874e46e8b26129c> (patch)

## Sources

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

---

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