CVE-2025-40304 Affecting kernel-rt-64k-debuginfo package, versions <0:6.12.0-124.35.1.el10_1


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY10-KERNELRT64KDEBUGINFO-15284403
  • published16 Feb 2026
  • disclosed8 Dec 2025

Introduced: 8 Dec 2025

CVE-2025-40304  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:10 kernel-rt-64k-debuginfo to version 0:6.12.0-124.35.1.el10_1 or higher.
This issue was patched in RLSA-2026:2282.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-rt-64k-debuginfo package and not the kernel-rt-64k-debuginfo package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1