Re: [dpdk-dev] [PATCH v4] bus/pci: fix VF bus error for memory access

2020-06-26 Thread Wang, Haiyue
> -Original Message- > From: David Marchand > Sent: Friday, June 26, 2020 17:17 > To: Wang, Haiyue > Cc: Kevin Traynor ; Luca Boccassi ; > dev ; Burakov, > Anatoly ; dpdk stable ; Harman > Kalra > Subject: Re: [PATCH v4] bus/pci: fix VF bus error for memory access > > On Thu, Jun 25,

Re: [dpdk-dev] [PATCH v4] bus/pci: fix VF bus error for memory access

2020-06-26 Thread David Marchand
On Thu, Jun 25, 2020 at 8:34 PM Wang, Haiyue wrote: > > > I can see that some distros have already started backporting the fix > > > in kernel (fc31, fc32 and rhel7 at least for what I saw). > > > 18.11 and 19.11 will need this fix at some point. > > > I'll let you decide on the proper timing. > >

Re: [dpdk-dev] [PATCH v4] bus/pci: fix VF bus error for memory access

2020-06-26 Thread Kevin Traynor
On 25/06/2020 19:33, Wang, Haiyue wrote: >> -Original Message- >> From: Kevin Traynor >> Sent: Friday, June 26, 2020 00:46 >> To: David Marchand ; Wang, Haiyue >> ; Luca Boccassi >> >> Cc: dev ; Burakov, Anatoly ; dpdk >> stable ; >> Harman Kalra >> Subject: Re: [PATCH v4] bus/pci: fix

Re: [dpdk-dev] [PATCH v4] bus/pci: fix VF bus error for memory access

2020-06-25 Thread Wang, Haiyue
> -Original Message- > From: Kevin Traynor > Sent: Friday, June 26, 2020 00:46 > To: David Marchand ; Wang, Haiyue > ; Luca Boccassi > > Cc: dev ; Burakov, Anatoly ; dpdk > stable ; > Harman Kalra > Subject: Re: [PATCH v4] bus/pci: fix VF bus error for memory access > > On 25/06/2020

Re: [dpdk-dev] [PATCH v4] bus/pci: fix VF bus error for memory access

2020-06-25 Thread Kevin Traynor
On 25/06/2020 15:09, David Marchand wrote: > On Thu, Jun 25, 2020 at 6:00 AM Haiyue Wang wrote: >> >> To fix CVE-2020-12888, the linux vfio-pci module will invalidate mmaps >> and block MMIO access on disabled memory, it will send a SIGBUS to the >> application: >> https://git.kernel.org/pub/scm/l

Re: [dpdk-dev] [PATCH v4] bus/pci: fix VF bus error for memory access

2020-06-25 Thread David Marchand
On Thu, Jun 25, 2020 at 3:59 PM Thierry MARTIN wrote: > > Tested-by: Thierry MARTIN > Thanks for testing. The only issue is that this mail is missing a in-reply-to reference, but I added your tag when applying the fix. -- David Marchand

Re: [dpdk-dev] [PATCH v4] bus/pci: fix VF bus error for memory access

2020-06-25 Thread David Marchand
On Thu, Jun 25, 2020 at 6:00 AM Haiyue Wang wrote: > > To fix CVE-2020-12888, the linux vfio-pci module will invalidate mmaps > and block MMIO access on disabled memory, it will send a SIGBUS to the > application: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=abaf

Re: [dpdk-dev] [PATCH v4] bus/pci: fix VF bus error for memory access

2020-06-25 Thread Thierry MARTIN
Tested-by: Thierry MARTIN

[dpdk-dev] [PATCH v4] bus/pci: fix VF bus error for memory access

2020-06-24 Thread Haiyue Wang
To fix CVE-2020-12888, the linux vfio-pci module will invalidate mmaps and block MMIO access on disabled memory, it will send a SIGBUS to the application: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=abafbc551fddede3e0a08dee1dcde08fc0eb8476 When the application ope