linux/drivers/tty/vt
Joshua Rogers a7ad003445 vt: add permission check for KDSKBMETA ioctl
KDSKBMETA modifies keyboard meta mode but lacks the !perm check that all
other keyboard setter ioctls in vt_k_ioctl() enforce, allowing a process
to change meta mode on a non-controlling console without authorization.

Assisted-by: AISLE:Snapshot
Cc: stable <stable@kernel.org>
Signed-off-by: Joshua Rogers <linux@joshua.hu>
Link: https://patch.msgid.link/20260731-tty-vt-stuff-v1-2-be99b9da8e30@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-08-03 16:31:14 +02:00
..
.gitignore vt: create ucs_fallback_table.h_shipped with gen_ucs_fallback_table.py 2025-05-21 13:39:45 +02:00
conmakehash.c tty: vt: conmakehash: remove non-portable code printing comment header 2024-08-13 11:06:29 +02:00
consolemap.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
cp437.uni
defkeymap.c_shipped vt: defkeymap: Map keycodes above 127 to K_HOLE 2025-07-22 18:53:56 +02:00
defkeymap.map
gen_ucs_fallback_table.py vt: process the full-width ASCII fallback range programmatically 2025-05-21 13:39:45 +02:00
gen_ucs_recompose_table.py vt: move UCS tables to the "shipped" form 2025-04-26 11:22:04 +02:00
gen_ucs_width_table.py vt: merge ucs_is_zero_width()/ucs_is_double_width() into ucs_get_width() 2026-05-22 11:47:33 +02:00
keyboard.c vt: stabilize tty reference in kbd_keycode with tty_port_tty_get 2026-08-03 16:31:12 +02:00
Makefile vt: add ucs_get_fallback() 2025-05-21 13:39:45 +02:00
selection.c drivers/tty/vt: use umin() instead of min_t(u16, ...) for row/col limits 2025-11-21 18:16:11 +01:00
ucs_fallback_table.h_shipped vt: process the full-width ASCII fallback range programmatically 2025-05-21 13:39:45 +02:00
ucs_recompose_table.h_shipped vt: move UCS tables to the "shipped" form 2025-04-26 11:22:04 +02:00
ucs_width_table.h_shipped vt: merge ucs_is_zero_width()/ucs_is_double_width() into ucs_get_width() 2026-05-22 11:47:33 +02:00
ucs.c vt: merge ucs_is_zero_width()/ucs_is_double_width() into ucs_get_width() 2026-05-22 11:47:33 +02:00
vc_screen.c vc_screen: fix null-ptr-deref in vcs_notifier() during concurrent vcs_write 2026-06-12 11:55:37 +02:00
vt_ioctl.c vt: add permission check for KDSKBMETA ioctl 2026-08-03 16:31:14 +02:00
vt.c TTY / Serial driver update for 7.2-rc1 2026-06-22 11:51:49 -07:00