fbdev: bitblit: bound-check glyph index in bit_putcs*
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 901f44227072be60812fe8083e83e1533c04eed1| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's fbdev bitblit code can read past a built-in font array when a character value produces an index beyond the font's glyph count. An attacker able to supply such a character value could trigger the read; the input does not specify whether this requires local access, authentication, or user interaction.
Engineers running the Linux kernel should check their versions; affected versions are not specified.