Missing Release of Resource after Effective Lifetime
CVE-2022-50189
Summary
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]
- LOW
- LOCAL
- NONE
- UNCHANGED
- NONE
- LOW
- HIGH
- HIGH
CWE-772 - Missing Release Of Resource After Effective Lifetime
'Missing release of resource after effective lifetime' is a weakness that occurs when software doesn't sufficiently release a resource (e.g. memory, CPU, disk space, etc.) after it is used. If not addressed, attackers can launch a denial of service attack (by allocating a resource and not releasing it).
References
Advisory Timeline
- Published