Local kernel use-after-free via stale netdevice trace
Published Jun 19, 2024 · Updated May 11, 2026
Use-after-free in the HNS3 VF driver in Linux 5.8 through 5.10.87 and 5.11 through 5.15.10 allows local users to access freed kernel memory. The hns3_remove path frees the netdevice while uninstalling the client, then acceleration-engine teardown passes the stale pointer to hclgevf_send_mbx_msg for runtime tracing. Reachability requires teardown of an affected HNS3 virtual-function device; published sources do not describe a demonstrated end effect.
Summary
What happened
Use-after-free in the HNS3 VF driver in Linux 5.8 through 5.10.87 and 5.11 through 5.15.10 allows local users to access freed kernel memory. The hns3_remove path frees the netdevice while uninstalling the client, then acceleration-engine teardown passes the stale pointer to hclgevf_send_mbx_msg for runtime tracing. Reachability requires teardown of an affected HNS3 virtual-function device; published sources do not describe a demonstrated end effect.
The record
- CVE
- CVE-2021-47596
- Published
- Jun 19, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 19, 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=5.8
- Affected versionversion=d8355240cf8fb8b9e002b5c8458578435cea85c2 <12512bc8f25b8ba9795dfbae0e9ca57ff13fd542
- Affected versionversion=d8355240cf8fb8b9e002b5c8458578435cea85c2 <27cbf64a766e86f068ce6214f04c00ceb4db1af4
- Affected versionversion=d8355240cf8fb8b9e002b5c8458578435cea85c2 <4f4a353f6fe033807cd026a5de81c67469ff19b0
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.
Weakness, pattern, technique
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