We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2022-50189

tools/power turbostat: Fix file pointer 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]

Reserved 2025-06-18 | Published 2025-06-18 | Updated 2025-06-18 | Assigner Linux

Product status

Default status
unaffected

eae97e053fe306edbbe60c934031edf9a8affd3f before 2ebf6f5946817f33fb33e613e359229e98164eb3
affected

eae97e053fe306edbbe60c934031edf9a8affd3f before 5e5fd36c58d6c820f7292ee492c3731c9a104a41
affected

Default status
affected

5.19
affected

Any version before 5.19
unaffected

5.19.2
unaffected

6.0
unaffected

References

git.kernel.org/...c/2ebf6f5946817f33fb33e613e359229e98164eb3

git.kernel.org/...c/5e5fd36c58d6c820f7292ee492c3731c9a104a41

cve.org (CVE-2022-50189)

nvd.nist.gov (CVE-2022-50189)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2022-50189

Support options

Helpdesk Chat, Email, Knowledgebase