CVE-2022-50189
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/06/2025
Last modified:
18/06/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
tools/power turbostat: Fix file pointer leak<br />
<br />
Currently if a fscanf fails then an early return leaks an open<br />
file pointer. Fix this by fclosing the file before the return.<br />
Detected using static analysis with cppcheck:<br />
<br />
tools/power/x86/turbostat/turbostat.c:2039:3: error: Resource leak: fp [resourceLeak]