CVE-2025-40304Linux
High 7.8
Follow: this CVE · Linux · Linux We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Auth required
- Yes
- Published
- Dec 8, 2025
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux.
Affected products
- Linux · Linux
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:20845-1 · Mar 24, 2026 Critical
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:20876-1 · Mar 24, 2026 Critical
- Red Hat Security Advisory: kernel security update · Red Hat · RHSA-2026:3360 · Feb 26, 2026 High
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:20477-1 · Feb 24, 2026 Critical
- Red Hat Security Advisory: kernel-rt security update · Red Hat · RHSA-2026:2821 · Feb 18, 2026 Medium
- Red Hat Security Advisory: kernel security update · Red Hat · RHSA-2026:2766 · Feb 17, 2026 Medium
Also: SUSE (+11), Red Hat (+12)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.