diff options
| author | Helge Deller <deller@gmx.de> | 2026-08-21 10:01:22 +0200 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-08-22 09:33:45 +0200 |
| commit | 3c0ebc4c07ff1147724d8f370203e62390ae7ee7 (patch) | |
| tree | eb5063b55bb27a95fd5f18022ed21732ab751040 /scripts/objdiff | |
| parent | 26260251022fbc2f248a3d747a9b2b961b18d2d8 (diff) | |
| download | linux-next-3c0ebc4c07ff1147724d8f370203e62390ae7ee7.tar.gz linux-next-3c0ebc4c07ff1147724d8f370203e62390ae7ee7.zip | |
vt: hide cursor prior to font changes to avoid out-of-bound reads
KASAN reports slab-out-of-bounds errors:
BUG: KASAN: slab-out-of-bounds in soft_cursor+0x3eb/0xb70 drivers/video/fbdev/core/softcursor.c:70
When changing the size of a sceen font, the amount of columns and rows
on a screen may change and thus the current position of the cursor and
the selection may suddenly lay outside of the current screen limits.
Clear the selection and hide the cursor before any font changes to avoid
such possible out of bounds accesses.
Reported-by: Jaeyoung Chung <jjy600901@snu.ac.kr>
Signed-off-by: Helge Deller <deller@gmx.de>
Link: https://lore.kernel.org/all/20260819163440.3702924-1-jjy600901@snu.ac.kr/
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
