VDB

DEBIAN-CVE-2025-40304

DEBIAN-CVE-2025-40304 PUBLISHED CVSS 9.300000190734863 CRITICAL

In the Linux kernel, the following vulnerability has been resolved: fbdev: Add bounds checking in bit_putcs to fix vmalloc-out-of-bounds Add bounds checking to prevent writes past framebuffer boundaries when rendering text near screen edges. Return early if the Y position is off-screen and clip image height to screen boundary. Break from the rendering loop if the X position is off-screen. When clipping image width to fit the screen, update the character count to match the clipped width to prevent buffer size mismatches. Without the character count update, bit_putcs_aligned and bit_putcs_unaligned receive mismatched parameters where the buffer is allocated for the clipped width but cnt reflects the original larger count, causing out-of-bounds writes.

Risk Scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected Products

VendorProductVersions
Debian:12linux6.1.106-2, 6.1.55-1~bpo11+1, 6.1.55-1
Debian:11linux-6.16.1.158-1, 6.1.153-1, 6.1.148-1
Debian:11linux5.10.226-1, 0, 5.10.103-1
Debian:13linux6.12.41-1, 6.12.43-1~bpo12+1, 6.12.57-1
Debian:14linux6.13.6-1~exp1, 6.13.5-1~exp1, 6.13.4-1~exp1

Exploit Intelligence

Timeline

  • Dec 8, 2025 CVE Published
  • Apr 28, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›