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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2018-06-24T23:00:00

Updated: 2024-08-05T08:45:01.179Z

Reserved: 2018-06-24T00:00:00

Link: CVE-2018-12714

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2018-06-24T23:29:00.333

Modified: 2023-01-19T16:13:17.070

Link: CVE-2018-12714

cve-icon Redhat

Severity : Moderate

Publid Date: 2018-06-23T00:00:00Z

Links: CVE-2018-12714 - Bugzilla