What’s Vulnerable › Vulnerabilities
CVE-2021-46996: netfilter: nftables: Fix a memleak from userdata error path in new objects
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-02-28 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nftables: Fix a memleak from userdata error path in new objects Release object name if userdata allocation fails.
Affected products
- Linux kernel: from 5.10 before 5.10.38; from 5.11 before 5.11.22; from 5.12 before 5.12.5 — fixed in 5.10.38, 5.11.22, 5.12.5
How to fix
Upgrade to a fixed version: Linux kernel 5.10.38, 5.11.22, 5.12.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2c784a500f5edd337258b0fdb2f31bc9abde1a23
- https://git.kernel.org/stable/c/59fa98bfa1f4013d658d990cac88c87b46ff410c
- https://git.kernel.org/stable/c/85dfd816fabfc16e71786eda0a33a7046688b5b0
- https://git.kernel.org/stable/c/dd3bebf515f336214a91994348a2b86b9a1d3d7f
- https://git.kernel.org/stable/c/2c784a500f5edd337258b0fdb2f31bc9abde1a23
- https://git.kernel.org/stable/c/59fa98bfa1f4013d658d990cac88c87b46ff410c
- https://git.kernel.org/stable/c/85dfd816fabfc16e71786eda0a33a7046688b5b0
- https://git.kernel.org/stable/c/dd3bebf515f336214a91994348a2b86b9a1d3d7f
Get alerted when CVE-2021-46996 or the next vulnerability affects your stack