android_kernel_motorola_sm6225/arch/xtensa/platforms
Max Filippov ea2994dd4c xtensa: ISS: fix call to split_if_spec
commit bc8d5916541fa19ca5bc598eb51a5f78eb891a36 upstream.

split_if_spec expects a NULL-pointer as an end marker for the argument
list, but tuntap_probe never supplied that terminating NULL. As a result
incorrectly formatted interface specification string may cause a crash
because of the random memory access. Fix that by adding NULL terminator
to the split_if_spec argument list.

Cc: stable@vger.kernel.org
Fixes: 7282bee787 ("[PATCH] xtensa: Architecture support for Tensilica Xtensa Part 8")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-11 11:45:23 +02:00
..
iss xtensa: ISS: fix call to split_if_spec 2023-08-11 11:45:23 +02:00
xt2000 xtensa: move PLATFORM_NR_IRQS to Kconfig 2018-08-20 12:28:04 -07:00
xtfpga xtensa: xtfpga: Fix refcount leak bug in setup 2022-07-02 16:27:36 +02:00