Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577347 > unrolled thread

Re: [PATCH 1/1] Ddrivers: hv: Turn off write permission on the hypercall page

Started byGreg KH <gregkh@linuxfoundation.org>
First post2017-02-09 08:10 +0100
Last post2017-02-09 16:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/1] Ddrivers: hv: Turn off write permission on the  hypercall page Greg KH <gregkh@linuxfoundation.org> - 2017-02-09 08:10 +0100
    RE: [PATCH 1/1] Ddrivers: hv: Turn off write permission on the  hypercall page KY Srinivasan <kys@microsoft.com> - 2017-02-09 16:50 +0100

#1577347 — Re: [PATCH 1/1] Ddrivers: hv: Turn off write permission on the hypercall page

FromGreg KH <gregkh@linuxfoundation.org>
Date2017-02-09 08:10 +0100
SubjectRe: [PATCH 1/1] Ddrivers: hv: Turn off write permission on the hypercall page
Message-ID<t8R1E-2Uq-17@gated-at.bofh.it>
On Wed, Feb 08, 2017 at 06:30:56PM -0700, kys@exchange.microsoft.com wrote:
> From: K. Y. Srinivasan <kys@microsoft.com>
> 
> The hypercall page only needs to be executable but currently it is setup to
> be writable as well. Fix the issue.
> 
> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
> Cc: <stable@vger.kernel.org>

What type of bug is this fixing that it is needed to be backported?
Does this affect any current users?  How far back should it go?

thanks,

greg k-h

[toc] | [next] | [standalone]


#1577718

FromKY Srinivasan <kys@microsoft.com>
Date2017-02-09 16:50 +0100
Message-ID<t8Z8R-7WR-13@gated-at.bofh.it>
In reply to#1577347

> -----Original Message-----
> From: Greg KH [mailto:gregkh@linuxfoundation.org]
> Sent: Wednesday, February 8, 2017 10:55 PM
> To: KY Srinivasan <kys@microsoft.com>
> Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org;
> olaf@aepfle.de; apw@canonical.com; vkuznets@redhat.com;
> jasowang@redhat.com; leann.ogasawara@canonical.com;
> keescook@google.com; stephen@networkplumber.org; sds@tycho.nsa.gov;
> stable@vger.kernel.org
> Subject: Re: [PATCH 1/1] Ddrivers: hv: Turn off write permission on the
> hypercall page
> 
> On Wed, Feb 08, 2017 at 06:30:56PM -0700, kys@exchange.microsoft.com
> wrote:
> > From: K. Y. Srinivasan <kys@microsoft.com>
> >
> > The hypercall page only needs to be executable but currently it is setup to
> > be writable as well. Fix the issue.
> >
> > Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
> > Cc: <stable@vger.kernel.org>
> 
> What type of bug is this fixing that it is needed to be backported?
> Does this affect any current users?  How far back should it go?

This issue has been there from day 1 and the mapping was setup after the
scan was done (for questionable mappings) and so we did not see it. Now, we
are setting up the hypercall page much earlier in the boot sequence and so
this issue was noticed. Once this is committed, I will send the patch for stable.
The main issue is that the page can be written and is executable and could be 
a vulnerability.

Thanks,

K. Y
> 
> thanks,
> 
> greg k-h

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web