CVE-2025-40322
published high CVSS 3.1 · 7.1fbdev: bitblit: bound-check glyph index in bit_putcs*
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a10cede006f9614b465cf25609a8753efbfd45cc · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0998a6cb232674408a03e8561dc15aa266b2f53b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < db5c9a162d2f42bcc842b76b3d935dcc050a0eec · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c12003bf91fdff381c55ef54fef3e961a5af2545 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9ba1a7802ca9a2590cef95b253e6526f4364477f · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 901f44227072be60812fe8083e83e1533c04eed1 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < efaf89a75a29b2d179bf4fe63ca62852e93ad620 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 18c4ef4e765a798b47980555ed665d78b71aeadf · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.4.302 through 5.4.* (unaffected · semver) · 5.10.247 through 5.10.* (unaffected · semver) · 5.15.197 through 5.15.* (unaffected · semver) · 6.1.159 through 6.1.* (unaffected · semver) · 6.6.117 through 6.6.* (unaffected · semver) · 6.12.58 through 6.12.* (unaffected · semver) · 6.17.8 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-112 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-096 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2026-118 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-124.35.1.el10_1 | ALSA-2026:2282 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-124.35.1.el10_1 | ALSA-2026:2282 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1350 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1495 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-611.34.1.el9_7 | ALSA-2026:2722 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:L - The vulnerable render path is reached only through local interfaces — `KDFONTOP` ioctl on a VT plus writes to `/dev/vcsa*` or the tty itself. There is no remote or adjacent-network exposure of fbcon. AC:L - The attacker fully controls both the desync (choosing font dimensions that make `vc_do_resize()` fail deterministically via `new_screen_size > KMALLOC_MAX_SIZE` or `!new_screen_size`) and the trigger (writing glyph indices 256–511 into the screen buffer); syzbot has a working C reproducer. PR:L - `KDFONTOP(KD_FONT_OP_SET)` and `PIO_UNIMAP` only require `perm`, which is granted to any unprivileged user whose controlling tty is the VT (`current->signal->tty == tty`) — no capability is needed, and `vcs_open()` performs no capability check at all. UI:N - The attacker performs the font ioctl and the console write entirely from its own process; no victim action or cooperation is needed. S:U - The out-of-bounds read stays within the kernel's own memory and the impact is confined to the kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - Up to 256 glyph cells are read past the font array — 4 KB beyond the global `fontdata_8x16`, or up to ~256 KB beyond a large user-supplied font — and those raw kernel bytes are blitted to the framebuffer as bitmaps that the attacker can read back via `/dev/fb0`, yielding a substantial kernel memory disclosure primitive. I:N - The defect is strictly an out-of-bounds read; the fetched bytes are copied into correctly sized pixmap and attribute buffers, so no kernel memory is modified and no write or control-flow primitive is produced. A:H - When the active font is a large kvmalloc-backed user font, the overrun can run hundreds of kilobytes past the allocation into a vmalloc guard page, faulting inside `bit_putcs()` while `console_lock` is held and oopsing/hanging the system; on KASAN builds it trips a report that can panic.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a10cede006f9614b465cf25609a8753efbfd45cc (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0998a6cb232674408a03e8561dc15aa266b2f53b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < db5c9a162d2f42bcc842b76b3d935dcc050a0eec (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c12003bf91fdff381c55ef54fef3e961a5af2545 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9ba1a7802ca9a2590cef95b253e6526f4364477f (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 901f44227072be60812fe8083e83e1533c04eed1 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < efaf89a75a29b2d179bf4fe63ca62852e93ad620 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 18c4ef4e765a798b47980555ed665d78b71aeadf (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.4.302 through 5.4.* (unaffected · semver)5.10.247 through 5.10.* (unaffected · semver)5.15.197 through 5.15.* (unaffected · semver)6.1.159 through 6.1.* (unaffected · semver)6.6.117 through 6.6.* (unaffected · semver)6.12.58 through 6.12.* (unaffected · semver)6.17.8 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0998a6cb232674408a03e8561dc15aa266b2f53b
- https://git.kernel.org/stable/c/18c4ef4e765a798b47980555ed665d78b71aeadf
- https://git.kernel.org/stable/c/901f44227072be60812fe8083e83e1533c04eed1
- https://git.kernel.org/stable/c/9ba1a7802ca9a2590cef95b253e6526f4364477f
- https://git.kernel.org/stable/c/a10cede006f9614b465cf25609a8753efbfd45cc
- https://git.kernel.org/stable/c/c12003bf91fdff381c55ef54fef3e961a5af2545
- https://git.kernel.org/stable/c/db5c9a162d2f42bcc842b76b3d935dcc050a0eec
- https://git.kernel.org/stable/c/efaf89a75a29b2d179bf4fe63ca62852e93ad620
Provider assertions
2Linux · cna
fbdev: bitblit: bound-check glyph index in bit_putcs*
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 71404c2936eb653019aedbdea7db28d1a36aa58850702cc85399414a0364c0bc
- Ingested
- 23 Sep 2026, 08:48:04 UTC
- Source record
- Official CVE record