Buffer Overflow Vulnerability in Linux Kernel: CVE-2025-38702

linux Updated 02 Oct 2025

Summary

04/09/2025
N/A
No i
Unrated
Not published

CVE-2025-38702: 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. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to software applications. It is known for its stability, performance, and flexibility, making it a popular choice for servers, desktops, and embedded systems. However, like any complex software, it is susceptible to vulnerabilities that can compromise system security.

Vulnerability Detail

CVE-2025-38702 is a buffer overflow vulnerability found in the Linux kernel's framebuffer (fbdev) subsystem. This issue arises when the unregistration process creates NULL gaps in the registered framebuffer array, leading to potential out-of-bounds access. Specifically, if all array slots are occupied while the number of registered framebuffers is less than the maximum allowed, the registration loop may exceed the array bounds, resulting in a buffer overflow. This vulnerability could allow an attacker to execute arbitrary code or crash the system, posing significant security risks.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, no specific workarounds are provided for this vulnerability. It is recommended to apply the patch as soon as it is available.

Conclusion

CVE-2025-38702 is a critical buffer overflow vulnerability in the Linux kernel that poses significant security risks. Users are advised to update their systems to the patched versions as soon as they become available to mitigate potential threats.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38702 is a buffer overflow vulnerability in the Linux kernel's framebuffer subsystem that can lead to system crashes or arbitrary code execution.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Check your application against CVE-2025-38702 using the Vulert playground without any signup.

Exploiting this vulnerability could allow an attacker to execute arbitrary code or crash the system, leading to potential data loss or unauthorized access.

To update your Linux package, run the command: sudo apt-get update && sudo apt-get install linux, ensuring you install the patched version.

Currently, there are no specific workarounds available. It is crucial to apply the patch as soon as it is released.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback