Bug 1595835 (CVE-2018-12714)

Summary: CVE-2018-12714 kernel: slab out-of-bounds write in trace/trace_events_filter.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: airlied, aquini, bhu, blc, bskeggs, dhoward, esammons, ewk, fhrbata, hdegoede, hkrzesin, hwkernel-mgr, iboverma, ichavero, itamar, jarodwilson, jforbes, jglisse, jkacur, john.j5live, jonathan, josef, jross, jwboyer, kernel-maint, kernel-mgr, labbott, lgoncalv, linville, lwang, matt, mchehab, mcressma, mguzik, mjg59, mlangsdo, nmurray, plougher, rt-maint, rvrbovsk, skozina, steved, vdronov, williams, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 4.18-rc2 Doc Type: If docs needed, set a value
Doc Text:
An issue was discovered in the Linux kernel in the filter parsing code in kernel/trace/trace_events_filter.c. The code could be called with no filter when it expected at least one, which allows attackers to cause a slab out-of-bounds write and so a denial of service via crafted perf_event_open and mmap system calls.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-09 16:06:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1595836, 1595837    
Bug Blocks: 1595838    

Description Laura Pardo 2018-06-27 15:05:55 UTC
An issue was discovered in the Linux kernel in the filter parsing code in kernel/trace/trace_events_filter.c. The code could be called with no filter, when it expected at least one. This allows attackers to cause a slab out-of-bounds write and so a denial of service via crafted perf_event_open and mmap system calls.

References:

https://bugzilla.kernel.org/show_bug.cgi?id=200019 	

https://marc.info/?l=linux-kernel&m=152973006431221&w=2

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=70303420b5721c38998cf987e6b7d30cc62d4ff1

Comment 1 Laura Pardo 2018-06-27 15:07:02 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1595837]