CVE-2022-50189

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

No CVSS.

Configurations

No configuration.

History

18 Jun 2025, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-18 11:15

Updated : 2025-06-18 13:47


NVD link : CVE-2022-50189

Mitre link : CVE-2022-50189

CVE.ORG link : CVE-2022-50189


JSON object : View

Products Affected

No product.

CWE

No CWE.