Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1335889 - (CVE-2016-4794) CVE-2016-4794 kernel: Use after free in array_map_alloc
CVE-2016-4794 kernel: Use after free in array_map_alloc
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160417,repor...
: Security
Depends On: 1335890 1344568 1344569 1344570 1344571 1344572 1344573 1344574 1344575
Blocks: 1336283
  Show dependency treegraph
 
Reported: 2016-05-13 09:27 EDT by Adam Mariš
Modified: 2018-08-28 18:05 EDT (History)
32 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Use after free vulnerability was found in percpu using previously allocated memory in bpf. First __alloc_percpu_gfp() is called, then the memory is freed with free_percpu() which triggers async pcpu_balance_work and then pcpu_extend_area_map could use a chunk after it has been freed.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2574 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2016-11-03 08:06:10 EDT
Red Hat Product Errata RHSA-2016:2584 normal SHIPPED_LIVE Important: kernel-rt security, bug fix, and enhancement update 2016-11-03 08:08:49 EDT

  None (edit)
Description Adam Mariš 2016-05-13 09:27:43 EDT
Use after free vulnerability was found in percpu using previously allocated memory in bpf. First __alloc_percpu_gfp() is called, then the memory is freed with free_percpu() which triggers async pcpu_balance_work and then pcpu_extend_area_map is hitting use-after-free.

CVE request (contains reproducer):
http://seclists.org/oss-sec/2016/q2/332

1: percpu: fix synchronization between chunk->map_extend_work and chunk destruction
( https://www.mail-archive.com/netdev@vger.kernel.org/msg111820.html )

2: percpu: fix synchronization between synchronous map extension and chunk destruction
( https://www.mail-archive.com/netdev@vger.kernel.org/msg111747.html )
Comment 1 Adam Mariš 2016-05-13 09:28:34 EDT
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1335890]
Comment 8 Wade Mealing 2016-06-10 01:33:02 EDT
Statement:

This issue does not affect the Linux kernels as shipped with Red Hat Enterprise Linux 4, 5 and 6.

This issue affects the Linux kernels as shipped with Red Hat Enterprise Linux 7 and MRG-2 and may be addressed in a future update.
Comment 12 errata-xmlrpc 2016-11-03 12:33:25 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:2574 https://rhn.redhat.com/errata/RHSA-2016-2574.html
Comment 13 errata-xmlrpc 2016-11-03 15:51:31 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:2584 https://rhn.redhat.com/errata/RHSA-2016-2584.html
Comment 14 errata-xmlrpc 2016-11-03 17:35:10 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:2574 https://rhn.redhat.com/errata/RHSA-2016-2574.html
Comment 15 errata-xmlrpc 2016-11-03 17:50:31 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:2584 https://rhn.redhat.com/errata/RHSA-2016-2584.html

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