# CVE-2026-74635: fbdev: bitblit: bound-check glyph index in bit\_cursor()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-22T15:32:15.280Z
- **Modified:** 2026-10-16T20:17:48.583Z

## Who should check

- Anyone running Linux \>= 0998a6cb232674408a03e8561dc15aa266b2f53b, \< 250159ace2dc53c1bdad267aa8da51b638748700; \>= db5c9a162d2f42bcc842b76b3d935dcc050a0eec, \< 46336f476484f36145e5117e72d7b590f47433ee; \>= c12003bf91fdff381c55ef54fef3e961a5af2545, \< bf750cfeacf4e47ac72dadc7f05839696efb8576; \>= 9ba1a7802ca9a2590cef95b253e6526f4364477f, \< 94134d70abf9273b70499d97d0adc9185ef21091; \>= 901f44227072be60812fe8083e83e1533c04eed1, \< c1e7351767dd30fc574395c82121e4c67b882da3; \>= 18c4ef4e765a798b47980555ed665d78b71aeadf, \< bc9db0d879c655d5dfd8add32fd60f13e65d132c; \>= 18c4ef4e765a798b47980555ed665d78b71aeadf, \< 9ea879862e66e354e616028c31b39aa3eb6d35d8; \>= 18c4ef4e765a798b47980555ed665d78b71aeadf, \< e033cbf3975a8465f879ebd5989dc35b04423a4d; a10cede006f9614b465cf25609a8753efbfd45cc; efaf89a75a29b2d179bf4fe63ca62852e93ad620; …
- Anyone running Linux 6.18

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

## Affected and fixed versions

- Linux: \>= 0998a6cb232674408a03e8561dc15aa266b2f53b, \< 250159ace2dc53c1bdad267aa8da51b638748700; \>= db5c9a162d2f42bcc842b76b3d935dcc050a0eec, \< 46336f476484f36145e5117e72d7b590f47433ee; \>= c12003bf91fdff381c55ef54fef3e961a5af2545, \< bf750cfeacf4e47ac72dadc7f05839696efb8576; \>= 9ba1a7802ca9a2590cef95b253e6526f4364477f, \< 94134d70abf9273b70499d97d0adc9185ef21091; \>= 901f44227072be60812fe8083e83e1533c04eed1, \< c1e7351767dd30fc574395c82121e4c67b882da3; \>= 18c4ef4e765a798b47980555ed665d78b71aeadf, \< bc9db0d879c655d5dfd8add32fd60f13e65d132c; \>= 18c4ef4e765a798b47980555ed665d78b71aeadf, \< 9ea879862e66e354e616028c31b39aa3eb6d35d8; \>= 18c4ef4e765a798b47980555ed665d78b71aeadf, \< e033cbf3975a8465f879ebd5989dc35b04423a4d; a10cede006f9614b465cf25609a8753efbfd45cc; efaf89a75a29b2d179bf4fe63ca62852e93ad620; … (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74635. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74635.md
Affected: Linux >= 0998a6cb232674408a03e8561dc15aa266b2f53b, < 250159ace2dc53c1bdad267aa8da51b638748700; >= db5c9a162d2f42bcc842b76b3d935dcc050a0eec, < 46336f476484f36145e5117e72d7b590f47433ee; >= c12003bf91fdff381c55ef54fef3e961a5af2545, < bf750cfeacf4e47ac72dadc7f05839696efb8576; >= 9ba1a7802ca9a2590cef95b…
Fixed in: Linux 250159ace2dc53c1bdad267aa8da51b638748700, Linux 46336f476484f36145e5117e72d7b590f47433ee, Linux 94134d70abf9273b70499d97d0adc9185ef21091, Linux 9ea879862e66e354e616028c31b39aa3eb6d35d8

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

## FAQ

### Is CVE-2026-74635 being exploited?

There is no confirmed exploitation: CVE-2026-74635 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74635?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74635?

Linux \>= 0998a6cb232674408a03e8561dc15aa266b2f53b, \< 250159ace2dc53c1bdad267aa8da51b638748700; \>= db5c9a162d2f42bcc842b76b3d935dcc050a0eec, \< 46336f476484f36145e5117e72d7b590f47433ee; \>= c12003bf91fdff381c55ef54fef3e961a5af2545, \< bf750cfeacf4e47ac72dadc7f05839696efb8576; \>= 9ba1a7802ca9a2590cef95b253e6526f4364477f, \< 94134d70abf9273b70499d97d0adc9185ef21091; \>= 901f44227072be60812fe8083e83e1533c04eed1, \< c1e7351767dd30fc574395c82121e4c67b882da3; \>= 18c4ef4e765a798b47980555ed665d78b71aeadf, \< bc9db0d879c655d5dfd8add32fd60f13e65d132c; \>= 18c4ef4e765a798b47980555ed665d78b71aeadf, \< 9ea879862e66e354e616028c31b39aa3eb6d35d8; \>= 18c4ef4e765a798b47980555ed665d78b71aeadf, \< e033cbf3975a8465f879ebd5989dc35b04423a4d; a10cede006f9614b465cf25609a8753efbfd45cc; efaf89a75a29b2d179bf4fe63ca62852e93ad620; …; Linux 6.18.

### Is there a fix for CVE-2026-74635?

Yes. Fixed in Linux 250159ace2dc53c1bdad267aa8da51b638748700, Linux 46336f476484f36145e5117e72d7b590f47433ee, Linux 94134d70abf9273b70499d97d0adc9185ef21091, Linux 9ea879862e66e354e616028c31b39aa3eb6d35d8. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74635?

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.

## References

- other: <https://git.kernel.org/stable/c/250159ace2dc53c1bdad267aa8da51b638748700>
- other: <https://git.kernel.org/stable/c/46336f476484f36145e5117e72d7b590f47433ee>
- other: <https://git.kernel.org/stable/c/bf750cfeacf4e47ac72dadc7f05839696efb8576>
- other: <https://git.kernel.org/stable/c/94134d70abf9273b70499d97d0adc9185ef21091>
- other: <https://git.kernel.org/stable/c/c1e7351767dd30fc574395c82121e4c67b882da3>
- other: <https://git.kernel.org/stable/c/bc9db0d879c655d5dfd8add32fd60f13e65d132c>
- other: <https://git.kernel.org/stable/c/9ea879862e66e354e616028c31b39aa3eb6d35d8>
- other: <https://git.kernel.org/stable/c/e033cbf3975a8465f879ebd5989dc35b04423a4d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74635>

HTML: <https://flawdb.com/CVE-2026-74635> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74635>
