Privilege escalation in Linux kernel - CVE-2018-12714

 

Privilege escalation in Linux kernel - CVE-2018-12714

Published: June 26, 2018 / Updated: June 28, 2018


Vulnerability identifier: #VU13505
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-12714
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists due to the filter-parsing component, as defined in the kernel/trace/trace_events_filter.c source code file of the affected software, could be called without a filter, which would result in an N=0 case. A local attacker can make perf_event_open and mmap system calls that submit malicious input, trigger a slab out-of-bounds write condition in the predicate_parse function and cause the system to crash or execute arbitrary code with elevated privileges.

Successful exploitation of the vulnerability may result in complete system compromise.


Affected software

Linux kernel
Fedora
kernel
kernel-tools

How to mitigate CVE-2018-12714

Install update from vendor's website.

kernel - addressed in versions 4.17.4-100.fc27, 4.17.4-200.fc28
kernel-tools - addressed in versions 4.17.4-100.fc27, 4.17.4-200.fc28

External References

Related Security Bulletins