CVE-2022-50007
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
2.6.19
and later are affected. Fixed in
4.9.327,
4.14.292,
4.19.257,
5.4.212,
5.10.140,
5.15.64,
5.19.6,
6.0
and their respective stable series.
References
The following references provide additional information about CVE-2022-50007 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0769491a8acd3e85ca4c3f65080eac2c824262df
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1305d7d4f35ca6f214a2d23b075aa6a924cff3be
-
PatchKernel patch commithttps://git.kernel.org/stable/c/18e6b6e2555c93f5ca09f2b85ef1fa025c8accea
Frequently asked questions
-
What is CVE-2022-50007?
CVE-2022-50007 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 2.6.19 onward and has been patched in 4.9.327, 4.14.292, 4.19.257 and others. CVE-2022-50007 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-50007?
CVE-2022-50007 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-50007?
Yes — CVE-2022-50007 has been patched. Fixed versions include 4.9.327, 4.14.292, 4.19.257 and others. If you are running Linux kernel 2.6.19 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50007 actively exploited?
No — CVE-2022-50007 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.