CVE-2025-38702CWE-787

CVE-2025-38702

High · published September 4, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
8.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00191 · 8.3th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2025-09-04T20:15Z
Affected products (11)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.12.1, < 6.1.1496.1.149
linux/linux_kernel≥ 6.2, < 6.6.1036.6.103
linux/linux_kernel≥ 6.7, < 6.12.436.12.43
linux/linux_kernel≥ 6.13, < 6.15.116.15.11
linux/linux_kernel≥ 6.16, < 6.16.26.16.2
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
debian/debian_linuxall versions—
References (9)
EPSS history
Timeline
  • 04 SEP 15:32Z
    fbdev: fix potential buffer overflow in do_register_framebuffer()
    cvelistv5