CVE-2026-74635
kernel: fbdev: bitblit: bound-check glyph index in bit_cursor()
Overview
Description
In the Linux kernel, the following vulnerability has been resolved:
fbdev: bitblit: bound-check glyph index in bit_cursor()
bit_cursor() fetches the glyph under the cursor with
c = scr_readw(vc_pos);
src = vc_font.data + ((c & charmask) * w * height);
where charmask is 0x1ff when vc_hi_font_mask is set. The screen buffer
value comes directly from scr_readw() and may be larger than the current
font's glyph count.
Syzkaller triggers this via vcs_write(). The Call Trace shows
vcs_write() in vc_screen.c writing an arbitrary 16-bit value with
writev() to /dev/vcsa, which vcs_write_buf() in vc_screen.c stores via
vcs_scr_writew() without checking charcount. The stored value is later
read in bit_cursor() in bitblit.c.
When the font is changed from a font with 512 glyphs to a font with
256 glyphs, the screen buffer can retain characters with the high
bit set from the previous mode, which could also produce the same
out-of-bounds access.
BUG: KASAN: global-out-of-bounds in soft_cursor+0x378/0x6bc drivers/video/fbdev/core/softcursor.c:70
Read of size 16 at addr ffff800086c57970
Call Trace:
soft_cursor+0x378/0x6bc drivers/video/fbdev/core/softcursor.c:70
bit_cursor+0xa90/0x1108 drivers/video/fbdev/core/bitblit.c:365
fbcon_cursor+0x344/0x498 drivers/video/fbdev/core/fbcon.c:1427
hide_cursor+0xdc/0x2d0 drivers/tty/vt/vt.c:883
update_region+0x100/0x18c drivers/tty/vt/vt.c:669
vcs_write+0x8ec/0xaf0 drivers/tty/vt/vc_screen.c:685
bit_putcs_aligned() and bit_putcs_unaligned() already clamp the glyph
index to vc_font.charcount. Apply the same clamp in bit_cursor() after
extracting the attribute and masking, before indexing fontdata.
The fix completes the bounds checking started in commit 18c4ef4e765a
("fbdev: bitblit: bound-check glyph index in bit_putcs*"), which missed
the cursor path.
This change should be safe because the clamp reuses the existing
contract from fbcon: charcount is maintained under console_lock in
con_font_set() and fbcon_font_set(), and hi_font_mask is cleared when
switching from 512 to 256 glyphs. When stale screen data with high bits
remains after a font switch, or when vcs_write() stores an arbitrary
value, clamping the index to 0 prevents the out-of-bounds read without
changing cursor semantics — the same fallback bit_putcs uses.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 106 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | kernel | 0:6.6.152.1-1.azl3 |
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +13 | 5.15.0-325.220.5.el8uek |
| 9 | bpftool +2 | 5.15.0-325.220.5.el9uek |
| 9 | kernel-uek +34 | 6.12.0-207.111.5.1.el9uek |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | bpftool +10 | 6.12.107-1.ph5 |
Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +45 | affected |
| 9 | bpftool +106 | affected |
SUSE Linux Enterprise 3 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.7 | kernel-livepatch-6-4-0-150700-53-90-default | 1-150700.15.3.1 | SUSE-SU-2026:5091-1 |
| 15.7 | cluster-md-kmp-default +20 | 6.4.0-150700.53.90.1 | SUSE-SU-2026:5091-1 |
| 15.7 | kernel-default-base | 6.4.0-150700.53.90.1.150700.17.51.1 | SUSE-SU-2026:5091-1 |
| 16.0 | cluster-md-kmp-default +2 | 6.12.0-160000.41.1 | SUSE-SU-2026:24651-1 |
| 16.0 | kernel-64kb +23 | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.41.1.160000.2.32 | SUSE-SU-2026:24662-1 |
1 more row
SUSE Linux Enterprise Micro 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | kernel-default +5 | 6.4.0-159998.55.1 | SUSE-SU-2026:24550-1 |
| 6.0 | kernel-default-base | 6.4.0-159998.55.1.159998.21.42 | SUSE-SU-2026:24550-1 |
| 6.1 | kernel-default +6 | 6.4.0-159998.55.1 | SUSE-SU-2026:24619-1 |
| 6.1 | kernel-default-base | 6.4.0-159998.55.1.159998.21.41 | SUSE-SU-2026:24619-1 |
| 6.2 | kernel-64kb +11 | 6.12.0-160000.41.1 | SUSE-SU-2026:24643-1 |
| 6.2 | kernel-default-base | 6.12.0-160000.41.1.160000.2.32 | SUSE-SU-2026:24643-1 |
amazon linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-1-186-228-374 +2 | 1:1.0-0.amzn2023 |
| 2023 | bpftool +16 | 1:6.1.186-228.374.amzn2023 |
| 2023 | bpftool6-12 +16 | 1:6.12.110-135.201.amzn2023 |
| 2023 | bpftool6-18 +17 | 1:6.18.48-107.148.amzn2023 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | affected |
| 12 | linux | 6.1.187-1 |
| 12 | linux-6-12 | 6.12.107-1~deb12u1 |
| 13 | linux | 6.12.105-1 |
| 14 | linux | 7.1.9-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
openSUSE Leap 2 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | cluster-md-kmp-64kb +74 | 6.12.0-160000.41.1 | openSUSE-SU-2026:22266-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.41.1.160000.2.31 | openSUSE-SU-2026:22266-1 |
| 16.1 | cluster-md-kmp-nvidia64kb +11 | 6.12.0-160100.7.1 | openSUSE-SU-2026:22307-1 |
| 16.1 | cluster-md-kmp-64kb +74 | 6.12.0-160100.9.1 | openSUSE-SU-2026:22309-1 |
| 16.1 | kernel-default-base | 6.12.0-160100.9.1.160100.3.14 | openSUSE-SU-2026:22309-1 |
ubuntu 4 releases · 48 packages
| Release | Package | Fixed in |
|---|---|---|
| 20.04-ESM | linux-nvidia-tegra-5-15 | 5.15.0-1070.72~20.04.1 |
| 20.04-ESM | linux-ibm-5-15 +1 | 5.15.0-1111.115~20.04.1 |
| 20.04-ESM | linux-intel-iotg-5-15 | 5.15.0-1112.118~20.04.1 |
| 20.04-ESM | linux-oracle-5-15 | 5.15.0-1114.120~20.04.1 |
| 20.04-ESM | linux-aws-5-15 | 5.15.0-1117.124~20.04.1 |
| 20.04-ESM | linux-gcp-5-15 | 5.15.0-1118.128~20.04.1 |
65 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-74635
- git.kernel.org https://git.kernel.org/stable/c/250159ace2dc53c1bdad267aa8da51b638748700
- git.kernel.org https://git.kernel.org/stable/c/46336f476484f36145e5117e72d7b590f47433ee
- git.kernel.org https://git.kernel.org/stable/c/94134d70abf9273b70499d97d0adc9185ef21091
- git.kernel.org https://git.kernel.org/stable/c/9ea879862e66e354e616028c31b39aa3eb6d35d8
- git.kernel.org https://git.kernel.org/stable/c/bc9db0d879c655d5dfd8add32fd60f13e65d132c
- git.kernel.org https://git.kernel.org/stable/c/bf750cfeacf4e47ac72dadc7f05839696efb8576
- git.kernel.org https://git.kernel.org/stable/c/c1e7351767dd30fc574395c82121e4c67b882da3
- git.kernel.org https://git.kernel.org/stable/c/e033cbf3975a8465f879ebd5989dc35b04423a4d
- kernelcve.org https://kernelcve.org/list/?q=CVE-2026-74635
Show all 35 references
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-74635.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-500377.html
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2026082222-CVE-2026-74635-df73@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-74635
- ubuntu.com https://ubuntu.com/security/notices/USN-8875-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8875-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8877-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8878-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8879-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8886-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8959-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8963-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9019-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9020-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9021-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9022-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9023-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9024-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9025-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9026-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9029-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9039-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9040-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9066-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-74635
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.