Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2022-50189

tools/power turbostat: Fix file pointer leak

High7.1EPSS 0.23%
Published
Updated
Reserved
Assigned by
Linux

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]

Scores

CVSS scores of CVE-2022-50189, by who scored it
Scored byCVSSScoreVector
NVDNVD · Analyzed3.1High7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS (exploitation in 30 days)
0.23% · top 86% of all CVEs (6 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.

Weakness

Affected products

  • Linux · Linux

    • affected eae97e053fe306edbbe60c934031edf9a8affd3f – < 2ebf6f5946817f33fb33e613e359229e98164eb3
    • affected eae97e053fe306edbbe60c934031edf9a8affd3f – < 5e5fd36c58d6c820f7292ee492c3731c9a104a41
  • Linux · Linux

    • affected 5.19
    • unaffected < 5.19
    • unaffected 5.19.2 – ≤ 5.19.*
    • unaffected 6.0 – ≤ *

References (2)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2022-50189 badge
[![CVE-2022-50189](https://trackcve.app/badge/CVE-2022-50189.svg)](https://trackcve.app/cve/CVE-2022-50189)

Record last updated .