Description
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.
Affected products and versions
Linux Linuxc36218dc49f5e9ef9e3074670fdae7ac3a7e794f – < 88b7cfa2a0d07bf129eb4c5a7d0518052fbfbf0f · c36218dc49f5e9ef9e3074670fdae7ac3a7e794f – < 9cc19bb8f2f6886392b9185b96bbef91b2f1a50fFixed in: 88b7cfa2a0d07bf129eb4c5a7d0518052fbfbf0f · 9cc19bb8f2f6886392b9185b96bbef91b2f1a50f
Linux Linux7.1Fixed in: 7.3.6 · 7.4-rc1
References
- git.kernel.org/stable/c/88b7cfa2a0d07bf129eb4c5a7d0518052fbfbf0f
- git.kernel.org/stable/c/9cc19bb8f2f6886392b9185b96bbef91b2f1a50f
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.