# CVE-2022-48933: netfilter: nf_tables: fix memory leak during stateful obj update

- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-08-22T03:31:27.165Z
- Modified: 2026-06-17T05:16:39.133Z
- 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: nf_tables: fix memory leak during stateful obj update

stateful objects can be updated from the control plane.
The transaction logic allocates a temporary object for this purpose.

The ->init function was called for this object, so plain kfree() leaks
resources. We must call ->destroy function of the object.

nft_obj_destroy does this, but it also decrements the module refcount,
but the update path doesn't increment it.

To avoid special-casing the update object release, do module_get for
the update case too and release it via nft_obj_destroy().

(As written by CVE List.)

## Affected

- Linux Linux: from d62d0ba97b5803183e70cfded7f7b9da76893bf5 before 53026346a94c43f35c32b18804041bc483271d87; from d62d0ba97b5803183e70cfded7f7b9da76893bf5 before 7e9880e81d3fd6a43c202f205717485290432826; from d62d0ba97b5803183e70cfded7f7b9da76893bf5 before e96e204ee6fa46702f6c94c3c69a09e69e0eac52; from d62d0ba97b5803183e70cfded7f7b9da76893bf5 before 34bb90e407e3288f610558beaae54ecaa32b11c4; from d62d0ba97b5803183e70cfded7f7b9da76893bf5 before dad3bdeef45f81a6e90204bcc85360bb76eccec7; 5.4 (not affected: before 5.4; from 5.4.182 up to 5.4.*; from 5.10.103 up to 5.10.*; from 5.15.26 up to 5.15.*; from 5.16.12 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: from 5.4 before 5.4.182; from 5.5 before 5.10.103; from 5.11 before 5.15.26; from 5.16 before 5.16.12

## References

- <https://git.kernel.org/stable/c/53026346a94c43f35c32b18804041bc483271d87> (patch)
- <https://git.kernel.org/stable/c/7e9880e81d3fd6a43c202f205717485290432826> (patch)
- <https://git.kernel.org/stable/c/e96e204ee6fa46702f6c94c3c69a09e69e0eac52> (patch)
- <https://git.kernel.org/stable/c/34bb90e407e3288f610558beaae54ecaa32b11c4> (patch)
- <https://git.kernel.org/stable/c/dad3bdeef45f81a6e90204bcc85360bb76eccec7> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2022-48933 · Whole record: https://cve.day/CVE-2022-48933.json · Rebuilt by cve.day 2026-11-25T22:58:19.970Z
