What’s Vulnerable › Vulnerabilities

CVE-2025-38612: staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()

Description

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

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.241, 5.15.190, 5.4.297, 6.1.148. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-38612 or the next vulnerability affects your stack