CVE-2025-40322
fbdev: bitblit: bound-check glyph index in bit_putcs*
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.
INFO
Published Date :
Dec. 8, 2025, 1:16 a.m.
Last Modified :
Dec. 8, 2025, 1:16 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to the latest version.
- Apply the provided patch for fbdev bitblit.
- Recompile the kernel with the fix.
- Test the system for stability.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-40322.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-40322 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-40322
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-40322 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-40322 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 08, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/0998a6cb232674408a03e8561dc15aa266b2f53b Added Reference https://git.kernel.org/stable/c/18c4ef4e765a798b47980555ed665d78b71aeadf Added Reference https://git.kernel.org/stable/c/901f44227072be60812fe8083e83e1533c04eed1 Added Reference https://git.kernel.org/stable/c/9ba1a7802ca9a2590cef95b253e6526f4364477f Added Reference https://git.kernel.org/stable/c/a10cede006f9614b465cf25609a8753efbfd45cc Added Reference https://git.kernel.org/stable/c/c12003bf91fdff381c55ef54fef3e961a5af2545 Added Reference https://git.kernel.org/stable/c/db5c9a162d2f42bcc842b76b3d935dcc050a0eec Added Reference https://git.kernel.org/stable/c/efaf89a75a29b2d179bf4fe63ca62852e93ad620