summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorLin Ma <linma@zju.edu.cn>2021-10-07 19:44:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-27 09:51:40 +0200
commita2efe3df65359add2164740a5777c26e64dd594b (patch)
tree8845bc018e41d670126365f6f16bca42ceda14e7 /samples
parent2e1606a0e98c064af2eb6ee692e34921c2f045c3 (diff)
nfc: nci: fix the UAF of rf_conn_info object
commit 1b1499a817c90fd1ce9453a2c98d2a01cca0e775 upstream. The nci_core_conn_close_rsp_packet() function will release the conn_info with given conn_id. However, it needs to set the rf_conn_info to NULL to prevent other routines like nci_rf_intf_activated_ntf_packet() to trigger the UAF. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Lin Ma <linma@zju.edu.cn> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions