staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c296d5f9957c03994a699d6739c27d4581a9f6c7 · < a3177955f8da3c826a18b75e54881e2e9a9c96f1| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s staging fbtft component can leak memory allocated for framebuffer deferred I/O when fbtft_framebuffer_alloc() fails after allocating the framebuffer information structure. The description does not specify how an attacker could trigger this error path, what access they would need, or whether user interaction is required.
Engineers running Linux kernels with the staging fbtft component should check their versions against the vendor advisory; affected versions are not specified.