{"id":"CVE-2018-12714","published":"2018-06-24T23:00:00Z","modified":"2024-08-05T08:45:01Z","title":"An issue was discovered in the Linux kernel through 4.17.2","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04893,"percentile":0.9229,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/lcytxw/bug_repro/tree/master/bug_200019","tags":["x_refsource_MISC"]},{"url":"https://github.com/torvalds/linux/commit/81f9c4e4177d31ced6f52a89bb70e93bfb77ca03","tags":["x_refsource_MISC"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=81f9c4e4177d31ced6f52a89bb70e93bfb77ca03","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.kernel.org/show_bug.cgi?id=200019","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/104544","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":18.46}]},"summary":{"text":"The Linux kernel through 4.17.2 contains a flaw in the filter parsing code in kernel/trace/trace_events_filter.c, where the parser can be invoked with no filter, causing an invalid N-1 index when N is zero. An attacker able to run crafted perf_event_open and mmap system calls can trigger a slab out-of-bounds write, resulting in denial of service or possibly other unspecified impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:09:24Z"},"euvd":{"id":"EUVD-2018-4667","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-linux-kernel-cve-2009-4307","children":[{"from":"CVE-2018-12714","to":"CVE-2019-11487","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/trace/trace.c"],"commits":["https://github.com/torvalds/linux/commit/81f9c4e4177d31ced6f52a89bb70e93bfb77ca03","https://github.com/torvalds/linux/commit/6b3a707736301c2128ca85ce85fb13f60b5e350a","https://github.com/torvalds/linux/commit/15fab63e1e57be9fdb5eec1bbc5916e9825e9acb"],"basis":"rarely changed file"}]},{"from":"CVE-2018-12714","to":"CVE-2019-19072","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/trace/trace_events_filter.c"],"commits":["https://github.com/torvalds/linux/commit/81f9c4e4177d31ced6f52a89bb70e93bfb77ca03","https://github.com/torvalds/linux/commit/96c5c6e6a5b6db592acae039fed54b5c8844cd35"],"basis":"shared function","functions":["predicate_parse"]}]}]}}