CVE-2018-12714 Memory corruption in n/a

Critical 9.8 Published Updated

Attackers can trigger a slab out-of-bounds write in the Linux kernel trace filter parsing via crafted system calls, causing denial of service or potential code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-12714?

CVE-2018-12714 is a critical memory corruption vulnerability in Linux kernel, published on 24 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-787

Which versions are affected by CVE-2018-12714?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2018-12714?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-12714 being exploited?

There is no known exploitation of CVE-2018-12714 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as GHSA-xj9w-qxv5-jhjg, UBUNTU-CVE-2018-12714.

Is CVE-2018-12714 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free