CVEvulnerability
CVE-2018-12714
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2018-06-24
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-787
Description
An issue was discovered in the Linux kernel through 4.17.2. The filter parsing in kernel/trace/trace_events_filter.c could be called with no filter, which is an N=0 case when it expected at least one line to have been read, thus making the N-1 index invalid. This allows attackers to cause a denial of service (slab out-of-bounds write) or possibly have unspecified other impact via crafted perf_event_open and mmap system calls.
Affected configurations
• linux linux kernel (>= 4.17 < 4.17.4)
Related
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=81f9c4e4177d31ced6f52a89bb70e93bfb77ca03 Vendor Advisory
- http://www.securityfocus.com/bid/104544 Third Party Advisory, VDB Entry
- https://bugzilla.kernel.org/show_bug.cgi?id=200019 Issue Tracking, Vendor Advisory
- https://github.com/lcytxw/bug_repro/tree/master/bug_200019 Exploit, Third Party Advisory
- https://github.com/torvalds/linux/commit/81f9c4e4177d31ced6f52a89bb70e93bfb77ca03 Patch, Third Party Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=81f9c4e4177d31ced6f52a89bb70e93bfb77ca03 Vendor Advisory
- http://www.securityfocus.com/bid/104544 Third Party Advisory, VDB Entry
- https://bugzilla.kernel.org/show_bug.cgi?id=200019 Issue Tracking, Vendor Advisory
- https://github.com/lcytxw/bug_repro/tree/master/bug_200019 Exploit, Third Party Advisory
- https://github.com/torvalds/linux/commit/81f9c4e4177d31ced6f52a89bb70e93bfb77ca03 Patch, Third Party Advisory