VDB

CVE-2025-38702

CVE-2025-38702 PUBLISHED

fbdev: fix potential buffer overflow in do_register_framebuffer()

Reported by linux · Published September 4, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perfAmazon Linux1:6.1.150-174.273.amzn2023
kernel-libbpf-staticAmazon Linux1:6.1.150-174.273.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.46-66.121.amzn2023

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 6.1.149
amazon:2023python3-perf0
amazon:2023kernel-libbpf-static0
amazon:2023kernel6.12-modules-extra0
LinuxLinux6.17, 6.16.2, 6.15.11
amazon:2023kernel-tools-devel0
amazon:2023kernel0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-modules-extra-common0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.5
amazon:2023kernel-devel0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.5
amazon:2023kernel6.120
SiemensSIMATIC CN 41000
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel-tools0
amazon:2023perf6.120
linuxlinux_kernel2.6.12, 2.6.12, 2.6.12

…and 16 more

Timeline

  • Sep 4, 2025 CVE Published
  • Sep 5, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (9 in total, the first dated here)
  • Feb 2, 2026 Security Advisory (160 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (147 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score
  • Oct 25, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38702
vulnetix vdb fixes CVE-2025-38702

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38702/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›