Vulnerability Description
In 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.19, < 5.19.2 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/2ebf6f5946817f33fb33e613e359229e98164eb3Patch
- https://git.kernel.org/stable/c/5e5fd36c58d6c820f7292ee492c3731c9a104a41Patch
FAQ
What is CVE-2022-50189?
CVE-2022-50189 is a vulnerability with a CVSS score of 7.1 (HIGH). In 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...
How severe is CVE-2022-50189?
CVE-2022-50189 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-50189?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.