Local privilege escalation via lockless table lookup
Published May 21, 2024 · Updated Aug 5, 2026
Use-after-free in Linux kernel 5.12 through 5.14.9 allows local users to elevate privileges or crash the system via nf_tables operations. During owned-table deletion, nft_table_lookup performs lockless GET access while the table remains linked after synchronization, allowing a concurrent request to dereference freed memory. A local user can create a user and network namespace to obtain the required namespace capability; successful exploitation enables kernel memory access or a kernel panic.
Summary
What happened
Use-after-free in Linux kernel 5.12 through 5.14.9 allows local users to elevate privileges or crash the system via nf_tables operations. During owned-table deletion, nft_table_lookup performs lockless GET access while the table remains linked after synchronization, allowing a concurrent request to dereference freed memory. A local user can create a user and network namespace to obtain the required namespace capability; successful exploitation enables kernel memory access or a kernel panic.
The record
- CVE
- CVE-2021-47394
- Published
- May 21, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- Unavailable
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=5.12
- Affected versionversion=6001a930ce0378b62210d4f83583fc88a903d89d <a499b03bf36b0c2e3b958a381d828678ab0ffc5e
- Affected versionversion=6001a930ce0378b62210d4f83583fc88a903d89d <f65c73d3aabb87d4353e0bc4a718b5ae8c43fd04
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