Bug 814278 (CVE-2012-2119) - CVE-2012-2119 kernel: macvtap: zerocopy: vector length is not validated before pinning user pages
Summary: CVE-2012-2119 kernel: macvtap: zerocopy: vector length is not validated befor...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-2119
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: 814286 814288 814289
Blocks: 814283
TreeView+ depends on / blocked
 
Reported: 2012-04-19 14:18 UTC by Petr Matousek
Modified: 2019-09-29 12:52 UTC (History)
23 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-24 12:27:43 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0743 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2012-06-18 17:32:36 UTC

Description Petr Matousek 2012-04-19 14:18:10 UTC
Currently we do not validate the vector length before calling get_user_pages_fast(), host stack could be easily overflowed by malicious guest driver who gives us a descriptors with length greater than MAX_SKB_FRAGS.

A privileged guest user could use this flaw to induce stack overflow on the host with attacker non-controlled data (some bits can be guessed, as it will be pointers to kernel memory) but with attacker controlled length.

References:
http://marc.info/?l=linux-netdev&m=133455718001608&w=2

Comment 2 Petr Matousek 2012-04-19 14:24:17 UTC
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 814289]

Comment 3 Kurt Seifried 2012-04-19 15:09:57 UTC
Added CVE as per http://www.openwall.com/lists/oss-security/2012/04/19/14

Comment 4 Fedora Update System 2012-04-24 04:29:48 UTC
kernel-3.3.2-8.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2012-04-24 14:54:43 UTC
kernel-3.3.2-6.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2012-04-26 03:29:36 UTC
kernel-2.6.43.2-6.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 errata-xmlrpc 2012-06-18 13:34:20 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:0743 https://rhn.redhat.com/errata/RHSA-2012-0743.html


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