Commit 997876cd authored by Will McVicker's avatar Will McVicker Committed by Todd Kjos
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: I62404bdaa602586e00821a7d4c5f9b9868a0e90a
parent af474b38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment