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