diff options
author | Guangming Cao <[email protected]> | 2021-10-08 15:54:20 +0800 |
---|---|---|
committer | Christian König <[email protected]> | 2021-10-29 09:19:31 +0200 |
commit | 8c0fd126263730c35927cc8445727afb79219a19 (patch) | |
tree | 2ddb83dec10a44a474cd9640ce4c022c53262b59 /scripts/gdb/linux/utils.py | |
parent | 61b1d445f3bfe4c3ba4335ceeb7e8ba688fd31e2 (diff) |
dma-buf: acquire name lock before read/write dma_buf.name
Because dma-buf.name can be freed in func: "dma_buf_set_name",
so, we need to acquire lock first before we read/write dma_buf.name
to prevent Use After Free(UAF) issue.
Signed-off-by: Guangming Cao <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions