CVE-2025-38612
staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()
Check your servers for CVE-2025-38612
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38612 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c296d5f9957c03994a699d6739c27d4581a9f6c7, before 83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0 affected from c296d5f9957c03994a699d6739c27d4581a9f6c7, before c3b1c45c48117ed4d8797ee89d1155f16b72d490 affected from c296d5f9957c03994a699d6739c27d4581a9f6c7, before 3290f62f23fae05f2ec34085eb86dfb3648ef91f affected from c296d5f9957c03994a699d6739c27d4581a9f6c7, before 6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f affected from c296d5f9957c03994a699d6739c27d4581a9f6c7, before b31cf6f7716a5d3e4461763f32d812acdaec6e74 affected from c296d5f9957c03994a699d6739c27d4581a9f6c7, before a3177955f8da3c826a18b75e54881e2e9a9c96f1 affected from c296d5f9957c03994a699d6739c27d4581a9f6c7, before 6771f121ae87490ddc19eabb7450383af9e01b6d affected from c296d5f9957c03994a699d6739c27d4581a9f6c7, before 47b3d6e8921bbb7b65c2dab8eaa8864901848c1c affected from c296d5f9957c03994a699d6739c27d4581a9f6c7, before eb2cb7dab60f9be0b435ac4a674255429a36d72c
Other versions: unaffected
|
| Linux |
affected 4.0 unaffected before 4.0 unaffected from 5.4.297 up to and including 5.4.* unaffected from 5.10.241 up to and including 5.10.* unaffected from 5.15.190 up to and including 5.15.* unaffected from 6.1.148 up to and including 6.1.* unaffected from 6.6.102 up to and including 6.6.* unaffected from 6.12.42 up to and including 6.12.* unaffected from 6.15.10 up to and including 6.15.* unaffected from 6.16.1 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38612 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38612
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38612
trivy image --scanners vuln IMAGE | grep CVE-2025-38612
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0 git.kernel.org
- https://git.kernel.org/stable/c/c3b1c45c48117ed4d8797ee89d1155f16b72d490 git.kernel.org
- https://git.kernel.org/stable/c/3290f62f23fae05f2ec34085eb86dfb3648ef91f git.kernel.org
- https://git.kernel.org/stable/c/6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f git.kernel.org
- https://git.kernel.org/stable/c/b31cf6f7716a5d3e4461763f32d812acdaec6e74 git.kernel.org
- https://git.kernel.org/stable/c/a3177955f8da3c826a18b75e54881e2e9a9c96f1 git.kernel.org
- https://git.kernel.org/stable/c/6771f121ae87490ddc19eabb7450383af9e01b6d git.kernel.org
- https://git.kernel.org/stable/c/47b3d6e8921bbb7b65c2dab8eaa8864901848c1c git.kernel.org
- https://git.kernel.org/stable/c/eb2cb7dab60f9be0b435ac4a674255429a36d72c git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38612 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse