Bug 1696020 (CVE-2019-2025)

Summary: CVE-2019-2025 kernel: Use-after-free due to race condition in android/binder.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, airlied, bhu, blc, brdeoliv, bskeggs, dhoward, dvlasenk, esammons, fhrbata, hdegoede, hkrzesin, iboverma, ichavero, itamar, jarodwilson, jeremy, jforbes, jglisse, jkacur, john.j5live, jonathan, josef, jross, jstancek, jwboyer, kernel-maint, kernel-mgr, labbott, lgoncalv, linville, matt, mchehab, mcressma, mjg59, mlangsdo, nmurray, plougher, rt-maint, rvrbovsk, steved, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-16 12:14:07 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: 1696021    
Bug Blocks: 1696022    

Description Pedro Sampaio 2019-04-04 03:13:39 UTC
A race condition in the Linux kernel may lead to malicious code being able to free buffers using the BC_FREE_BUFFER ioctl to binder and trigger use-after-free in android/binder.c causing denial of service.

Upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7bada55ab50697861eee6bb7d60b41e68a961a9c

Comment 1 Pedro Sampaio 2019-04-04 03:14:03 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1696021]

Comment 2 Justin M. Forbes 2019-04-04 13:12:10 UTC
While Fedora does not enable the android drivers, this was fixed upstream in 4.20 kernels.