{"id":"CVE-2025-40322","aliases":["CVE-2025-40322"],"related":[],"kind":"vulnerability","state":"published","title":"fbdev: bitblit: bound-check glyph index in bit_putcs*","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: bitblit: bound-check glyph index in bit_putcs*\n\nbit_putcs_aligned()/unaligned() derived the glyph pointer from the\ncharacter value masked by 0xff/0x1ff, which may exceed the actual font's\nglyph count and read past the end of the built-in font array.\nClamp the index to the actual glyph count before computing the address.\n\nThis fixes a global out-of-bounds read reported by syzbot.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: bitblit: bound-check glyph index in bit_putcs*\n\nbit_putcs_aligned()/unaligned() derived the glyph pointer from the\ncharacter value masked by 0xff/0x1ff, which may exceed the actual font's\nglyph count and read past the end of the built-in font array.\nClamp the index to the actual glyph count before computing the address.\n\nThis fixes a global out-of-bounds read reported by syzbot.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nfbdev: bitblit: verificación de límites del índice de glifo en bit_putcs\n\nbit_putcs_aligned()/unaligned() derivó el puntero del glifo del valor del carácter enmascarado por 0xff/0x1ff, lo que puede exceder el recuento real de glifos de la fuente y leer más allá del final del array de fuentes incorporado. Limitar el índice al recuento real de glifos antes de calcular la dirección.\n\nEsto corrige una lectura global fuera de límites reportada por syzbot.","source":"nvd"}],"published":"2025-12-08T00:46:49.773Z","modified":"2026-10-14T22:10:00.210Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"a10cede006f9614b465cf25609a8753efbfd45cc","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"0998a6cb232674408a03e8561dc15aa266b2f53b","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"db5c9a162d2f42bcc842b76b3d935dcc050a0eec","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"c12003bf91fdff381c55ef54fef3e961a5af2545","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"9ba1a7802ca9a2590cef95b253e6526f4364477f","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"901f44227072be60812fe8083e83e1533c04eed1","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"efaf89a75a29b2d179bf4fe63ca62852e93ad620","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"18c4ef4e765a798b47980555ed665d78b71aeadf","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"5.4.302","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.247","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.197","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.159","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.117","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.58","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.8","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a10cede006f9614b465cf25609a8753efbfd45cc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0998a6cb232674408a03e8561dc15aa266b2f53b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db5c9a162d2f42bcc842b76b3d935dcc050a0eec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c12003bf91fdff381c55ef54fef3e961a5af2545","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ba1a7802ca9a2590cef95b253e6526f4364477f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/901f44227072be60812fe8083e83e1533c04eed1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/efaf89a75a29b2d179bf4fe63ca62852e93ad620","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/18c4ef4e765a798b47980555ed665d78b71aeadf","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-16T19:33:40.857Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40322","url":"https://www.cve.org/CVERecord?id=CVE-2025-40322","licence":"CVE Terms of Use","modified":"2026-08-05T12:09:35.122Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40322","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40322","licence":"Public domain","modified":"2026-10-14T22:10:00.210Z"}],"updatedAt":"2026-11-25T22:59:08.404Z","epss":{"score":0.00153,"percentile":0.04687,"date":"2026-12-02T12:00:21.000Z"}}