In the Linux kernel, the following vulnerability has been resolved: staging: fbtft: fix potential memory leak in fbtftframebufferalloc() In the error paths after fbinfo structure is successfully allocated, the memory allocated in fbdeferredioinit() for info->pagerefs is not freed. Fix that by adding the cleanup function on the error path.