BUG: unable to handle kernel paing request at fffffc0000000000

2018-03-14 Thread chenjiankang
hello everyone: my kernel version is 3.10.0-327.62.59.101.x86_64, and why this Kasan's shadow memory is lost? Thanks; BUG: unable to handle kernel paging request at fc00 IP: [] kasan_mem_to_shadow include/linux/kasan.h:20 [inline] IP: [] memory_is_poisoned_4 mm/kasa

Re: a racy access flag clearing warning when calling mmap system call

2017-12-11 Thread chenjiankang
> On Fri, Dec 08, 2017 at 11:19:52AM +0800, chenjiankang wrote: >> 在 2017/12/7 21:23, Will Deacon 写道: >>> diff --git a/arch/arm64/include/asm/pgtable.h >>> b/arch/arm64/include/asm/pgtable.h >>> index 149d05fb9421..8fe103b1e101 100644 >>> --- a/ar

Re: a racy access flag clearing warning when calling mmap system call

2017-12-07 Thread chenjiankang
在 2017/12/7 21:23, Will Deacon 写道: > On Thu, Dec 07, 2017 at 09:46:59AM +0800, Yisheng Xie wrote: >> On 2017/12/1 21:18, Will Deacon wrote: >>> On Fri, Dec 01, 2017 at 03:38:04PM +0800, chenjiankang wrote: >>>> [ cut here ]-

Re: a racy access flag clearing warning when calling mmap system call

2017-12-05 Thread chenjiankang
在 2017/12/1 21:18, Will Deacon 写道: > On Fri, Dec 01, 2017 at 03:38:04PM +0800, chenjiankang wrote: >>I find a warning by a syzkaller test; >> >>When the mmap syscall is called to create a virtual memory, >> firstly it delete a old huge page mapping area;

a racy access flag clearing warning when calling mmap system call

2017-11-30 Thread chenjiankang
Hi will I find a warning by a syzkaller test; When the mmap syscall is called to create a virtual memory, firstly it delete a old huge page mapping area; Before splitting the huge page, the pmd of a huge page is set up. But The PTE_AF is zreo belonging to the current pmd of huge

Re: [PATCH] kernel/kprobes: add check to avoid kprobe memory leak

2017-10-25 Thread chenjiankang
> On Tue, 24 Oct 2017 20:17:02 +0800 > JianKang Chen wrote: > >> The function register_kretprobe is used to initialize a struct >> kretprobe and allocate a list table for kprobe instance. >> However,in this function, there is a memory leak. >> >> The test case: >> >> static struct kretprobe rp; >