CVE-2025-40322
fbdev: bitblit: bound-check glyph index in bit_putcs*
Mitigation
- Upgrade Linux to 18c4ef4e765a798b47980555ed665d78b71aeadf or later.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a10cede006f9614b465cf25609a8753efbfd45cc; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0998a6cb232674408a03e8561dc15aa266b2f53b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < db5c9a162d2f42bcc842b76b3d935dcc050a0eec; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c12003bf91fdff381c55ef54fef3e961a5af2545; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9ba1a7802ca9a2590cef95b253e6526f4364477f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 901f44227072be60812fe8083e83e1533c04eed1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < efaf89a75a29b2d179bf4fe63ca62852e93ad620; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 18c4ef4e765a798b47980555ed665d78b71aeadf
- Anyone running Linux 2.6.12
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a10cede006f9614b465cf25609a8753efbfd45cc; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0998a6cb232674408a03e8561dc15aa266b2f53b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < db5c9a162d2f42bcc842b76b3d935dcc050a0eec; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c12003bf91fdff381c55ef54fef3e961a5af2545; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9ba1a7802ca9a2590cef95b253e6526f4364477f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 901f44227072be60812fe8083e83e1533c04eed1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < efaf89a75a29b2d179bf4fe63ca62852e93ad620; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 18c4ef4e765a798b47980555ed665d78b71aeadf; Linux 2.6.12
- Fixed in
- Linux 0998a6cb232674408a03e8561dc15aa266b2f53b, Linux 9ba1a7802ca9a2590cef95b253e6526f4364477f, Linux 901f44227072be60812fe8083e83e1533c04eed1, Linux 18c4ef4e765a798b47980555ed665d78b71aeadf
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a10cede006f9614b465cf25609a8753efbfd45cc; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0998a6cb232674408a03e8561dc15aa266b2f53b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < db5c9a162d2f42bcc842b76b3d935dcc050a0eec; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c12003bf91fdff381c55ef54fef3e961a5af2545; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9ba1a7802ca9a2590cef95b253e6526f4364477f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 901f44227072be60812fe8083e83e1533c04eed1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < efaf89a75a29b2d179bf4fe63ca62852e93ad620; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 18c4ef4e765a798b47980555ed665d78b71aeadf | — | cvelist |
| Linux | 2.6.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40322. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40322.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a10cede006f9614b465cf25609a8753efbfd45cc; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0998a6cb232674408a03e8561dc15aa266b2f53b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < db5c9a162d2f42bcc842b76b3d935dcc050a0eec; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 0998a6cb232674408a03e8561dc15aa266b2f53b, Linux 9ba1a7802ca9a2590cef95b253e6526f4364477f, Linux 901f44227072be60812fe8083e83e1533c04eed1, Linux 18c4ef4e765a798b47980555ed665d78b71aeadf Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/a10cede006f9614b465cf25609a8753efbfd45cc
- https://git.kernel.org/stable/c/0998a6cb232674408a03e8561dc15aa266b2f53b
- https://git.kernel.org/stable/c/db5c9a162d2f42bcc842b76b3d935dcc050a0eec
- https://git.kernel.org/stable/c/c12003bf91fdff381c55ef54fef3e961a5af2545
- https://git.kernel.org/stable/c/9ba1a7802ca9a2590cef95b253e6526f4364477f
- https://git.kernel.org/stable/c/901f44227072be60812fe8083e83e1533c04eed1
- https://git.kernel.org/stable/c/efaf89a75a29b2d179bf4fe63ca62852e93ad620
- https://git.kernel.org/stable/c/18c4ef4e765a798b47980555ed665d78b71aeadf
FAQ
Is CVE-2025-40322 being exploited?
There is no confirmed exploitation: CVE-2025-40322 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40322?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-40322?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a10cede006f9614b465cf25609a8753efbfd45cc; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0998a6cb232674408a03e8561dc15aa266b2f53b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < db5c9a162d2f42bcc842b76b3d935dcc050a0eec; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c12003bf91fdff381c55ef54fef3e961a5af2545; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9ba1a7802ca9a2590cef95b253e6526f4364477f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 901f44227072be60812fe8083e83e1533c04eed1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < efaf89a75a29b2d179bf4fe63ca62852e93ad620; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 18c4ef4e765a798b47980555ed665d78b71aeadf; Linux 2.6.12.
Is there a fix for CVE-2025-40322?
Yes. Fixed in Linux 0998a6cb232674408a03e8561dc15aa266b2f53b, Linux 9ba1a7802ca9a2590cef95b253e6526f4364477f, Linux 901f44227072be60812fe8083e83e1533c04eed1, Linux 18c4ef4e765a798b47980555ed665d78b71aeadf. Upgrade Linux to 18c4ef4e765a798b47980555ed665d78b71aeadf or later.
How do I check if I'm affected by CVE-2025-40322?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.