perf: Fix perfpendingtask() UaF
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v6.0.14 by commit 78e1317a174edbfd1182599bf76c092a2877672c. For more details please see the references link.