Vulnerability CVE-2021-47545


Published: 2024-05-24

Description:
In the Linux kernel, the following vulnerability has been resolved:

perf hist: Fix memory leak of a perf_hpp_fmt

perf_hpp__column_unregister() removes an entry from a list but doesn't
free the memory causing a memory leak spotted by leak sanitizer.

Add the free while at the same time reducing the scope of the function
to static.

 References:
https://git.kernel.org/stable/c/c5c8a26c0dc69a400553245e92d741fe55f91095
https://git.kernel.org/stable/c/24a139c105fa0f7f99888cf328bf6a02fc841675
https://git.kernel.org/stable/c/b380d09e44e8479e71e3ae8446b515a5b3166244
https://git.kernel.org/stable/c/a4c17ebdd6249cb4e061358d3693383f6628e069
https://git.kernel.org/stable/c/5b5c6f57a1f81499db4c8ea597898cb1b87de0b6
https://git.kernel.org/stable/c/0ca1f534a776cc7d42f2c33da4732b74ec2790cd

Copyright 2026, cxsecurity.com

 

Back to Top