Bug 1410370 (CVE-2016-9754) - CVE-2016-9754 kernel: Integer overflow in ring_buffer_resize()
Summary: CVE-2016-9754 kernel: Integer overflow in ring_buffer_resize()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2016-9754
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:
Blocks: 1410372
TreeView+ depends on / blocked
 
Reported: 2017-01-05 10:45 UTC by Adam Mariš
Modified: 2021-10-27 10:51 UTC (History)
27 users (show)

Fixed In Version: kernel 4.6.1
Doc Type: If docs needed, set a value
Doc Text:
An integer overflow vulnerability was found in the ring_buffer_resize() calculations in which a privileged user can adjust the size of the ringbuffer message size. These calculations can create an issue where the kernel memory allocator will not allocate the correct count of pages yet expect them to be usable. This can lead to the ftrace() output to appear to corrupt kernel memory and possibly be used for privileged escalation or more likely kernel panic.
Clone Of:
Environment:
Last Closed: 2021-10-27 10:51:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2017-01-05 10:45:45 UTC
An integer overflow vulnerability in ring_buffer_resize() calculations in which a privileged user can adjust the size of the ringbuffer message size.   These calculations can create an issue where the kernel memory allocator will not allocate the correct count of pages yet expect them to be usable.  This can lead to the ftrace() output to appear to corrupt kernel memory and possibly be used for privileged escalation or more likely kernel panic.

Upstream patch:

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=59643d1535eb220668692a5359de22545af579f6

Reference:

https://source.android.com/security/bulletin/2017-01-01.html#eop-in-kernel-profiling-subsystem

Comment 2 Wade Mealing 2017-01-19 05:17:05 UTC
Statement:

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


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