{"id":"CVE-2022-48933","aliases":["CVE-2022-48933"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: nf_tables: fix memory leak during stateful obj update","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: nf_tables: corrige la pérdida de memoria durante la actualización de objetos con estado. Los objetos con estado se pueden actualizar desde el plano de control. La lógica de transacción asigna un objeto temporal para este propósito. La función -&gt;init fue llamada para este objeto, por lo que kfree() simple pierde recursos. Debemos llamar a la función -&gt;destruir del objeto. nft_obj_destroy hace esto, pero también disminuye el recuento del módulo, pero la ruta de actualización no lo incrementa. Para evitar usar mayúsculas y minúsculas especiales en la versión del objeto de actualización, utilice module_get para el caso de actualización también y libérela mediante nft_obj_destroy().","source":"nvd"}],"published":"2024-08-22T03:31:27.165Z","modified":"2026-06-17T05:16:39.133Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","fixed":"53026346a94c43f35c32b18804041bc483271d87","status":"affected"},{"type":"git","introduced":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","fixed":"7e9880e81d3fd6a43c202f205717485290432826","status":"affected"},{"type":"git","introduced":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","fixed":"e96e204ee6fa46702f6c94c3c69a09e69e0eac52","status":"affected"},{"type":"git","introduced":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","fixed":"34bb90e407e3288f610558beaae54ecaa32b11c4","status":"affected"},{"type":"git","introduced":"d62d0ba97b5803183e70cfded7f7b9da76893bf5","fixed":"dad3bdeef45f81a6e90204bcc85360bb76eccec7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"5.4.182","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.103","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.26","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.12","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4","fixed":"5.4.182"},{"status":"affected","introduced":"5.5","fixed":"5.10.103"},{"status":"affected","introduced":"5.11","fixed":"5.15.26"},{"status":"affected","introduced":"5.16","fixed":"5.16.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/53026346a94c43f35c32b18804041bc483271d87","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e9880e81d3fd6a43c202f205717485290432826","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e96e204ee6fa46702f6c94c3c69a09e69e0eac52","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34bb90e407e3288f610558beaae54ecaa32b11c4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dad3bdeef45f81a6e90204bcc85360bb76eccec7","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:32:43.489Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48933","url":"https://www.cve.org/CVERecord?id=CVE-2022-48933","licence":"CVE Terms of Use","modified":"2026-05-11T18:49:57.498Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48933","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48933","licence":"Public domain","modified":"2026-06-17T05:16:39.133Z"}],"updatedAt":"2026-11-25T22:58:19.970Z","epss":{"score":0.0021,"percentile":0.11797,"date":"2026-12-01T12:00:22.000Z"}}