android_kernel_samsung_a7y1.../arch/ia64/kernel
chenzefeng 41ae4196a1 ia64:unwind: fix double free for mod->arch.init_unw_table
[ Upstream commit c5e5c48c16422521d363c33cfb0dcf58f88c119b ]

The function free_module in file kernel/module.c as follow:

void free_module(struct module *mod) {
	......
	module_arch_cleanup(mod);
	......
	module_arch_freeing_init(mod);
	......
}

Both module_arch_cleanup and module_arch_freeing_init function
would free the mod->arch.init_unw_table, which cause double free.

Here, set mod->arch.init_unw_table = NULL after remove the unwind
table to avoid double free.

Signed-off-by: chenzefeng <chenzefeng2@huawei.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 07:38:19 +02:00
..
acpi-ext.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
asm-offsets.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
audit.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
brl_emu.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crash_dump.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crash.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cyclone.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dma-mapping.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
efi_stub.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
efi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
elfcore.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
entry.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
entry.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
err_inject.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
esi_stub.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
esi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsys.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fsyscall_gtod_data.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ftrace.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gate-data.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gate.lds.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gate.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ia64_ksyms.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
init_task.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iosapic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq_ia64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq_lsapic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ivt.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
jprobes.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kprobes.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
machine_kexec.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
machvec.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile.gate A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mca_asm.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mca_drv_asm.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mca_drv.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mca_drv.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mca.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
minstate.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
module.c ia64:unwind: fix double free for mod->arch.init_unw_table 2020-04-07 07:38:19 +02:00
msi_ia64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nr-irqs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
numa.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pal.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
palinfo.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
patch.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci-dma.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci-swiotlb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
perfmon_default_smpl.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
perfmon_generic.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
perfmon_itanium.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
perfmon_mckinley.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
perfmon_montecito.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
perfmon.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
process.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ptrace.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
relocate_kernel.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sal.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
salinfo.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
setup.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sigframe.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
signal.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
smp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
smpboot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
stacktrace.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sys_ia64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
time.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
topology.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
traps.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
unaligned.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
uncached.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
unwind_decoder.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
unwind_i.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
unwind.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vmlinux.lds.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30