CVE-2025-38612
JSON

5.5medium

staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom c296d5f9957c03994a699d6739c27d4581a9f6c7 before 83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0, from c296d5f9957c03994a699d6739c27d4581a9f6c7 before c3b1c45c48117ed4d8797ee89d1155f16b72d490, from c296d5f9957c03994a699d6739c27d4581a9f6c7 before 3290f62f23fae05f2ec34085eb86dfb3648ef91f, from c296d5f9957c03994a699d6739c27d4581a9f6c7 before 6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f, from c296d5f9957c03994a699d6739c27d4581a9f6c7 before b31cf6f7716a5d3e4461763f32d812acdaec6e74, from c296d5f9957c03994a699d6739c27d4581a9f6c7 before a3177955f8da3c826a18b75e54881e2e9a9c96f1, from c296d5f9957c03994a699d6739c27d4581a9f6c7 before 6771f121ae87490ddc19eabb7450383af9e01b6d, from c296d5f9957c03994a699d6739c27d4581a9f6c7 before 47b3d6e8921bbb7b65c2dab8eaa8864901848c1c and 2 more
Not affected: before 4.0, from 5.4.297 up to 5.4.*, from 5.10.241 up to 5.10.*, from 5.15.190 up to 5.15.*, from 6.1.148 up to 6.1.*, from 6.6.102 up to 6.6.*
CVE List
linux linux_kernelfrom 4.0 before 5.4.297, from 5.5 before 5.10.241, from 5.11 before 5.15.190, from 5.16 before 6.1.148, from 6.2 before 6.6.102, from 6.7 before 6.12.42, from 6.13 before 6.15.10, from 6.16 before 6.16.1NVD
debian debian_linux11.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: staging: fbtft: se corrige una posible fuga de memoria en fbtft_framebuffer_alloc(). En las rutas de error, tras la asignación correcta de la estructura fb_info, la memoria asignada en fb_deferred_io_init() para info->pagerefs no se libera. Para solucionar esto, se añade la función de limpieza en la ruta de error.

References

https://git.kernel.org/stable/c/83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0patch
https://git.kernel.org/stable/c/c3b1c45c48117ed4d8797ee89d1155f16b72d490patch
https://git.kernel.org/stable/c/3290f62f23fae05f2ec34085eb86dfb3648ef91fpatch
https://git.kernel.org/stable/c/6f9e2cf9e9c1a891a683329af35bb33ed9d38b5fpatch
https://git.kernel.org/stable/c/b31cf6f7716a5d3e4461763f32d812acdaec6e74patch
https://git.kernel.org/stable/c/a3177955f8da3c826a18b75e54881e2e9a9c96f1patch
https://git.kernel.org/stable/c/6771f121ae87490ddc19eabb7450383af9e01b6dpatch
https://git.kernel.org/stable/c/47b3d6e8921bbb7b65c2dab8eaa8864901848c1cpatch
https://git.kernel.org/stable/c/eb2cb7dab60f9be0b435ac4a674255429a36d72cpatch
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlthird-party-advisory
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlthird-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-38612 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-38612 changed 2026-06-17Public domain