Bug 2161999 (CVE-2022-44032)

Summary: CVE-2022-44032 Kernel: Race between cmm_open() and cm4000_detach() result in UAF
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, bhu, chwhite, crwood, ddepaula, debarbos, dfreiber, dhoward, dvlasenk, ezulian, fhrbata, hkrzesin, jarod, jburrell, jfaracco, jferlan, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, kernel-mgr, kyoshida, lgoncalv, lleshchi, lzampier, nmurray, ptalbert, qzhao, rogbas, rvrbovsk, scweaver, security-response-team, tyberry, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A possible race condition was found in drivers/char/pcmcia/cm4000_cs.c between the cmm_open() and the cm4000_detach() functions if the user physically removes the PCMCIA device in the Linux kernel. This flaw may eventually result in a use-after-free (UAF) flaw.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-21 13:52: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:
Bug Depends On: 2162005    
Bug Blocks: 2139046    

Description Rohit Keshri 2023-01-18 14:37:44 UTC
A race condition may occur in drivers/char/pcmcia/cm4000_cs.c between cmm_open() and cm4000_detach() if the user physically removes the pcmcia device in the Linux kernel, This flaw may eventually result in UAF.


Comment 1 Rohit Keshri 2023-01-18 14:48:58 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2162005]

Comment 4 Product Security DevOps Team 2023-01-21 13:52:14 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


Comment 8 Justin M. Forbes 2023-09-25 16:47:35 UTC
This was fixed with the 6.4 kernel series which removed these outdated drivers.