CVE-2016-9754

HIGH

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

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=59643d1535eb220668692a5359de22545af579f6

http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.1

http://www.securityfocus.com/bid/95278

https://github.com/torvalds/linux/commit/59643d1535eb220668692a5359de22545af579f6

https://source.android.com/security/bulletin/2017-01-01.html

Details

Source: MITRE

Published: 2017-01-05

Updated: 2017-01-07

Type: CWE-190

Risk Information

CVSS v2.0

Base Score: 7.2

Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.9

Severity: HIGH

CVSS v3.0

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1.8

Severity: HIGH