Skip to content

vt: Some small vt bugfixes found by code scans

Greg Kroah-Hartman linux-serial lkml 1 version New

Get series with b4
b4 am [email protected] change-id 20260731-tty-vt-stuff-eb7c6f3f7727

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vt: stabilize tty reference in kbd_keycode with tty_port_tty_getdrivers/tty/vt/keyboard.c+4 -10 replies
2/2vt: add permission check for KDSKBMETA ioctldrivers/tty/vt/vt_ioctl.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] vt: Some small vt bugfixes found by code scans

Joshua at AISLE has been kind enough to run a bunch of scans on the tty/serial code and here are two minor fixes for the vt code that the tools found.

---
Joshua Rogers (2):
vt: stabilize tty reference in kbd_keycode with tty_port_tty_get
vt: add permission check for KDSKBMETA ioctl

 drivers/tty/vt/keyboard.c | 5 ++++-
 drivers/tty/vt/vt_ioctl.c | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

---
base-commit: 8ba098e6b6ff0db8edf28528d1552be261af30d4
change-id: 20260731-tty-vt-stuff-eb7c6f3f7727

Best regards,

Signature · 1 line
Greg Kroah-Hartman <[email protected]>