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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=59643d1535eb220668692a5359de22545af579f6Exploit, Patch, Vendor Advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.1Release Notes
- http://www.securityfocus.com/bid/95278Third Party Advisory, VDB Entry
- https://github.com/torvalds/linux/commit/59643d1535eb220668692a5359de22545af579f6Patch, Vendor Advisory
- https://source.android.com/security/bulletin/2017-01-01.htmlThird Party Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=59643d1535eb220668692a5359de22545af579f6Exploit, Patch, Vendor Advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.1Release Notes
- http://www.securityfocus.com/bid/95278Third Party Advisory, VDB Entry
- https://github.com/torvalds/linux/commit/59643d1535eb220668692a5359de22545af579f6Patch, Vendor Advisory
- https://source.android.com/security/bulletin/2017-01-01.htmlThird Party Advisory
Timeline
- Published
- Jan 5, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified