diff options
author | Arun Kumar Neelakantam <aneela@codeaurora.org> | 2019-10-05 01:26:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-21 13:04:37 +0300 |
commit | d375fb033a82ebbc7d0774618586785851c39c78 (patch) | |
tree | a30d79dba0a7f7583e4e78b391efba2427916153 /lib/fdt_strerror.c | |
parent | bee84d7d8b13926af3933cd054a734bf71ef3ad8 (diff) | |
download | linux-d375fb033a82ebbc7d0774618586785851c39c78.tar.xz |
rpmsg: glink: Fix use after free in open_ack TIMEOUT case
commit ac74ea01860170699fb3b6ea80c0476774c8e94f upstream.
Extra channel reference put when remote sending OPEN_ACK after timeout
causes use-after-free while handling next remote CLOSE command.
Remove extra reference put in timeout case to avoid use-after-free.
Fixes: b4f8e52b89f6 ("rpmsg: Introduce Qualcomm RPM glink driver")
Cc: stable@vger.kernel.org
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/fdt_strerror.c')
0 files changed, 0 insertions, 0 deletions