Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2022-50007 Details

Description

In the Linux kernel, the following vulnerability has been resolved: xfrm: fix refcount leak in __xfrm_policy_check() The issue happens on an error path in __xfrm_policy_check(). When the fetching process of the object `pols[1]` fails, the function simply returns 0, forgetting to decrement the reference count of `pols[0]`, which is incremented earlier by either xfrm_sk_policy_lookup() or xfrm_policy_lookup(). This may result in memory leaks. Fix it by decreasing the reference count of `pols[0]` in that path.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
NVD-CWE-OtherWeakness Not in a Standard CWE Category[email protected]

Affected Products

ProductVersions
linux linux kernel
>= 2.6.20, < 4.9.327
>= 4.10, < 4.14.292
>= 4.15, < 4.19.257
>= 4.20, < 5.4.212
>= 5.5, < 5.10.140

CPE

  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:2.6.19:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:2.6.19:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:2.6.19:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:2.6.19:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:2.6.19:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:2.6.19:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

3 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2022-50007
NVD Published Date:
Jun 18, 2025
NVD Last Modified:
Jun 17, 2026
Source:
kernel.org
CVE-2022-50007 Details - Not Deferred