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
Configurations
History
No history.
Information
Published : 2025-06-18 11:15
Updated : 2026-01-23 16:41
NVD link : CVE-2022-50189
Mitre link : CVE-2022-50189
CVE.ORG link : CVE-2022-50189
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-772
Missing Release of Resource after Effective Lifetime
