CVE-2025-40322

fbdev: bitblit: bound-check glyph index in bit_putcs*

State
Published
Severity
7.1 High
Published
Dec 8, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

fbdev: bitblit: bound-check glyph index in bit_putcs*

bit_putcs_aligned()/unaligned() derived the glyph pointer from the character value masked by 0xff/0x1ff, which may exceed the actual font's glyph count and read past the end of the built-in font array. Clamp the index to the actual glyph count before computing the address.

This fixes a global out-of-bounds read reported by syzbot.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a10cede006f9614b465cf25609a8753efbfd45ccAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0998a6cb232674408a03e8561dc15aa266b2f53bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before db5c9a162d2f42bcc842b76b3d935dcc050a0eecAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c12003bf91fdff381c55ef54fef3e961a5af2545Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9ba1a7802ca9a2590cef95b253e6526f4364477fAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 901f44227072be60812fe8083e83e1533c04eed1Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before efaf89a75a29b2d179bf4fe63ca62852e93ad620Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 18c4ef4e765a798b47980555ed665d78b71aeadfAffected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.4.302 through 5.4.*Not affected
  • 5.10.247 through 5.10.*Not affected
  • 5.15.197 through 5.15.*Not affected
  • 6.1.159 through 6.1.*Not affected
  • 6.6.117 through 6.6.*Not affected
  • 6.12.58 through 6.12.*Not affected
  • 6.17.8 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.