In the Linux kernel, the following vulnerability has been resolved: fbdev: efifb: Register sysfs groups through driver core The driver core can register and cleanup sysfs groups already. Make use of that functionality to simplify the error handling and cleanup. Also avoid a UAF race during unregistering where the sysctl attributes were usable after the info struct was freed.
https://git.kernel.org/stable/c/95cdd538e0e5677efbdf8aade04ec098ab98f457
https://git.kernel.org/stable/c/872cd2d029d2c970a8a1eea88b48dab2b3f2e93a
https://git.kernel.org/stable/c/4684d69b9670a83992189f6271dc0fcdec4ed0d7
https://git.kernel.org/stable/c/36bfefb6baaa8e46de44f4fd919ce4347337620f
https://git.kernel.org/stable/c/2a9c40c72097b583b23aeb2a26d429ccfc81fbc1