WSL2-Linux-Kernel/drivers/misc/habanalabs
Oded Gabbay cea7a0449e habanalabs: prevent possible out-of-bounds array access
Queue index is received from the user. Therefore, we must validate it
before using it to access the queue props array.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
2020-07-19 08:15:36 +03:00
..
gaudi habanalabs: set 4s timeout for message to device CPU 2020-07-10 19:53:03 +03:00
goya habanalabs: set 4s timeout for message to device CPU 2020-07-10 19:53:03 +03:00
include habanalabs: block scalar load_and_exe on external queue 2020-06-24 09:09:10 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile habanalabs: add gaudi asic-dependent code 2020-05-19 14:48:41 +03:00
asid.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
command_buffer.c habanalabs: print all CB handles as hex numbers 2020-05-19 14:48:41 +03:00
command_submission.c habanalabs: prevent possible out-of-bounds array access 2020-07-19 08:15:36 +03:00
context.c habanalabs: add signal/wait to CS IOCTL operations 2020-05-19 14:48:41 +03:00
debugfs.c habanalabs: set 4s timeout for message to device CPU 2020-07-10 19:53:03 +03:00
device.c habanalabs: set clock gating per engine 2020-07-10 19:53:03 +03:00
firmware_if.c habanalabs: set 4s timeout for message to device CPU 2020-07-10 19:53:03 +03:00
habanalabs.h habanalabs: set 4s timeout for message to device CPU 2020-07-10 19:53:03 +03:00
habanalabs_drv.c habanalabs: set clock gating per engine 2020-07-10 19:53:03 +03:00
habanalabs_ioctl.c habanalabs: get card type, location from F/W 2020-05-19 14:48:41 +03:00
hw_queue.c habanalabs: handle the h/w sync object 2020-05-19 14:48:41 +03:00
hwmon.c habanalabs: set 4s timeout for message to device CPU 2020-07-10 19:53:03 +03:00
irq.c habanalabs: replace __le32_to_cpu with le32_to_cpu 2019-09-05 14:55:27 +03:00
memory.c habanalabs: initialize variable to default value 2020-06-01 09:08:10 +02:00
mmu.c habanalabs: split the host MMU properties 2020-03-24 10:54:16 +02:00
pci.c habanalabs: hl_pci_set_dma_mask() can be static 2020-05-19 14:48:41 +03:00
sysfs.c habanalabs: set 4s timeout for message to device CPU 2020-07-10 19:53:03 +03:00