[git pull] habanalabs fixes pull request for kernel 5.8-rc7
From: Oded Gabbay
Date: Sun Jul 19 2020 - 02:13:29 EST
Hello Greg,
This pull request is for 5.8-rc7 and it contains an important bug fix for
possible out-of-bounds access error.
Details are in the tag message below.
Thanks,
Oded
The following changes since commit b279b1fe5799cf653de3822ca253f5d21639d90a:
Merge tag 'misc-habanalabs-fixes-2020-07-10' of git://people.freedesktop.org/~gabbayo/linux into char-misc-linus (2020-07-17 11:56:58 +0200)
are available in the Git repository at:
git://people.freedesktop.org/~gabbayo/linux tags/misc-habanalabs-fixes-2020-07-19
for you to fetch changes up to cea7a0449ea3fa4883bf5dc8397f000d6b67d6cd:
habanalabs: prevent possible out-of-bounds array access (2020-07-19 08:15:36 +0300)
----------------------------------------------------------------
This tag contains a single bug fix for 5.8-rc7:
- Check that an index is in valid range before using it to access an
array. The index is received from the user. This is to prevent a
possible out-of-bounds access error.
----------------------------------------------------------------
Oded Gabbay (1):
habanalabs: prevent possible out-of-bounds array access
drivers/misc/habanalabs/command_submission.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)