aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2023-05-19 14:09:48 +0000
committerSteve French <[email protected]>2023-05-27 01:27:46 +0000
commit36322523dddb11107e9f7f528675a0dec2536103 (patch)
tree5cbdf837cda3e64fde146a6712f106d9bfe5939a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentksmbd: fix multiple out-of-bounds read during context decoding (diff)
downloadkernel-36322523dddb11107e9f7f528675a0dec2536103.tar.gz
kernel-36322523dddb11107e9f7f528675a0dec2536103.zip
ksmbd: fix UAF issue from opinfo->conn
If opinfo->conn is another connection and while ksmbd send oplock break request to cient on current connection, The connection for opinfo->conn can be disconnect and conn could be freed. When sending oplock break request, this ksmbd_conn can be used and cause user-after-free issue. When getting opinfo from the list, ksmbd check connection is being released. If it is not released, Increase ->r_count to wait that connection is freed. Cc: [email protected] Reported-by: Per Forlin <[email protected]> Tested-by: Per Forlin <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions