2084AI Security Observatory

CVE

CVE-2025-38685

CVE-2025-38685HIGH 7.8EPSS 8%

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

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 6.16, < 6.16.2Fixed in 6.16.2
  • ≥ 6.13, < 6.15.11Fixed in 6.15.11
  • ≥ 6.7, < 6.12.43Fixed in 6.12.43
  • ≥ 6.2, < 6.6.103Fixed in 6.6.103
  • ≥ 5.16, < 6.1.149Fixed in 6.1.149
  • ≥ 2.6.13, < 5.15.190Fixed in 5.15.190
  • 2.6.12This version only
  • 2.6.12-rc5This version only
  • 2.6.12-rc4This version only
  • 2.6.12-rc3This version only
  • 2.6.12-rc2This version only

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.