CVE Catalog

CVE-2025-38685

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

6th percentile - higher than 6% of all known CVEs

Summary

In the Linux kernel fbdev driver, an out-of-bounds write vulnerability exists in the fast_imageblit function. The issue occurs when the FBIOPUT_CON2FBMAP operation fails during console resize but still proceeds to update the screen with invalid references, leading to an out-of-bounds write.

Risk Assessment

A local attacker can cause kernel memory corruption, potentially leading to system crash or privilege escalation.

Recommendation

Apply the Linux kernel patch that prevents screen update continuation after console resize failure. Update your system to a kernel version containing the fix.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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().

Vulnerability data from NVD (NIST) · CISA KEV · EPSS