diff options
| author | Young Xiao <YangX92@hotmail.com> | 2019-04-12 15:45:06 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-22 08:18:23 +0200 |
| commit | 3a2ff1088c2ac31547524c4635777edb662a59fd (patch) | |
| tree | 2a09d90677cfeb1a01548ae270d957a9de5f4e2a /kernel | |
| parent | 1f8233ca3a4819888c2a023750eadbe499e638cd (diff) | |
Drivers: misc: fix out-of-bounds access in function param_set_kgdbts_var
[ Upstream commit b281218ad4311a0342a40cb02fb17a363df08b48 ]
There is an out-of-bounds access to "config[len - 1]" array when the
variable "len" is zero.
See commit dada6a43b040 ("kgdboc: fix KASAN global-out-of-bounds bug
in param_set_kgdboc_var()") for details.
Signed-off-by: Young Xiao <YangX92@hotmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
