Bug 1718179 (CVE-2019-12615)

Summary: CVE-2019-12615 kernel: null pointer dereference in get_vdev_port_node_info in arch /sparc/kernel/mdesc.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
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, pmatouse, rt-maint, rvrbovsk, steved, williams
Target Milestone: ---Keywords: Reopened, 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-24 15:49:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1718185    
Bug Blocks: 1718183    

Description Dhananjay Arunesh 2019-06-07 08:14:38 UTC
An issue was discovered in get_vdev_port_node_info in arch/sparc/kernel/mdesc.c
in the Linux kernel through 5.1.6. There is an unchecked kstrdup_const of
node_info->vdev_port.name, which might allow an attacker to cause a denial of
service (NULL pointer dereference and system crash).

Reference:
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2014901.html

Upstream commit:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git/commit/?id=80caf43549e7e41a695c6d1e11066286538b336f

Comment 1 Dhananjay Arunesh 2019-06-07 08:18:41 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1718185]