CVE-2022-50189
HighIn the Linux kernel, the following vulnerability has been resolved: tools/power turbostat: Fix file pointer leak Currently if a fscanf fails then an early return leaks an open file pointer. Fix this by fclosing the file before the return. Detected using static analysis with cppcheck: tools/power/x86/turbostat/turbostat.c:2039:3: error: Resource leak: fp [resourceLeak]
CVSS 3.1 score
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness type
CWE-772CVE-2022-50189 is a Missing Release of Resource after Effective Lifetime vulnerability
What is Missing Release of Resource after Effective Lifetime?
The product does not release a resource after its effective lifetime has ended. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.19
and later are affected. Fixed in
5.19.2,
6.0
and their respective stable series.
References
The following references provide additional information about CVE-2022-50189 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/2ebf6f5946817f33fb33e613e359229e98164eb3
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5e5fd36c58d6c820f7292ee492c3731c9a104a41
Frequently asked questions
-
What is CVE-2022-50189?
CVE-2022-50189 is a High severity Linux kernel vulnerability with a CVSS score of 7.1 out of 10 , classified as a Missing Release of Resource after Effective Lifetime flaw (CWE-772) . It affects Linux kernel versions from 5.19 onward and has been patched in 5.19.2 and 6.0. CVE-2022-50189 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-50189?
CVE-2022-50189 has a CVSS score of 7.1 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. -
Is there a patch available for CVE-2022-50189?
Yes — CVE-2022-50189 has been patched. Fixed versions include 5.19.2 and 6.0. If you are running Linux kernel 5.19 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50189 actively exploited?
No — CVE-2022-50189 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Missing Release of Resource after Effective Lifetime (CWE-772)?
The product does not release a resource after its effective lifetime has ended. View CWE-772 on MITRE CWE →