aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorJeremy Cline <[email protected]>2023-09-08 19:58:53 -0400
committerJakub Kicinski <[email protected]>2023-10-03 07:39:31 -0700
commitdfc7f7a988dad34c3bf4c053124fb26aa6c5f916 (patch)
tree03403220b05dcdc472d30d6f4279b47dbc0f9096 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent8957261cd8149ed9d0738c01c0320bcbff989407 (diff)
net: nfc: llcp: Add lock when modifying device list
The device list needs its associated lock held when modifying it, or the list could become corrupted, as syzbot discovered. Reported-and-tested-by: [email protected] Closes: https://syzkaller.appspot.com/bug?extid=c1d0a03d305972dbbe14 Signed-off-by: Jeremy Cline <[email protected]> Reviewed-by: Simon Horman <[email protected]> Fixes: 6709d4b7bc2e ("net: nfc: Fix use-after-free caused by nfc_llcp_find_local") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions