CVE
CVE-2025-38702
CNA 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.
Affected versions
All Linux kernel vulnerabilities →
- ≥ 6.16, < 6.16.2Fixed in 6.16.2
- ≥ 6.13, < 6.15.11Fixed in 6.15.11
- ≥ 6.7, < 6.12.43Fixed in 6.12.43
- ≥ 6.2, < 6.6.103Fixed in 6.6.103
- ≥ 2.6.12.1, < 6.1.149Fixed in 6.1.149
- 2.6.12This version only
- 2.6.12-rc5This version only
- 2.6.12-rc4This version only
- 2.6.12-rc3This version only
- 2.6.12-rc2This version only
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/248b2aab9b2af5ecf89d9d7955a2ff20c4b4a399 · Patch
- git.kernel.org/stable/c/2828a433c7d7a05b6f27c8148502095101dd0b09 · Patch
- git.kernel.org/stable/c/523b84dc7ccea9c4d79126d6ed1cf9033cf83b05 · Patch
- git.kernel.org/stable/c/5c3f5a25c62230b7965804ce7a2e9305c3ca3961 · Patch
- git.kernel.org/stable/c/806f85bdd3a60187c21437fc51baace11f659f35 · Patch
- git.kernel.org/stable/c/cbe740de32bb0fb7a5213731ff5f26ea6718fca3 · Patch
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.