High severity · published Sep 4, 2025
CVE-2025-38702
fbdev: fix potential buffer overflow in do_register_framebuffer()
7.8
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 9% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
2.6.12.1 before 6.1.149; 6.2 before 6.6.103; 6.7 before 6.12.43; 6.13 before 6.15.11; 6.16 before 6.16.2; 2.6.12; +4 more · source: NVD
LI
Linux · Linux
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5c3f5a25c62230b7965804ce7a2e9305c3ca3961; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before cbe740de32bb0fb7a5213731ff5f26ea6718fca3; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 806f85bdd3a60187c21437fc51baace11f659f35; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2828a433c7d7a05b6f27c8148502095101dd0b09; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 248b2aab9b2af5ecf89d9d7955a2ff20c4b4a399; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 523b84dc7ccea9c4d79126d6ed1cf9033cf83b05; +1 more · source: vendor
DL
Debian Linux · Debian
11.0 · source: NVD
SC
SIMATIC CN 4100 · Siemens
before V5.0 · source: CISA
SS
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.5; V3.1.5 · source: CISA
SS
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · Siemens
V3.1.5; V3.1.5 · source: CISA
SS
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.5 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-38702
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-38702
Patch
https://git.kernel.org/stable/c/248b2aab9b2af5ecf89d9d7955a2ff20c4b4a399
Patch
https://git.kernel.org/stable/c/2828a433c7d7a05b6f27c8148502095101dd0b09
Patch
https://git.kernel.org/stable/c/523b84dc7ccea9c4d79126d6ed1cf9033cf83b05
Patch
https://git.kernel.org/stable/c/5c3f5a25c62230b7965804ce7a2e9305c3ca3961
Patch
https://git.kernel.org/stable/c/806f85bdd3a60187c21437fc51baace11f659f35
Patch
https://git.kernel.org/stable/c/cbe740de32bb0fb7a5213731ff5f26ea6718fca3
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
