diff options
author | Johan Hovold <johan@kernel.org> | 2017-11-03 15:30:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-28 16:00:50 +0100 |
commit | 8bcd4e6a8decac251d55c4377e2e67f052777ce0 (patch) | |
tree | e9ecd5cb20a5a37a2f255d8d51622be7eec2b5de /mm/slob.c | |
parent | fd00cf81a9a84776ba58e56bd042c726dcf75cf3 (diff) |
serdev: ttyport: fix NULL-deref on hangup
Make sure to use a properly refcounted tty_struct in write_wake up to
avoid dereferencing a NULL-pointer when a port is being hung up.
Fixes: bed35c6dfa6a ("serdev: add a tty port controller driver")
Cc: stable <stable@vger.kernel.org> # 4.11
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/slob.c')
0 files changed, 0 insertions, 0 deletions