Out-of-Bounds Write Vulnerability in Linux Kernel's fbdev Package

linux Updated 02 Oct 2025

Summary

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

CVE-2025-38685: In the Linux kernel, the following vulnerability has been resolved: fbdev: Fix vmalloc out-of-bounds write in fast_imageblit This issue triggers when a userspace program does an ioctl FBIOPUT_CON2FBMAP by passing console... 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. The fbdev subsystem is specifically designed for handling frame buffers, allowing graphical output to be rendered on screens. This subsystem is crucial for graphical user interfaces and applications that require direct access to the display. However, vulnerabilities within this subsystem can lead to severe security risks, including unauthorized access and system crashes.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the fbdev subsystem that allows for an out-of-bounds write during the execution of the FBIOPUT_CON2FBMAP ioctl. This occurs when a userspace program attempts to map a console to a frame buffer. If the resizing of the console fails, the system continues to process the mapping, leading to potential memory corruption and exploitation. This vulnerability can be exploited by attackers to manipulate memory, potentially leading to arbitrary code execution or system instability.

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

As a temporary workaround, avoid using the FBIOPUT_CON2FBMAP ioctl until the package is updated. This can help mitigate the risk of exploitation until a patch is applied.

Conclusion

The out-of-bounds write vulnerability in the Linux kernel's fbdev subsystem poses significant security risks. It is crucial for users to update their systems to the patched versions to mitigate these risks. Temporary workarounds can help reduce exposure until updates are applied.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

FBIOPUT_CON2FBMAP is an ioctl command used to map a console to a frame buffer in the Linux kernel's fbdev subsystem.

An attacker can exploit this vulnerability by sending crafted requests to the ioctl, leading to memory corruption and potential arbitrary code execution.

The vulnerability affects various Debian versions, specifically Debian 11, 12, 13, and 14, where the Linux kernel is utilized.

Yes, you can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

If immediate updates are not possible, refrain from using the affected ioctl command as a temporary measure to reduce the risk of exploitation.

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