CVE-2025-38612 Details
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.
A memory leak vulnerability has been identified in the Linux kernel's staging fbtft driver. The issue arises in the 'fbtft_framebuffer_alloc' function, where the 'fb_info' structure is allocated but not properly cleaned up in case of an error. Specifically, the memory allocated for 'info->pagerefs' is not freed, leading to a potential memory leak.
The vulnerability has been addressed by adding a cleanup function to the error path of the 'fbtft_framebuffer_alloc' function, ensuring that the allocated memory is properly freed in case of an error.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3290f62f23fae05f2ec34085eb86dfb3648ef91f | kernel.org | Patch |
| https://git.kernel.org/stable/c/47b3d6e8921bbb7b65c2dab8eaa8864901848c1c | kernel.org | Patch |
| https://git.kernel.org/stable/c/6771f121ae87490ddc19eabb7450383af9e01b6d | kernel.org | Patch |
| https://git.kernel.org/stable/c/6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f | kernel.org | Patch |
| https://git.kernel.org/stable/c/83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a3177955f8da3c826a18b75e54881e2e9a9c96f1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b31cf6f7716a5d3e4461763f32d812acdaec6e74 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c3b1c45c48117ed4d8797ee89d1155f16b72d490 | kernel.org | Patch |
| https://git.kernel.org/stable/c/eb2cb7dab60f9be0b435ac4a674255429a36d72c | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.0, < 5.4.297 >= 5.5, < 5.10.241 >= 5.11, < 5.15.190 >= 5.16, < 6.1.148 >= 6.2, < 6.6.102 >= 6.7, < 6.12.42 >= 6.13, < 6.15.10 >= 6.16, < 6.16.1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 7, 2026 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 28, 2025 | CVE Modified | kernel.org |
| Aug 19, 2025 | New CVE Received | kernel.org |