linux/drivers/tty/vt
Jiri Slaby f3af1b68fc tty: keyboard, do not speculate on func_table index
It is very unlikely for processor to speculate on the func_table index.
The index is uchar and func_table is of size 256. So the compiler would
need to screw up and generate a really bad code.

But to stay on the safe side, forbid speculation on this user passed
index.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Jiri Kosina <jikos@kernel.org>
Link: https://lore.kernel.org/r/20200730105546.24268-1-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-31 20:22:06 +02:00
..
.gitignore tty: vt: move conmakehash to drivers/tty/vt/ from scripts/ 2019-12-17 14:42:46 +01:00
conmakehash.c tty: vt: move conmakehash to drivers/tty/vt/ from scripts/ 2019-12-17 14:42:46 +01:00
consolemap.c tty/vt: check allocation size in con_set_unimap() 2020-06-24 17:11:58 +02:00
cp437.uni
defkeymap.c_shipped
defkeymap.map
keyboard.c tty: keyboard, do not speculate on func_table index 2020-07-31 20:22:06 +02:00
Makefile kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
selection.c tty/vt: Do not warn when huge selection requested 2020-07-01 15:29:35 +02:00
vc_screen.c vcs: prevent write access to vcsu devices 2019-11-27 07:47:17 +01:00
vt.c Linux 5.8-rc7 2020-07-27 12:40:56 +02:00
vt_ioctl.c vt_ioctl: move perm checks level up 2020-06-24 17:08:35 +02:00