android_kernel_motorola_sm6375/arch/x86
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Xiu Jianfeng 29198f667f x86/xen: Fix memory leak in xen_init_lock_cpu()
[ Upstream commit ca84ce153d887b1dc8b118029976cc9faf2a9b40 ]

In xen_init_lock_cpu(), the @name has allocated new string by kasprintf(),
if bind_ipi_to_irqhandler() fails, it should be freed, otherwise may lead
to a memory leak issue, fix it.

Fixes: 2d9e1e2f58 ("xen: implement Xen-specific spinlocks")
Signed-off-by: Xiu Jianfeng <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2023-01-18 11:40:57 +01:00
..
boot x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments 2022-08-25 11:17:17 +02:00
configs
crypto crypto: x86/chacha20 - Avoid spurious jumps to other functions 2022-05-25 09:14:32 +02:00
entry x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n 2022-10-07 09:16:55 +02:00
events perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox() 2023-01-18 11:40:54 +01:00
hyperv x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails 2021-11-26 10:47:21 +01:00
ia32
include x86/tsx: Add a feature bit for TSX control MSR support 2022-12-08 11:23:05 +01:00
kernel uprobes/x86: Allow to probe a NOP instruction with 0x66 prefix 2023-01-18 11:40:57 +01:00
kvm x86/cpu: Restore AMD's DE_CFG MSR after resume 2022-11-25 17:42:11 +01:00
lib x86/delay: Fix the wrong asm constraint in delay_loop() 2022-06-14 18:11:31 +02:00
math-emu
mm x86/ioremap: Fix page aligned size calculation in __ioremap_caller() 2022-12-08 11:23:06 +01:00
net
oprofile
pci x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests 2022-06-06 08:33:48 +02:00
platform x86/olpc: fix 'logical not is only applied to the left hand side' 2022-08-25 11:18:10 +02:00
power x86/pm: Add enumeration check before spec MSRs save/restore setup 2022-12-08 11:23:05 +01:00
purgatory
ras
realmode x86/mm: Flush global TLB when switching to trampoline page-table 2022-01-27 09:19:42 +01:00
tools
um arch: um: Mark the stack non-executable to fix a binutils warning 2022-10-15 07:54:38 +02:00
video
xen x86/xen: Fix memory leak in xen_init_lock_cpu() 2023-01-18 11:40:57 +01:00
.gitignore
Kbuild
Kconfig locking/refcount: Consolidate implementations of refcount_t 2022-07-29 17:14:17 +02:00
Kconfig.cpu
Kconfig.debug
Makefile
Makefile.um
Makefile_32.cpu