In the Linux kernel, the following vulnerability has been resolved: fbdev: bitblit: bound-check glyph index in bit_putcs… (CVE-2025-40322)
A high-severity vulnerability in the Linux kernel's framebuffer device (fbdev) bitblit code was resolved. The issue involved out-of-bounds reads caused by improper bound-checking of glyph indices in the bit_putcs_aligned() and bit_putcs_unaligned() functions. These functions derived glyph pointers from character values masked by 0xff or 0x1ff, which could exceed the actual font's glyph count, leading to reads past the end of the font array. The fix clamps the glyph index to the actual glyph count to prevent this out-of-bounds access. This vulnerability was identified and reported by syzbot. No known exploits are reported in the wild.
AI Analysis
Technical Summary
The Linux kernel framebuffer device (fbdev) bitblit functions bit_putcs_aligned() and bit_putcs_unaligned() improperly calculated glyph pointers by masking character values without ensuring the resulting index was within the font's glyph count. This allowed out-of-bounds reads past the built-in font array, a global memory safety issue. The vulnerability was fixed by clamping the glyph index to the actual glyph count before computing the address, eliminating the out-of-bounds read. This fix addresses a memory safety flaw reported by syzbot and prevents potential information disclosure or system instability caused by invalid memory reads.
Potential Impact
The vulnerability allows a global out-of-bounds read in the Linux kernel framebuffer device code, which can lead to information disclosure or system instability. The CVSS vector indicates local attack vector with low complexity and low privileges required, no user interaction, unchanged scope, high confidentiality impact, no integrity impact, and high availability impact. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to clamp the glyph index to the actual glyph count, preventing out-of-bounds reads. Users and administrators should apply the official Linux kernel updates that include this patch. Since this is a kernel-level vulnerability, updating to the fixed kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisory for the exact fixed version and update accordingly.
In the Linux kernel, the following vulnerability has been resolved: fbdev: bitblit: bound-check glyph index in bit_putcs… (CVE-2025-40322)
Description
A high-severity vulnerability in the Linux kernel's framebuffer device (fbdev) bitblit code was resolved. The issue involved out-of-bounds reads caused by improper bound-checking of glyph indices in the bit_putcs_aligned() and bit_putcs_unaligned() functions. These functions derived glyph pointers from character values masked by 0xff or 0x1ff, which could exceed the actual font's glyph count, leading to reads past the end of the font array. The fix clamps the glyph index to the actual glyph count to prevent this out-of-bounds access. This vulnerability was identified and reported by syzbot. No known exploits are reported in the wild.
CVSS v3.1
Score 7.1high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel framebuffer device (fbdev) bitblit functions bit_putcs_aligned() and bit_putcs_unaligned() improperly calculated glyph pointers by masking character values without ensuring the resulting index was within the font's glyph count. This allowed out-of-bounds reads past the built-in font array, a global memory safety issue. The vulnerability was fixed by clamping the glyph index to the actual glyph count before computing the address, eliminating the out-of-bounds read. This fix addresses a memory safety flaw reported by syzbot and prevents potential information disclosure or system instability caused by invalid memory reads.
Potential Impact
The vulnerability allows a global out-of-bounds read in the Linux kernel framebuffer device code, which can lead to information disclosure or system instability. The CVSS vector indicates local attack vector with low complexity and low privileges required, no user interaction, unchanged scope, high confidentiality impact, no integrity impact, and high availability impact. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to clamp the glyph index to the actual glyph count, preventing out-of-bounds reads. Users and administrators should apply the official Linux kernel updates that include this patch. Since this is a kernel-level vulnerability, updating to the fixed kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisory for the exact fixed version and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-hcc6-6437-vwm2
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-40322"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d49c2644c7f8478c30
Added to database: 07/30/2026, 15:50:44 UTC
Last enriched: 07/30/2026, 17:54:22 UTC
Last updated: 08/24/2026, 10:52:05 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.