Memory Leak Vulnerability in Linux Kernel: fbtft Framebuffer Allocation Issue

linux Updated 02 Oct 2025

Summary

19/08/2025
N/A
No i
Unrated
Not published

CVE-2025-38612: 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... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware management and system resources. It is widely used in various distributions, including Debian. The kernel's staging area contains experimental drivers and features that are not yet fully integrated. The fbtft driver is part of this staging area, enabling framebuffer support for various small TFT displays. This vulnerability affects the memory management within the fbtft framebuffer allocation process, potentially leading to resource leaks.

Vulnerability Detail

In the Linux kernel, specifically within the fbtft driver, a memory leak occurs during the framebuffer allocation process. When the fb_info structure is successfully allocated, the memory allocated for info->pagerefs in the fb_deferred_io_init() function is not freed in the error paths. This oversight can lead to increased memory consumption over time, potentially exhausting system resources and causing instability or crashes. The vulnerability is identified as CVE-2025-38612 and affects multiple Debian versions.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating the Linux package as described above.

Conclusion

The memory leak vulnerability CVE-2025-38612 in the Linux kernel's fbtft driver poses a significant risk to system stability due to potential resource exhaustion. It is essential to update the Linux package to the latest version to resolve this issue and maintain system integrity.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38612 is a memory leak vulnerability in the Linux kernel's fbtft driver, which can lead to increased memory usage and potential system instability.

If exploited, this vulnerability can cause your system to consume excessive memory, leading to performance degradation or crashes.

Yes, the vulnerability affects Debian versions 11, 12, 13, and 14. It is crucial to check for updates to mitigate the risk.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software by simply using a manifest file like package-lock.json. Visit Vulert Scanner to check if your application is affected without any signup.

While there are no specific workarounds, it is advisable to monitor your system's memory usage and apply the update as soon as possible to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback