Commit 5158583a authored by Will McVicker's avatar Will McVicker Committed by Gerrit - the friendly Code Review server
Browse files

ANDROID: xt_qtaguid: fix UAF race



Make sure to hold the sock_tag_list_lock while accessing the tag to
avoid a race between getting the tag and free'ing the tag.

Bug: 184018316
Fixes: c7ca0ac6 ("ANDROID: netfilter: xt_qtaguid: add qtaguid matching module")
Signed-off-by: default avatarWill McVicker <willmcvicker@google.com>
Change-Id: Ia44dfcc1693bc3de1d767e024d09c11f4a8b02f9
Git-commit: 2398e650
Git-repo: https://android.googlesource.com/kernel/msm


Signed-off-by: default avatarPavanKumar S.R. <pavasr@codeaurora.org>
parent 68222558
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment