linux/drivers/tty
Johan Hovold 40adffec8c serial: fix TIOCMIWAIT race
The task state must be updated before checking the wakeup condition to
avoid missing a racing modem status update.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Reported-by: sashiko-bot@kernel.org
Link: https://lore.kernel.org/r/20260904115542.E20D11F00A3D@smtp.kernel.org
Cc: stable@kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260910130816.642699-4-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-09-23 12:00:49 +02:00
..
hvc tty: hvc: restrict HVC_DCC to ARMv6+ and ARM64 2026-07-17 13:03:42 +02:00
serdev TTY / Serial driver updates for 7.3-rc1 2026-08-25 10:59:12 -07:00
serial serial: fix TIOCMIWAIT race 2026-09-23 12:00:49 +02:00
vt tty: vt: fix memory leak in vc_allocate() 2026-09-23 11:54:16 +02:00
amiserial.c tty: amiserial: replace get_zeroed_page() with kzalloc() 2026-07-07 17:21:31 +02:00
ehv_bytechan.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
goldfish.c Merge 7.2-rc3 into tty-next 2026-07-13 07:11:57 +02:00
Kconfig tty: remove the ipwireless driver 2026-08-03 14:43:22 +02:00
Makefile tty: remove the ipwireless driver 2026-08-03 14:43:22 +02:00
mips_ejtag_fdc.c
moxa.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
mxser.c
n_gsm.c tty: n_gsm: fix missing modem controls after DLCI open in convergence layer type 2 2026-09-23 11:45:08 +02:00
n_hdlc.c tty: synclink_gt: remove broken driver 2026-05-11 16:55:56 +02:00
n_null.c
n_tty.c tty: n_tty: use guard()s 2025-11-21 18:30:40 +01:00
nozomi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pty.c tty: tty_port: add workqueue to flip TTY buffer 2026-03-12 15:26:29 +01:00
rpmsg_tty.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sysrq.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tty_audit.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tty_baudrate.c
tty_buffer.c tty: tty_port: add workqueue to flip TTY buffer 2026-03-12 15:26:29 +01:00
tty_io.c tty: abort break signalling on hangup 2026-09-23 11:58:36 +02:00
tty_ioctl.c
tty_jobctrl.c tty: tty_jobctrl: use guard() in tiocgsid() 2026-07-07 17:22:45 +02:00
tty_ldisc.c tty: constify tty_ldisc_ops 2026-03-12 15:05:34 +01:00
tty_ldsem.c
tty_mutex.c
tty_port.c tty: port: fix tty_port_tty_vhangup() race 2026-09-23 11:59:31 +02:00
tty.h
ttynull.c
vcc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00