]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: remove access to kernel memory using debugfs
authorOfir Bitton <obitton@habana.ai>
Mon, 28 Dec 2020 16:28:08 +0000 (18:28 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 27 Jan 2021 19:03:49 +0000 (21:03 +0200)
commit64e85aceded6d6f9413c1e0130225ffc99c1bb69
treec99050aa8ca8a5c1942e2ce7face22ca603011da
parent98b955ad9bbd41047eea14e21aefc0b9d3f7e6aa
habanalabs: remove access to kernel memory using debugfs

Accessing kernel allocated memory through debugfs should not
be allowed as it introduces a security vulnerability.
We remove the option to read/write kernel memory for all asics.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c