Bug 1202855 (CVE-2015-1805) - CVE-2015-1805 kernel: pipe: iovec overrun leading to memory corruption
Summary: CVE-2015-1805 kernel: pipe: iovec overrun leading to memory corruption
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2015-1805
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1185166 1198843 1202860 1202861 1202862 1202863 1202864 1202865 1203782 1203783 1203784 1203787 1203788 1203789
Blocks: 1202879
TreeView+ depends on / blocked
 
Reported: 2015-03-17 15:01 UTC by Petr Matousek
Modified: 2023-05-12 08:05 UTC (History)
25 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2015-06-23 12:19:03 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1382833 0 None None None Never
Red Hat Product Errata RHSA-2015:1042 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2015-06-02 19:53:45 UTC
Red Hat Product Errata RHSA-2015:1081 0 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2015-06-09 20:35:00 UTC
Red Hat Product Errata RHSA-2015:1082 0 normal SHIPPED_LIVE Important: kernel security update 2015-06-09 18:24:30 UTC
Red Hat Product Errata RHSA-2015:1120 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2015-06-16 18:59:26 UTC
Red Hat Product Errata RHSA-2015:1137 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2015-06-23 12:46:59 UTC
Red Hat Product Errata RHSA-2015:1138 0 normal SHIPPED_LIVE Important: kernel-rt security, bug fix, and enhancement update 2015-06-23 12:28:04 UTC
Red Hat Product Errata RHSA-2015:1139 0 normal SHIPPED_LIVE Important: kernel-rt security, bug fix, and enhancement update 2015-06-23 12:24:45 UTC
Red Hat Product Errata RHSA-2015:1190 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2015-06-25 17:46:25 UTC
Red Hat Product Errata RHSA-2015:1199 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2015-06-30 17:58:37 UTC
Red Hat Product Errata RHSA-2015:1211 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2015-07-07 16:59:32 UTC

Description Petr Matousek 2015-03-17 15:01:29 UTC
A flaw was found in the way pipe_iov_copy_from_user() and
pipe_iov_copy_to_user() functions handled iovecs remaining len accounting on
failed atomic access.

An unprivileged local user could this flaw to crash the system or, potentially,
escalate their privileges on the system.

Upstream fixes:

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

Acknowledgements:

The security impact of this issue was discovered by Red Hat.

Comment 5 Petr Matousek 2015-03-19 16:22:47 UTC
Statement:

This issue does affect the Linux kernel packages as shipped with Red Hat
Enterprise Linux 5, 6, and 7, and Red Hat Enterprise MRG 2. Future Linux
kernel updates for the respective releases will address this issue.

Comment 7 errata-xmlrpc 2015-06-02 15:54:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 5

Via RHSA-2015:1042 https://rhn.redhat.com/errata/RHSA-2015-1042.html

Comment 8 errata-xmlrpc 2015-06-09 14:24:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6.2 AUS

Via RHSA-2015:1082 https://rhn.redhat.com/errata/RHSA-2015-1082.html

Comment 9 errata-xmlrpc 2015-06-09 14:49:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2015:1081 https://rhn.redhat.com/errata/RHSA-2015-1081.html

Comment 10 errata-xmlrpc 2015-06-16 14:59:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 5.9 AUS - Server Only

Via RHSA-2015:1120 https://rhn.redhat.com/errata/RHSA-2015-1120.html

Comment 11 errata-xmlrpc 2015-06-23 08:25:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:1139 https://rhn.redhat.com/errata/RHSA-2015-1139.html

Comment 12 errata-xmlrpc 2015-06-23 08:29:13 UTC
This issue has been addressed in the following products:

  MRG for RHEL-6 v.2

Via RHSA-2015:1138 https://rhn.redhat.com/errata/RHSA-2015-1138.html

Comment 13 errata-xmlrpc 2015-06-23 08:48:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:1137 https://rhn.redhat.com/errata/RHSA-2015-1137.html

Comment 15 errata-xmlrpc 2015-06-25 13:46:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 5.6 Long Life

Via RHSA-2015:1190 https://rhn.redhat.com/errata/RHSA-2015-1190.html

Comment 16 errata-xmlrpc 2015-06-30 13:58:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6.5 EUS - Server and Compute Node Only

Via RHSA-2015:1199 https://rhn.redhat.com/errata/RHSA-2015-1199.html

Comment 17 errata-xmlrpc 2015-07-07 13:00:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6.4 AUS - Server Only

Via RHSA-2015:1211 https://rhn.redhat.com/errata/RHSA-2015-1211.html


Note You need to log in before you can comment on or make changes to this bug.