Buffer overflow in Linux
CVE-2025-38702
- CVSS v3
- 7.8 High
- Public exploits
- None known
- EPSS
- 0.002 · 9.6th percentile
- Published
- 2025-09-04
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 9.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 2.6.12, 0
- Linux Kernel — versions 2.6.12
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/5c3f5a25c62230b7965804ce7a2e9305c3ca3961 (Patch)
- git.kernel.org/stable/c/cbe740de32bb0fb7a5213731ff5f26ea6718fca3 (Patch)
- git.kernel.org/stable/c/806f85bdd3a60187c21437fc51baace11f659f35 (Patch)
- git.kernel.org/stable/c/2828a433c7d7a05b6f27c8148502095101dd0b09 (Patch)
- git.kernel.org/stable/c/248b2aab9b2af5ecf89d9d7955a2ff20c4b4a399 (Patch)
- git.kernel.org/stable/c/523b84dc7ccea9c4d79126d6ed1cf9033cf83b05 (Patch)
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html (Third Party Advisory)
- cert-portal.siemens.com/productcert/html/ssa-032379.html
- cert-portal.siemens.com/productcert/html/ssa-082556.html