summaryrefslogtreecommitdiff
path: root/scripts/depmod.sh
diff options
context:
space:
mode:
authorGuangming Cao <Guangming.Cao@mediatek.com>2021-10-08 10:54:20 +0300
committerChristian König <christian.koenig@amd.com>2021-10-29 10:19:31 +0300
commit8c0fd126263730c35927cc8445727afb79219a19 (patch)
tree2ddb83dec10a44a474cd9640ce4c022c53262b59 /scripts/depmod.sh
parent61b1d445f3bfe4c3ba4335ceeb7e8ba688fd31e2 (diff)
downloadlinux-8c0fd126263730c35927cc8445727afb79219a19.tar.xz
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 <Guangming.Cao@mediatek.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211008075420.42874-1-guangming.cao@mediatek.com
Diffstat (limited to 'scripts/depmod.sh')
0 files changed, 0 insertions, 0 deletions