CVE-2022-50189

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50189
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50189.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50189
Downstream
Published
2025-06-18T11:15:49Z
Modified
2025-08-09T20:01:27Z
Summary
[none]
Details

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]

References

Affected packages