Bug 1655386 (CVE-2018-5856)

Summary: CVE-2018-5856 kernel: Use-after-free in sound/soc/qcom/qdsp6/q6asm.c allows for kernel panic
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abhgupta, acaringi, airlied, bhu, blc, brdeoliv, bskeggs, dbaker, dhoward, dvlasenk, esammons, ewk, fhrbata, hdegoede, hkrzesin, hwkernel-mgr, iboverma, ichavero, itamar, jarodwilson, jforbes, jglisse, jkacur, john.j5live, jokerman, jonathan, josef, jross, jstancek, jwboyer, kernel-maint, kernel-mgr, labbott, lgoncalv, linville, matt, mchehab, mcressma, mjg59, mlangsdo, nmurray, plougher, rt-maint, rvrbovsk, steved, sthangav, trankin, vdronov, 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:
The Linux kernel is vulnerable to a use-after-free in sound/soc/qcom/qdsp6/q6asm.c due to a race condition. An attacker could exploit this to cause a kernel panic or other potential unspecified impact.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-08 10:05:18 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: 1655387    
Bug Blocks: 1655388    

Description Sam Fowler 2018-12-03 04:39:34 UTC
The Linux kernel is vulnerable to a use-after-free in sound/soc/qcom/qdsp6/q6asm.c due to a race condition. An attacker could exploit this to cause a kernel panic or other potential unspecified impact.

CAF Patch:

https://source.codeaurora.org/quic/la/kernel/msm-3.18/commit/?id=3b666735fcc49f5cd3a63440fdc0667ae9316f17

https://source.codeaurora.org/quic/la/platform/vendor/opensource/audio-kernel/commit/?id=7ab92dd2952d59f3c15c856effe94bba1858e3ff

Reference:

https://www.codeaurora.org/security-bulletin/2018/11/05/november-2018-code-aurora-forum-security-bulletin#_CVE-2018-5856

Comment 1 Sam Fowler 2018-12-03 04:40:34 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1655387]

Comment 2 Justin M. Forbes 2018-12-04 15:51:55 UTC
This code was never in upstream. The fix happened before the driver was ever mainlined.