Description
The ring_buffer_resize function in kernel/trace/ring_buffer.c in the profiling subsystem in the Linux kernel before 4.6.1 mishandles certain integer calculations, which allows local users to gain privileges by writing to the /sys/kernel/debug/tracing/buffer_size_kb file.
References (5)
Core 5
Core References
Third Party Advisory x_refsource_confirm
https://source.android.com/security/bulletin/2017-01-01.html
Release Notes x_refsource_confirm
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.1
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/95278
Patch, Vendor Advisory x_refsource_confirm
https://github.com/torvalds/linux/commit/59643d1535eb220668692a5359de22545af579f6
Exploit, Patch, Vendor Advisory x_refsource_confirm
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=59643d1535eb220668692a5359de22545af579f6
Scores
CVSS v3
7.8
EPSS
0.0004
EPSS Percentile
12.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-190
Status
published
Products (2)
linux/linux_kernel
4.6
linux/linux_kernel
3.5 - 3.10.102
Published
Jan 05, 2017
Tracked Since
Feb 18, 2026