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.
[
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47b3d6e8921bbb7b65c2dab8eaa8864901848c1c",
"deprecated": false,
"id": "CVE-2025-38612-245d376d",
"signature_type": "Function",
"digest": {
"length": 4778.0,
"function_hash": "134940901135033424532620714916740405599"
},
"target": {
"function": "fbtft_framebuffer_alloc",
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3290f62f23fae05f2ec34085eb86dfb3648ef91f",
"deprecated": false,
"id": "CVE-2025-38612-309f3b22",
"signature_type": "Function",
"digest": {
"length": 5212.0,
"function_hash": "93213372775166064341489672797667991544"
},
"target": {
"function": "fbtft_framebuffer_alloc",
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0",
"deprecated": false,
"id": "CVE-2025-38612-31ba1719",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46438203772504314454509688747506485558",
"184914457410414312759112206871107263990",
"187271324470724304840025942441681034135",
"243802159999165476593148914733158285087"
]
},
"target": {
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f",
"deprecated": false,
"id": "CVE-2025-38612-359c1b72",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46438203772504314454509688747506485558",
"184914457410414312759112206871107263990",
"187271324470724304840025942441681034135",
"243802159999165476593148914733158285087"
]
},
"target": {
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b31cf6f7716a5d3e4461763f32d812acdaec6e74",
"deprecated": false,
"id": "CVE-2025-38612-46aec352",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46438203772504314454509688747506485558",
"184914457410414312759112206871107263990",
"187271324470724304840025942441681034135",
"243802159999165476593148914733158285087"
]
},
"target": {
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3177955f8da3c826a18b75e54881e2e9a9c96f1",
"deprecated": false,
"id": "CVE-2025-38612-4882c71b",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46438203772504314454509688747506485558",
"184914457410414312759112206871107263990",
"187271324470724304840025942441681034135",
"243802159999165476593148914733158285087"
]
},
"target": {
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c3b1c45c48117ed4d8797ee89d1155f16b72d490",
"deprecated": false,
"id": "CVE-2025-38612-722b6b7b",
"signature_type": "Function",
"digest": {
"length": 5179.0,
"function_hash": "16630774867764298392691254759515432723"
},
"target": {
"function": "fbtft_framebuffer_alloc",
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0",
"deprecated": false,
"id": "CVE-2025-38612-74b7d88f",
"signature_type": "Function",
"digest": {
"length": 5179.0,
"function_hash": "16630774867764298392691254759515432723"
},
"target": {
"function": "fbtft_framebuffer_alloc",
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6771f121ae87490ddc19eabb7450383af9e01b6d",
"deprecated": false,
"id": "CVE-2025-38612-912e1c78",
"signature_type": "Function",
"digest": {
"length": 4778.0,
"function_hash": "134940901135033424532620714916740405599"
},
"target": {
"function": "fbtft_framebuffer_alloc",
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f",
"deprecated": false,
"id": "CVE-2025-38612-9713c24c",
"signature_type": "Function",
"digest": {
"length": 5251.0,
"function_hash": "134411588268213926771617077261407767686"
},
"target": {
"function": "fbtft_framebuffer_alloc",
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3177955f8da3c826a18b75e54881e2e9a9c96f1",
"deprecated": false,
"id": "CVE-2025-38612-9b78fa4d",
"signature_type": "Function",
"digest": {
"length": 4778.0,
"function_hash": "134940901135033424532620714916740405599"
},
"target": {
"function": "fbtft_framebuffer_alloc",
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c3b1c45c48117ed4d8797ee89d1155f16b72d490",
"deprecated": false,
"id": "CVE-2025-38612-a16ef361",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46438203772504314454509688747506485558",
"184914457410414312759112206871107263990",
"187271324470724304840025942441681034135",
"243802159999165476593148914733158285087"
]
},
"target": {
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b31cf6f7716a5d3e4461763f32d812acdaec6e74",
"deprecated": false,
"id": "CVE-2025-38612-a4108c3d",
"signature_type": "Function",
"digest": {
"length": 5229.0,
"function_hash": "332614401908088853900606508757416940562"
},
"target": {
"function": "fbtft_framebuffer_alloc",
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6771f121ae87490ddc19eabb7450383af9e01b6d",
"deprecated": false,
"id": "CVE-2025-38612-d3b145e5",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46438203772504314454509688747506485558",
"184914457410414312759112206871107263990",
"187271324470724304840025942441681034135",
"243802159999165476593148914733158285087"
]
},
"target": {
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3290f62f23fae05f2ec34085eb86dfb3648ef91f",
"deprecated": false,
"id": "CVE-2025-38612-ee3ab233",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46438203772504314454509688747506485558",
"184914457410414312759112206871107263990",
"187271324470724304840025942441681034135",
"243802159999165476593148914733158285087"
]
},
"target": {
"file": "drivers/staging/fbtft/fbtft-core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47b3d6e8921bbb7b65c2dab8eaa8864901848c1c",
"deprecated": false,
"id": "CVE-2025-38612-f3392612",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46438203772504314454509688747506485558",
"184914457410414312759112206871107263990",
"187271324470724304840025942441681034135",
"243802159999165476593148914733158285087"
]
},
"target": {
"file": "drivers/staging/fbtft/fbtft-core.c"
}
}
]