{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-50007","published":"2025-06-18T11:15:28.617000Z","last_modified":"2026-06-17T05:22:32.647000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":[],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"2.6.20","version_end_excluding":"4.9.327"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.10","version_end_excluding":"4.14.292"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.15","version_end_excluding":"4.19.257"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.212"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.140"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.64"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"5.19.6"},{"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.19:-:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"2.6.19"},{"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.19:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"2.6.19"},{"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.19:rc3:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"2.6.19"},{"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.19:rc4:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"2.6.19"},{"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.19:rc5:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"2.6.19"},{"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.19:rc6:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"2.6.19"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.0"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"epss":{"score":0.0028,"percentile":0.13035,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2022-50007/","html_en":"/en/cve/CVE-2022-50007/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50007","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50007"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: fix refcount leak in __xfrm_policy_check()\n\nThe issue happens on an error path in __xfrm_policy_check(). When the\nfetching process of the object `pols[1]` fails, the function simply\nreturns 0, forgetting to decrement the reference count of `pols[0]`,\nwhich is incremented earlier by either xfrm_sk_policy_lookup() or\nxfrm_policy_lookup(). This may result in memory leaks.\n\nFix it by decreasing the reference count of `pols[0]` in that path.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/0769491a8acd3e85ca4c3f65080eac2c824262df","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/1305d7d4f35ca6f214a2d23b075aa6a924cff3be","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/18e6b6e2555c93f5ca09f2b85ef1fa025c8accea","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/26ad2398fe4984f4f6f930bcb3bc9047fa77265b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/63da7a2bbf3f28094920e0b8a17d2571a9bd842d","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/8f94b933103ee1bda119543369cc18a1be5536db","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/9c9cb23e00ddf45679b21b4dacc11d1ae7961ebe","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d66c052879791313f90c0584420f196a038fb8b8","tags":["Patch"]}]}}