Bug 1716996 (CVE-2019-12454)

Summary: CVE-2019-12454 kernel: unspecified impact in function wcd9335_codec_enable_dec in sound/soc/codecs/wcd9335.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, airlied, apmukher, 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: 2020-02-20 16:22:39 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: 1717003    
Bug Blocks: 1717002    

Description Dhananjay Arunesh 2019-06-04 14:01:54 UTC
An issue was discovered in wcd9335_codec_enable_dec in
sound/soc/codecs/wcd9335.c in the Linux kernel through 5.1.5. It uses kstrndup
instead of kmemdup_nul, which allows attackers to have an unspecified impact via
unknown vectors.

Reference:
https://lkml.org/lkml/2019/5/29/705

Upstream commit:
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?h=for-5.3&id=a54988113985ca22e414e132054f234fc8a92604

Comment 1 Dhananjay Arunesh 2019-06-04 14:10:02 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1717003]