linux_dsm_epyc7002/arch
Zhang, Yanmin 2dd960d66b [PATCH] utilization of kprobe_mutex is incorrect on x86_64
The up()/down() orders are incorrect in arch/x86_64/kprobes.c file.
kprobe_mutext is used to protect the free kprobe instruction slot list.
arch_prepare_kprobe applies for a slot from the free list, and
arch_remove_kprobe returns a slot to the free list.  The incorrect up()/down()
orders to operate on kprobe_mutex fail to protect the free list.  If 2 threads
try to get/return kprobe instruction slot at the same time, the free slot list
might be broken, or a free slot might be applied by 2 threads.

Signed-off-by: Zhang Yanmin <Yanmin.zhang@intel.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-30 12:41:20 -07:00
..
alpha [PATCH] alpha: fix kernel panic during SysRq-b 2005-09-22 22:17:34 -07:00
arm Merge master.kernel.org:/home/rmk/linux-2.6-arm 2005-09-30 08:39:56 -07:00
arm26 [PATCH] Remove arch/arm26/boot/compressed/hw-bse.c 2005-09-17 11:49:59 -07:00
cris kbuild: rename prepare to archprepare to fix dependency chain 2005-09-11 22:30:22 +02:00
frv kbuild: frv,m32r,sparc64 introduce fake asm-offsets.h file 2005-09-09 22:47:53 +02:00
h8300 kbuild: h8300,m68knommu,sh,sh64 use generic asm-offsets.h support 2005-09-09 20:28:49 +02:00
i386 [PATCH] i386: include linux/irq.h rather than asm/hw_irq.h 2005-09-30 10:58:37 -07:00
ia64 [IA64] MCA recovery verify pfn_valid 2005-09-22 13:27:59 -07:00
m32r [PATCH] m32r: more basic __user annotations 2005-09-26 18:29:50 -07:00
m68k Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2005-09-09 15:46:49 -07:00
m68knommu [PATCH] m68knommu: startup code for the Drangen Engine 68328 based board 2005-09-12 20:04:15 -07:00
mips [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
parisc [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
ppc [PATCH] useless includes of linux/irq.h (arch/ppc) 2005-09-30 08:54:02 -07:00
ppc64 [PATCH] bogus BUILD_BUG_ON() in bpa_iommu 2005-09-30 08:42:24 -07:00
s390 [PATCH] s390 signal annotations 2005-09-29 08:46:27 -07:00
sh kbuild: rename prepare to archprepare to fix dependency chain 2005-09-11 22:30:22 +02:00
sh64 kbuild: rename prepare to archprepare to fix dependency chain 2005-09-11 22:30:22 +02:00
sparc [SPARC]: Declare paging_init() in asm/pgtable.h 2005-09-28 21:31:25 -07:00
sparc64 [SPARC64]: Fix several bugs in flush_ptrace_access(). 2005-09-29 18:50:34 -07:00
um [PATCH] uml: revert "run mconsole "sysrq" in process context" 2005-09-30 12:41:18 -07:00
v850 [PATCH] V850: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
x86_64 [PATCH] utilization of kprobe_mutex is incorrect on x86_64 2005-09-30 12:41:20 -07:00
xtensa [PATCH] xtensa: remove io_remap_page_range and minor clean-ups 2005-09-22 22:17:37 -07:00