Vulnerabilities / CVE-2018-12714

critical

CVE-2018-12714

kernel: slab out-of-bounds write in trace/trace_events_filter.c

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.1CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (medium).

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 packages and fixed versions

SourcePackageFixed in
ubuntu 18.04linux-hwe-edge4.18.0-8.9~18.04.1
ubuntu 18.04-ESMlinux-azure-edge, linux-hwe-edge4.18.0-8.9~18.04.1
Show all 3 entries from 2 sources
SourcePackageFixed in
ubuntu 18.04linux-hwe-edge4.18.0-8.9~18.04.1
ubuntu 18.04-ESMlinux-azure-edgeno fix listed
ubuntu 18.04-ESMlinux-hwe-edge4.18.0-8.9~18.04.1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.