Bug 2077560 (CVE-2022-1419)

Summary: CVE-2022-1419 kernel: a concurrency use-after-free in vgem_gem_dumb_create
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bhu, brdeoliv, bskeggs, chwhite, crwood, ddepaula, dhoward, dvlasenk, fhrbata, fpacheco, hdegoede, hkrzesin, hpa, jarod, jarodwilson, jfaracco, jferlan, jforbes, jglisse, jlelli, joe.lawrence, jonathan, josef, jshortt, jstancek, jwboyer, jwyatt, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, lzampier, masami256, mchehab, nmurray, ptalbert, qzhao, rvrbovsk, scweaver, security-response-team, steved, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.6 rc2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-29 20:31:33 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: 2090708    
Bug Blocks: 2077551, 2090709    

Description Marian Rehak 2022-04-21 15:05:24 UTC
The root cause of this vulnerability is that the ioctl$DRM_IOCTL_MODE_DESTROY_DUMB can decrease refcount of *drm_vgem_gem_object *(created in *vgem_gem_dumb_create*) concurrently, and  *vgem_gem_dumb_create *will access the freed drm_vgem_gem_object.

Comment 1 Marian Rehak 2022-05-26 12:13:39 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2090708]

Comment 5 Rohit Keshri 2022-05-29 16:44:46 UTC
There was no shipped kernel version that was seen affected by this problem. These files are not built in our source code.

Comment 6 Product Security DevOps Team 2022-05-29 20:31:29 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-1419

Comment 7 Justin M. Forbes 2022-05-30 16:12:04 UTC
This was fixed for Fedora with the 5.5.5 stable kernel updates.