CVE-2025-38612

Source
https://cve.org/CVERecord?id=CVE-2025-38612
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38612.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38612
Downstream
Related
Published
2025-08-19T17:03:54.797Z
Modified
2026-07-08T07:27:20.648267822Z
Summary
staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

In the error paths after fbinfo structure is successfully allocated, the memory allocated in fbdeferredioinit() for info->pagerefs is not freed. Fix that by adding the cleanup function on the error path.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38612.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c296d5f9957c03994a699d6739c27d4581a9f6c7
Fixed
83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0
Fixed
c3b1c45c48117ed4d8797ee89d1155f16b72d490
Fixed
3290f62f23fae05f2ec34085eb86dfb3648ef91f
Fixed
6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f
Fixed
b31cf6f7716a5d3e4461763f32d812acdaec6e74
Fixed
a3177955f8da3c826a18b75e54881e2e9a9c96f1
Fixed
6771f121ae87490ddc19eabb7450383af9e01b6d
Fixed
47b3d6e8921bbb7b65c2dab8eaa8864901848c1c
Fixed
eb2cb7dab60f9be0b435ac4a674255429a36d72c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38612.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
5.4.297
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.241
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.190
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.148
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.102
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.42
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.10
Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.16.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38612.json"