CVE-2025-38685
Last modified
CVE-2025-38685 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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 number and frame buffer number. Ideally this maps console to frame buffer and updates the screen if console is visible. As part of mapping it has to do resize of console according to frame buffer info. if this resize fails and returns from vc_do_resize() and continues further. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
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 number and frame buffer number. Ideally this maps console to frame buffer and updates the screen if console is visible. As part of mapping it has to do resize of console according to frame buffer info. if this resize fails and returns from vc_do_resize() and continues further. At this point console and new frame buffer are mapped and sets display vars. Despite failure still it continue to proceed updating the screen at later stages where vc_data is related to previous frame buffer and frame buffer info and display vars are mapped to new frame buffer and eventully leading to out-of-bounds write in fast_imageblit(). This bheviour is excepted only when fg_console is equal to requested console which is a visible console and updates screen with invalid struct references in fbcon_putcs().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 2.6.13, < 5.15.190 |
| Linux | Linux Kernel | >= 5.16, < 6.1.149 |
| Linux | Linux Kernel | >= 6.2, < 6.6.103 |
| Linux | Linux Kernel | >= 6.7, < 6.12.43 |
| Linux | Linux Kernel | >= 6.13, < 6.15.11 |
| Linux | Linux Kernel | >= 6.16, < 6.16.2 |
| Linux | Linux Kernel | 2.6.12 |
| Debian | Debian Linux | 11.0 |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-38685?
How severe is CVE-2025-38685?
How do I fix CVE-2025-38685?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-3868The Custom Admin-Bar Favorites plugin for WordPress is vulne…6.1
- CVE-2025-38680In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-38681In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-38682In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38683In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38684In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38686In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38687In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-38688In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38689In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3869The 4stats plugin for WordPress is vulnerable to Cross-Site …6.1
- CVE-2025-38690In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-38685?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
