Bug 2419902 (CVE-2025-40322) - CVE-2025-40322 kernel: fbdev: bitblit: bound-check glyph index in bit_putcs*
Summary: CVE-2025-40322 kernel: fbdev: bitblit: bound-check glyph index in bit_putcs*
Keywords:
Status: NEW
Alias: CVE-2025-40322
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-08 07:07 UTC by OSIDB Bzimport
Modified: 2025-12-08 21:13 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-08 07:07:25 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.