]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
habanalabs: verify user input in cs_ioctl_signal_wait
authorOfir Bitton <obitton@habana.ai>
Wed, 5 Aug 2020 10:55:12 +0000 (13:55 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Sat, 22 Aug 2020 09:47:57 +0000 (12:47 +0300)
commit1cff11974080f47864d56ef97db228c51fcb8a0c
tree16259ae7a30208ec77ffef2ee9286e4352b03a0e
parentb0353540ffd2d78dca232990719916bee58c7523
habanalabs: verify user input in cs_ioctl_signal_wait

User input must be validated before using it to
access internal structures.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/common/command_submission.c