android_kernel_sony_sdm845/arch/ia64
Repository files (latest commit first)
Filename Latest commit message Latest commit date
chenzefeng bfd6664e50 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>
2019-10-05 12:30:20 +02:00
..
configs [IA64] refresh arch/ia64/configs/* using "make savedefconfig" 2014-09-23 11:09:29 -07:00
dig
hp [kbuild] handle exports in lib-y objects reliably 2016-08-07 23:46:30 -04:00
include bug.h: work around GCC PR82365 in BUG() 2019-07-10 09:55:44 +02:00
kernel ia64:unwind: fix double free for mod->arch.init_unw_table 2019-10-05 12:30:20 +02:00
lib ia64: move exports to definitions 2016-08-07 23:55:50 -04:00
mm ia64: fix build errors by exporting paddr_to_nid() 2019-06-22 08:17:23 +02:00
oprofile
pci PCI: Set ROM shadow location in arch code, not in PCI core 2016-03-08 12:14:31 -06:00
scripts ia64: remove paravirt code 2015-06-10 14:26:32 -07:00
sn dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
uv
install.sh
Kconfig Implements HARDENED_USERCOPY verification of copy_to_user/copy_from_user 2016-08-08 14:48:14 -07:00
Kconfig.debug
Makefile kbuild: drop redundant "PHONY += FORCE" 2016-04-20 10:38:40 +02:00
module.lds