# CVE-2025-40322: fbdev: bitblit: bound-check glyph index in bit_putcs*

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-02)
- Published: 2025-12-08T00:46:49.773Z
- Modified: 2026-10-14T22:10:00.210Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a10cede006f9614b465cf25609a8753efbfd45cc; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0998a6cb232674408a03e8561dc15aa266b2f53b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before db5c9a162d2f42bcc842b76b3d935dcc050a0eec; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c12003bf91fdff381c55ef54fef3e961a5af2545; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9ba1a7802ca9a2590cef95b253e6526f4364477f; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 901f44227072be60812fe8083e83e1533c04eed1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before efaf89a75a29b2d179bf4fe63ca62852e93ad620; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 18c4ef4e765a798b47980555ed665d78b71aeadf; 2.6.12 (not affected: before 2.6.12; from 5.4.302 up to 5.4.*; from 5.10.247 up to 5.10.*; from 5.15.197 up to 5.15.*; from 6.1.159 up to 6.1.*; from 6.6.117 up to 6.6.*; from 6.12.58 up to 6.12.*; from 6.17.8 up to 6.17.*; from 6.18 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2025-40322](https://www.cve.org/CVERecord?id=CVE-2025-40322), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-40322](https://nvd.nist.gov/vuln/detail/CVE-2025-40322), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-40322 · Whole record: https://cve.day/CVE-2025-40322.json · Rebuilt by cve.day 2026-11-25T22:59:08.404Z
