android_kernel_motorola_sm6225/arch
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
..
alpha init: Remove check_bugs() leftovers 2023-08-08 19:49:18 +02:00
arc ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard 2023-08-11 11:45:11 +02:00
arm ARM: orion5x: fix d2net gpio initialization 2023-08-11 11:45:15 +02:00
arm64 arm64: dts: renesas: ulcb-kf: Remove flow control for SCIF1 2023-08-11 11:45:08 +02:00
c6x
h8300 h8300: Fix build errors from do_exit() to make_task_dead() transition 2023-02-06 07:49:45 +01:00
hexagon hexagon: Fix function name in die() 2023-02-06 07:49:45 +01:00
ia64 treewide: Remove uninitialized_var() usage 2023-08-11 11:45:01 +02:00
m68k m68k/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:49:17 +02:00
microblaze exit: Add and use make_task_dead. 2023-02-06 07:49:45 +01:00
mips mips/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:49:17 +02:00
nds32 exit: Add and use make_task_dead. 2023-02-06 07:49:45 +01:00
nios2 nios2: dts: Fix tse_mac "max-frame-size" property 2023-06-21 15:39:57 +02:00
openrisc openrisc: Properly store r31 to pt_regs on unhandled exceptions 2023-05-17 11:13:19 +02:00
parisc init: Remove check_bugs() leftovers 2023-08-08 19:49:18 +02:00
powerpc powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y 2023-08-11 11:45:13 +02:00
riscv riscv: Bump COMMAND_LINE_SIZE value to 1024 2023-04-05 11:15:36 +02:00
s390 KVM: s390: fix KVM_S390_GET_CMMA_BITS for GFNs in memslot holes 2023-08-11 11:45:12 +02:00
sh sh: dma: Fix DMA channel offset calculation 2023-08-11 11:45:14 +02:00
sparc sparc/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:49:17 +02:00
um um/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:49:18 +02:00
unicore32
x86 treewide: Remove uninitialized_var() usage 2023-08-11 11:45:01 +02:00
xtensa xtensa: ISS: fix call to split_if_spec 2023-08-11 11:45:23 +02:00
.gitignore
Kconfig init: Provide arch_cpu_finalize_init() 2023-08-08 19:49:17 +02:00