In the Linux kernel, the following vulnerability has been resolved: drm/ras: Cancel and free message on get counter failure doit_reply_value() directly returns on get counter failure, which results in stale sk_buff and genetlink header that aren't cleaned up. Fix it and while at it, consolidate error handling using goto.
https://git.kernel.org/stable/c/9cc19bb8f2f6886392b9185b96bbef91b2f1a50f
https://git.kernel.org/stable/c/88b7cfa2a0d07bf129eb4c5a7d0518052fbfbf0f