Local kernel compromise via post-free device logging
Published Apr 10, 2024 · Updated May 11, 2026
Use-after-free in the Linux kernel allows local users to crash or compromise a system during DPAA2 Ethernet device removal. dpaa2_eth_remove calls free_netdev() and then passes the released net_device object to netdev_info() while logging device removal. Reaching the flaw requires local access that triggers removal or unbinding of a DPNI interface on supported Freescale hardware; the stale access can corrupt kernel memory, crash the host, or enable kernel-level compromise.
Summary
What happened
Use-after-free in the Linux kernel allows local users to crash or compromise a system during DPAA2 Ethernet device removal. dpaa2_eth_remove calls free_netdev() and then passes the released net_device object to netdev_info() while logging device removal. Reaching the flaw requires local access that triggers removal or unbinding of a DPNI interface on supported Freescale hardware; the stale access can corrupt kernel memory, crash the host, or enable kernel-level compromise.
The record
- CVE
- CVE-2021-47204
- Published
- Apr 10, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 10, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.17
- Affected versionversion=7472dd9f649958be6a8880ed439233c8414a7b34 <1c4099dc0d6a01e76e4f7dd98e4b3e0d55d80ad9
- Affected versionversion=7472dd9f649958be6a8880ed439233c8414a7b34 <32d4686224744819ddcae58b666c21d2a4ef4c88
- Affected versionversion=7472dd9f649958be6a8880ed439233c8414a7b34 <9b5a333272a48c2f8b30add7a874e46e8b26129c
- Affected versionversion=7472dd9f649958be6a8880ed439233c8414a7b34 <d74ff10ed2d93dc9b67e99a74b36fb9a83273d8a
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo