Files
linux/drivers/tty
Fuqian Huang 29973f8a88 tty: rocket: Remove RCPK_GET_STRUCT ioctl
If the cmd is RCPK_GET_STRUCT, copy_to_user will copy
info to user space. As info->port.ops is the address of
a constant object rocket_port_ops (assigned in init_r_port),
a kernel address leakage happens.

Remove the RCPK_GET_STRUCT ioctl.

Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-04-25 11:58:56 +02:00
..
2019-04-21 23:20:08 +02:00
2019-04-16 15:21:34 +02:00
2019-02-12 08:51:33 +01:00
2019-04-25 11:58:56 +02:00
2019-04-16 15:21:34 +02:00