Local privilege escalation via shallow-copied connlimit list
Published Feb 27, 2024 · Updated Aug 5, 2026
Memory corruption in Linux kernel nftables allows local users to gain kernel privileges through connlimit expressions in set elements. The set-element cloning path in net/netfilter/nf_tables_api.c uses memcpy on an expression template, duplicating embedded list pointers instead of initializing a new connlimit list. Reaching the flaw requires nftables configuration through nfnetlink with CAP_NET_ADMIN, which is obtainable in an unprivileged user namespace; corrupted list processing permits kernel memory access or a host crash.
Summary
What happened
Memory corruption in Linux kernel nftables allows local users to gain kernel privileges through connlimit expressions in set elements. The set-element cloning path in net/netfilter/nf_tables_api.c uses memcpy on an expression template, duplicating embedded list pointers instead of initializing a new connlimit list. Reaching the flaw requires nftables configuration through nfnetlink with CAP_NET_ADMIN, which is obtainable in an unprivileged user namespace; corrupted list processing permits kernel memory access or a host crash.
The record
- CVE
- CVE-2021-46913
- Published
- Feb 27, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-20, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 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=4094445229760d0d31a4190dfe88fe815c9fc34e <47d8de3c226574a3ddb8b87d0c152028d1bafef4
- Affected versionversion=4094445229760d0d31a4190dfe88fe815c9fc34e <4d8f9065830e526c83199186c5f56a6514f457d2
- Affected versionversion=4094445229760d0d31a4190dfe88fe815c9fc34e <e51ff3ffc316377cca21de8b80404eed0c37b3c3
- Affected versionversion=5.7
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