Kernel memory corruption via stale tunnel destination
Published May 21, 2024 · Updated Aug 5, 2026
Use-after-free in Linux kernel bridge VLAN tunneling allows local users to corrupt memory by triggering egress on a stale destination. br_handle_egress_vlan_tunnel assigns the result of dst_clone even when the destination has a zero reference count or was deleted, instead of acquiring it safely. Reaching the flaw requires local low-privileged access and bridge VLAN-tunnel egress; the resulting stale reference causes kernel warnings, reference underflow, and memory corruption.
Summary
What happened
Use-after-free in Linux kernel bridge VLAN tunneling allows local users to corrupt memory by triggering egress on a stale destination. br_handle_egress_vlan_tunnel assigns the result of dst_clone even when the destination has a zero reference count or was deleted, instead of acquiring it safely. Reaching the flaw requires local low-privileged access and bridge VLAN-tunnel egress; the resulting stale reference causes kernel warnings, reference underflow, and memory corruption.
The record
- CVE
- CVE-2021-47222
- Published
- May 21, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=11538d039ac6efcf4f1a6c536e1b87cd3668a9fd <25053a8404ba17ca48f5553d487afc1882e9f56c
- Affected versionversion=11538d039ac6efcf4f1a6c536e1b87cd3668a9fd <42020f7f37a90d24b9551f5f7eba3f7c7c102968
- Affected versionversion=11538d039ac6efcf4f1a6c536e1b87cd3668a9fd <79855be6445b6592bddb7bd7167083ec8cdbd73f
- Affected versionversion=11538d039ac6efcf4f1a6c536e1b87cd3668a9fd <84fc1c944e45ab317e2e70a0e7f76fa2a5e43b6e
- Affected versionversion=11538d039ac6efcf4f1a6c536e1b87cd3668a9fd <cfc579f9d89af4ada58c69b03bcaa4887840f3b3
- Affected versionversion=11538d039ac6efcf4f1a6c536e1b87cd3668a9fd <fc7fdd8c5c2ad2fe3e297698be9d4dbe4a4e0579
- Affected versionversion=4.11
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