linux-stable/arch/xtensa
Max Filippov ea2994dd4c xtensa: ISS: fix call to split_if_spec
commit bc8d591654 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
..
boot xtensa: fix DTC warning unit_address_format 2022-04-15 14:15:02 +02:00
configs xtensa: smp_lx200_defconfig: fix vectors clash 2019-03-13 14:02:28 -07:00
include init: Remove check_bugs() leftovers 2023-08-08 19:49:18 +02:00
kernel exit: Add and use make_task_dead. 2023-02-06 07:49:45 +01:00
lib xtensa: add support for KASAN 2017-12-16 22:37:12 -08:00
mm xtensa: use CONFIG_USE_OF instead of CONFIG_OF 2021-12-01 09:27:39 +01:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
platforms xtensa: ISS: fix call to split_if_spec 2023-08-11 11:45:23 +02:00
variants xtensa: add test_kc705_be variant 2018-08-20 12:34:45 -07:00
Kconfig xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG 2021-09-22 11:47:45 +02:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile xtensa: remove unnecessary KBUILD_SRC ifeq conditional 2018-09-11 22:09:48 -07:00