# CVE-2021-46996: netfilter: nftables: Fix a memleak from userdata error path in new objects

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-02-28T08:13:20.406Z
- Modified: 2026-06-17T04:16:07.283Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b131c96496b369c7b14125e7c50e89ac7cec8051 before 2c784a500f5edd337258b0fdb2f31bc9abde1a23; from b131c96496b369c7b14125e7c50e89ac7cec8051 before 59fa98bfa1f4013d658d990cac88c87b46ff410c; from b131c96496b369c7b14125e7c50e89ac7cec8051 before dd3bebf515f336214a91994348a2b86b9a1d3d7f; from b131c96496b369c7b14125e7c50e89ac7cec8051 before 85dfd816fabfc16e71786eda0a33a7046688b5b0; 5.10 (not affected: before 5.10; from 5.10.38 up to 5.10.*; from 5.11.22 up to 5.11.*; from 5.12.5 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 5.10 before 5.10.38; from 5.11 before 5.11.22; from 5.12 before 5.12.5

## References

- <https://git.kernel.org/stable/c/2c784a500f5edd337258b0fdb2f31bc9abde1a23> (patch)
- <https://git.kernel.org/stable/c/59fa98bfa1f4013d658d990cac88c87b46ff410c> (patch)
- <https://git.kernel.org/stable/c/dd3bebf515f336214a91994348a2b86b9a1d3d7f> (patch)
- <https://git.kernel.org/stable/c/85dfd816fabfc16e71786eda0a33a7046688b5b0> (patch)

## Sources

- CVE List: [CVE-2021-46996](https://www.cve.org/CVERecord?id=CVE-2021-46996), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-46996](https://nvd.nist.gov/vuln/detail/CVE-2021-46996), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46996 · Whole record: https://cve.day/CVE-2021-46996.json · Rebuilt by cve.day 2026-11-25T22:58:08.607Z
