Bug 2162104 (CVE-2022-44034)

Summary: CVE-2022-44034 Kernel: A use-after-free due to race between scr24x_open() and scr24x_remove()
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG 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, lgoncalv, lleshchi, lzampier, nmurray, ptalbert, qzhao, rogbas, rvrbovsk, scweaver, tyberry, vkumar, walters, 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: 2023-01-21 18:22:13 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: 2162110    
Bug Blocks: 2139046    

Description Rohit Keshri 2023-01-18 19:19:48 UTC
A race condition may occur if the user physically removes the pcmcia device while calling open() for this char device node. This is a race condition between the scr24x_open() function and the scr24x_remove() function, which may eventually result in UAF.

Reference:
https://lore.kernel.org/lkml/20220919101825.GA313940@ubuntu/

Comment 1 Rohit Keshri 2023-01-18 19:27:15 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2162110]

Comment 2 Rohit Keshri 2023-01-18 19:28:05 UTC
There was no shipped kernel version were seen affected with this problem. These files are not built in our source code.

Comment 5 Product Security DevOps Team 2023-01-21 18:22:09 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-44034

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