Re: [PATCH] [Rebased for 5.4] powerpc/kasan: Fix early region not updated correctly

2022-04-04 Thread Greg KH
On Sun, Apr 03, 2022 at 03:49:43PM +0200, Christophe Leroy wrote: > From: Chen Jingwen > > This is backport for 5.4 > > Upstream commit dd75080aa8409ce10d50fb58981c6b59bf8707d3 Now queued up, thanks. greg k-h

[PATCH] [Rebased for 5.4] powerpc/kasan: Fix early region not updated correctly

2022-04-03 Thread Christophe Leroy
From: Chen Jingwen This is backport for 5.4 Upstream commit dd75080aa8409ce10d50fb58981c6b59bf8707d3 The shadow's page table is not updated when PTE_RPN_SHIFT is 24 and PAGE_SHIFT is 12. It not only causes false positives but also false negative as shown the following text. Fix it by bringing

Re: [PATCH] [Rebased for 5.4] powerpc/kasan: Fix early region not updated correctly

2022-04-03 Thread Greg KH
On Sun, Apr 03, 2022 at 11:54:55AM +, Christophe Leroy wrote: > > > Le 03/04/2022 à 12:25, Greg KH a écrit : > > On Sat, Apr 02, 2022 at 06:13:31PM +0200, Christophe Leroy wrote: > >> From: Chen Jingwen > >> > >> This is backport for 5.4 > >> > >> Upstream commit 5647a94a26e352beed61788b46e0

Re: [PATCH] [Rebased for 5.4] powerpc/kasan: Fix early region not updated correctly

2022-04-03 Thread Christophe Leroy
Le 03/04/2022 à 12:25, Greg KH a écrit : > On Sat, Apr 02, 2022 at 06:13:31PM +0200, Christophe Leroy wrote: >> From: Chen Jingwen >> >> This is backport for 5.4 >> >> Upstream commit 5647a94a26e352beed61788b46e035d9d12664cd > > This is not a commit in Linus's tree :( > Oops. Don't know what

Re: [PATCH] [Rebased for 5.4] powerpc/kasan: Fix early region not updated correctly

2022-04-03 Thread Greg KH
On Sat, Apr 02, 2022 at 06:13:31PM +0200, Christophe Leroy wrote: > From: Chen Jingwen > > This is backport for 5.4 > > Upstream commit 5647a94a26e352beed61788b46e035d9d12664cd This is not a commit in Linus's tree :(

[PATCH] [Rebased for 5.4] powerpc/kasan: Fix early region not updated correctly

2022-04-02 Thread Christophe Leroy
From: Chen Jingwen This is backport for 5.4 Upstream commit 5647a94a26e352beed61788b46e035d9d12664cd The shadow's page table is not updated when PTE_RPN_SHIFT is 24 and PAGE_SHIFT is 12. It not only causes false positives but also false negative as shown the following text. Fix it by bringing