VYPR
High severity7.1NVD Advisory· Published Jun 18, 2025· Updated Jun 17, 2026

CVE-2022-50189

CVE-2022-50189

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]

Affected products

4
  • Linux/Kernel3 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=5.19,<5.19.2
    • (no CPE)
    • (no CPE)range: 5.19
  • osv-coords
    Range: >= 5.19.0, < 5.19.2

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.