In the Linux kernel, the following vulnerability has been resolved:
fbdev: fix potential buffer overflow in doregisterframebuffer()
The current implementation may lead to buffer overflow when: 1. Unregistration creates NULL gaps in registeredfb[] 2. All array slots become occupied despite numregisteredfb < FBMAX 3. The registration loop exceeds array bounds
Add boundary check to prevent registeredfb[FBMAX] access.
[
{
"id": "CVE-2025-38702-aa2b252d",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/video/fbdev/core/fbmem.c",
"function": "do_register_framebuffer"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c3f5a25c62230b7965804ce7a2e9305c3ca3961",
"digest": {
"length": 1735.0,
"function_hash": "30544778211244743146977074034736735664"
},
"deprecated": false
},
{
"id": "CVE-2025-38702-b540e922",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/video/fbdev/core/fbmem.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c3f5a25c62230b7965804ce7a2e9305c3ca3961",
"digest": {
"line_hashes": [
"155320975751818822069078599959896149151",
"268739677362432951790054750864187888978",
"6897441962384697582061541996028082531"
],
"threshold": 0.9
},
"deprecated": false
}
]