CVE-2025-38702 Details
Description
In the Linux kernel, the following vulnerability has been resolved: fbdev: fix potential buffer overflow in do_register_framebuffer() The current implementation may lead to buffer overflow when: 1. Unregistration creates NULL gaps in registered_fb[] 2. All array slots become occupied despite num_registered_fb < FB_MAX 3. The registration loop exceeds array bounds Add boundary check to prevent registered_fb[FB_MAX] access.
A buffer overflow vulnerability has been identified in the Linux kernel's framebuffer registration process. This issue arises in the framebuffer device (fbdev) subsystem, specifically within the 'do_register_framebuffer' function'. The vulnerability can occur when unregistration creates NULL gaps in the registered framebuffer array, leading to an improper registration loop that exceeds the array bounds. The problem is exacerbated when all array slots are filled, yet the count of registered framebuffers is below the maximum limit.
The vulnerability has been addressed by adding boundary checks to the 'do_register_framebuffer' function. Users should upgrade to the latest version of the Linux kernel where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-032379.html | siemens-SADP | |
| https://cert-portal.siemens.com/productcert/html/ssa-082556.html | siemens-SADP | |
| https://git.kernel.org/stable/c/248b2aab9b2af5ecf89d9d7955a2ff20c4b4a399 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2828a433c7d7a05b6f27c8148502095101dd0b09 | kernel.org | Patch |
| https://git.kernel.org/stable/c/523b84dc7ccea9c4d79126d6ed1cf9033cf83b05 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5c3f5a25c62230b7965804ce7a2e9305c3ca3961 | kernel.org | Patch |
| https://git.kernel.org/stable/c/806f85bdd3a60187c21437fc51baace11f659f35 | kernel.org | Patch |
| https://git.kernel.org/stable/c/cbe740de32bb0fb7a5213731ff5f26ea6718fca3 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.12.1, < 6.1.149 >= 6.2, < 6.6.103 >= 6.7, < 6.12.43 >= 6.13, < 6.15.11 >= 6.16, < 6.16.2 2.6.12 - 2.6.12 rc2 2.6.12 rc3 2.6.12 rc4 2.6.12 rc5 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Jan 23, 2026 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Sep 4, 2025 | New CVE Received | kernel.org |