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


Groups > linux.kernel > #1207623 > unrolled thread

Re: CVE-2015-1805 and 3.14-longterm?

Started byGreg KH <greg@kroah.com>
First post2015-08-14 19:00 +0200
Last post2015-08-14 22:10 +0200
Articles 3 — 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: CVE-2015-1805 and 3.14-longterm? Greg KH <greg@kroah.com> - 2015-08-14 19:00 +0200
    Re: CVE-2015-1805 and 3.14-longterm? Sven Joachim <svenjoac@gmx.de> - 2015-08-14 21:20 +0200
      Re: CVE-2015-1805 and 3.14-longterm? Greg KH <greg@kroah.com> - 2015-08-14 22:10 +0200

#1207623 — Re: CVE-2015-1805 and 3.14-longterm?

FromGreg KH <greg@kroah.com>
Date2015-08-14 19:00 +0200
SubjectRe: CVE-2015-1805 and 3.14-longterm?
Message-ID<pXquK-7Tq-11@gated-at.bofh.it>
On Thu, Jul 02, 2015 at 10:19:34AM +0200, Dick Snippe wrote:
> Hello,
> 
> I'm sorry to bother you with this, but lwn.net reported a rather serious
> security issue a couple of weeks ago:
> 
> http://lwn.net/Articles/646590/
> https://bugzilla.redhat.com/show_bug.cgi?id=1202855
> CVE-2015-1805
> "It was found that the Linux kernel's implementation of vectored pipe
> read and write functionality did not take into account the I/O vectors
> that were already processed when retrying after a failed atomic access
> operation, potentially resulting in memory corruption due to an I/O
> vector array overrun. A local, unprivileged user could use this flaw to
> crash the system or, potentially, escalate their privileges on the
> system."
> 
> It appears that these upstream fixes haven't made it to 3.14.4[456]:
> 
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f0d1bec9d58d4c038d0ac958c9af82be6eb18045
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=637b58c2887e5e57850865839cc75f59184b23d1
> 
> I'm just a (very happy!) user of the -longterm kernels, so I don't
> know how this normally works. But it would appear that this bug still
> exists in the -longterm kernels.

I think, and I might be wrong here, but because
637b58c2887e5e57850865839cc75f59184b23d1 (switch pipe_read() to
copy_page_to_iter()) is not in the 3.14-stable tree (it showed up in
3.15), that f0d1bec9d58d4c038d0ac958c9af82be6eb18045 (new helper:
copy_page_from_iter()) isn't needed (it showed up in 3.16).

So is this a problem in the 3.14-stable tree?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1207869

FromSven Joachim <svenjoac@gmx.de>
Date2015-08-14 21:20 +0200
Message-ID<pXsGe-2Nt-9@gated-at.bofh.it>
In reply to#1207623
On 2015-08-14 18:55 +0200, Greg KH wrote:

> On Thu, Jul 02, 2015 at 10:19:34AM +0200, Dick Snippe wrote:
>> Hello,
>> 
>> I'm sorry to bother you with this, but lwn.net reported a rather serious
>> security issue a couple of weeks ago:
>> 
>> http://lwn.net/Articles/646590/
>> https://bugzilla.redhat.com/show_bug.cgi?id=1202855
>> CVE-2015-1805
>> "It was found that the Linux kernel's implementation of vectored pipe
>> read and write functionality did not take into account the I/O vectors
>> that were already processed when retrying after a failed atomic access
>> operation, potentially resulting in memory corruption due to an I/O
>> vector array overrun. A local, unprivileged user could use this flaw to
>> crash the system or, potentially, escalate their privileges on the
>> system."
>> 
>> It appears that these upstream fixes haven't made it to 3.14.4[456]:
>> 
>> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f0d1bec9d58d4c038d0ac958c9af82be6eb18045
>> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=637b58c2887e5e57850865839cc75f59184b23d1
>> 
>> I'm just a (very happy!) user of the -longterm kernels, so I don't
>> know how this normally works. But it would appear that this bug still
>> exists in the -longterm kernels.
>
> I think, and I might be wrong here, but because
> 637b58c2887e5e57850865839cc75f59184b23d1 (switch pipe_read() to
> copy_page_to_iter()) is not in the 3.14-stable tree (it showed up in
> 3.15), that f0d1bec9d58d4c038d0ac958c9af82be6eb18045 (new helper:
> copy_page_from_iter()) isn't needed (it showed up in 3.16).
>
> So is this a problem in the 3.14-stable tree?

It seems to have been fixed by 6b17faf3d5fa6a727c40613bdf24d73b2a59df27
(pipe: iovec: Fix memory corruption when retrying atomic copy as
non-atomic) in 3.14.46.  That fix is also in 3.10.82.

Cheers,
       Sven
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1207885

FromGreg KH <greg@kroah.com>
Date2015-08-14 22:10 +0200
Message-ID<pXtsC-3Xy-3@gated-at.bofh.it>
In reply to#1207869
On Fri, Aug 14, 2015 at 09:17:49PM +0200, Sven Joachim wrote:
> On 2015-08-14 18:55 +0200, Greg KH wrote:
> 
> > On Thu, Jul 02, 2015 at 10:19:34AM +0200, Dick Snippe wrote:
> >> Hello,
> >> 
> >> I'm sorry to bother you with this, but lwn.net reported a rather serious
> >> security issue a couple of weeks ago:
> >> 
> >> http://lwn.net/Articles/646590/
> >> https://bugzilla.redhat.com/show_bug.cgi?id=1202855
> >> CVE-2015-1805
> >> "It was found that the Linux kernel's implementation of vectored pipe
> >> read and write functionality did not take into account the I/O vectors
> >> that were already processed when retrying after a failed atomic access
> >> operation, potentially resulting in memory corruption due to an I/O
> >> vector array overrun. A local, unprivileged user could use this flaw to
> >> crash the system or, potentially, escalate their privileges on the
> >> system."
> >> 
> >> It appears that these upstream fixes haven't made it to 3.14.4[456]:
> >> 
> >> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f0d1bec9d58d4c038d0ac958c9af82be6eb18045
> >> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=637b58c2887e5e57850865839cc75f59184b23d1
> >> 
> >> I'm just a (very happy!) user of the -longterm kernels, so I don't
> >> know how this normally works. But it would appear that this bug still
> >> exists in the -longterm kernels.
> >
> > I think, and I might be wrong here, but because
> > 637b58c2887e5e57850865839cc75f59184b23d1 (switch pipe_read() to
> > copy_page_to_iter()) is not in the 3.14-stable tree (it showed up in
> > 3.15), that f0d1bec9d58d4c038d0ac958c9af82be6eb18045 (new helper:
> > copy_page_from_iter()) isn't needed (it showed up in 3.16).
> >
> > So is this a problem in the 3.14-stable tree?
> 
> It seems to have been fixed by 6b17faf3d5fa6a727c40613bdf24d73b2a59df27
> (pipe: iovec: Fix memory corruption when retrying atomic copy as
> non-atomic) in 3.14.46.  That fix is also in 3.10.82.

Hey, even better, we fixed it and forgot all about it :)

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web