diff options
author | 2022-09-01 12:05:32 -0400 | |
---|---|---|
committer | 2022-09-26 09:58:07 -0500 | |
commit | 3b7610302a75fc1032a6c9462862bec6948f85c9 (patch) | |
tree | 33b042a6dd910cf283144770ee9000e49b554205 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | fs: dlm: const void resource name parameter (diff) | |
download | linux-dev-3b7610302a75fc1032a6c9462862bec6948f85c9.tar.xz linux-dev-3b7610302a75fc1032a6c9462862bec6948f85c9.zip |
fs: dlm: fix possible use after free if tracing
This patch fixes a possible use after free if tracing for the specific
event is enabled. To avoid the use after free we introduce a out_put
label like all other user lock specific requests and safe in a boolean
to do a put or not which depends on the execution path of
dlm_user_request().
Cc: stable@vger.kernel.org
Fixes: 7a3de7324c2b ("fs: dlm: trace user space callbacks")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions