SecurityContext

CVE-2022-50189: Linux Kernel turbostat - Resource Leak

  • Cve: CVE-2022-50189
  • Name: Linux Kernel turbostat - Resource Leak
  • 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]
  • Impact: Attackers can cause resource exhaustion by leaking file pointers, potentially leading to denial of service.
  • Remediation: Update to the latest Linux kernel version containing the fix.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.1
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
  • Epss score: 0.00238
  • Epss percentile: 0.14879
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-06-18T11:15:49Z
  • Age in days: 524
  • Modified at: 2026-06-17T05:22:56Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-50189
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-772Missing Release of Resource after Effective Lifetime

References

UrlSourceTags
https://git.kernel.org/stable/c/2ebf6f5946817f33fb33e613e359229e98164eb3nvdPatch
https://git.kernel.org/stable/c/5e5fd36c58d6c820f7292ee492c3731c9a104a41nvdPatch

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 5.19, < 5.19.2nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports