{"id":"CVE-2022-48933","state":"PUBLISHED","title":"netfilter: nf_tables: fix memory leak during stateful obj update","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: fix memory leak during stateful obj update\n\nstateful objects can be updated from the control plane.\nThe transaction logic allocates a temporary object for this purpose.\n\nThe ->init function was called for this object, so plain kfree() leaks\nresources. We must call ->destroy function of the object.\n\nnft_obj_destroy does this, but it also decrements the module refcount,\nbut the update path doesn't increment it.\n\nTo avoid special-casing the update object release, do module_get for\nthe update case too and release it via nft_obj_destroy().","publishedAt":"2024-08-22T03:31:27.165Z","updatedAt":"2026-05-11T18:49:57.498Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","status":"affected","lessThan":"53026346a94c43f35c32b18804041bc483271d87","versionType":"git"},{"version":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","status":"affected","lessThan":"7e9880e81d3fd6a43c202f205717485290432826","versionType":"git"},{"version":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","status":"affected","lessThan":"e96e204ee6fa46702f6c94c3c69a09e69e0eac52","versionType":"git"},{"version":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","status":"affected","lessThan":"34bb90e407e3288f610558beaae54ecaa32b11c4","versionType":"git"},{"version":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","status":"affected","lessThan":"dad3bdeef45f81a6e90204bcc85360bb76eccec7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nf_tables_api.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.4","versionType":"semver"},{"version":"5.4.182","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.103","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.26","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.12","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nf_tables_api.c"]}],"references":["https://git.kernel.org/stable/c/53026346a94c43f35c32b18804041bc483271d87","https://git.kernel.org/stable/c/7e9880e81d3fd6a43c202f205717485290432826","https://git.kernel.org/stable/c/e96e204ee6fa46702f6c94c3c69a09e69e0eac52","https://git.kernel.org/stable/c/34bb90e407e3288f610558beaae54ecaa32b11c4","https://git.kernel.org/stable/c/dad3bdeef45f81a6e90204bcc85360bb76eccec7"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/48xxx/CVE-2022-48933.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-48933","state":"PUBLISHED","datePublished":"2024-08-22T03:31:27.165Z","dateUpdated":"2026-05-11T18:49:57.498Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-21T06:06:23.299Z"},"containers":{"cna":{"title":"netfilter: nf_tables: fix memory leak during stateful obj update","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: fix memory leak during stateful obj update\n\nstateful objects can be updated from the control plane.\nThe transaction logic allocates a temporary object for this purpose.\n\nThe ->init function was called for this object, so plain kfree() leaks\nresources. We must call ->destroy function of the object.\n\nnft_obj_destroy does this, but it also decrements the module refcount,\nbut the update path doesn't increment it.\n\nTo avoid special-casing the update object release, do module_get for\nthe update case too and release it via nft_obj_destroy()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","status":"affected","lessThan":"53026346a94c43f35c32b18804041bc483271d87","versionType":"git"},{"version":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","status":"affected","lessThan":"7e9880e81d3fd6a43c202f205717485290432826","versionType":"git"},{"version":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","status":"affected","lessThan":"e96e204ee6fa46702f6c94c3c69a09e69e0eac52","versionType":"git"},{"version":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","status":"affected","lessThan":"34bb90e407e3288f610558beaae54ecaa32b11c4","versionType":"git"},{"version":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","status":"affected","lessThan":"dad3bdeef45f81a6e90204bcc85360bb76eccec7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nf_tables_api.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.4","versionType":"semver"},{"version":"5.4.182","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.103","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.26","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.12","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nf_tables_api.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/53026346a94c43f35c32b18804041bc483271d87"},{"url":"https://git.kernel.org/stable/c/7e9880e81d3fd6a43c202f205717485290432826"},{"url":"https://git.kernel.org/stable/c/e96e204ee6fa46702f6c94c3c69a09e69e0eac52"},{"url":"https://git.kernel.org/stable/c/34bb90e407e3288f610558beaae54ecaa32b11c4"},{"url":"https://git.kernel.org/stable/c/dad3bdeef45f81a6e90204bcc85360bb76eccec7"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T18:49:57.498Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.4.182"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.10.103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.15.26"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.16.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.17"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-48933","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:32:43.489248Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-12T17:32:59.806Z"}}]}}}