Bug 2086766 (CVE-2022-1734)

Summary: CVE-2022-1734 kernel: Use-After-Free in NFC driver in nfcmrvl_nci_unregister_dev when simulating NFC device from user-space
Product: [Other] Security Response Reporter: Alex <allarkin>
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, bdettelb, bhu, brdeoliv, bskeggs, chwhite, crwood, ddepaula, dhoward, dvlasenk, fhrbata, hdegoede, hkrzesin, hpa, jarod, jarodwilson, jburrell, 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, steve.beattie, steved, tcullum, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Linux kernel 5.18-rc6 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel’s nfcmrvl_nci_unregister_dev() function. A race condition leads to a use-after-free issue when simulating the NFC device from the user space.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-04 17:24:50 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: 2103596    
Bug Blocks: 2086526, 2086890    

Description Alex 2022-05-16 14:57:56 UTC
A flaw in Linux Kernel found in nfcmrvl_nci_unregister_dev() in drivers/nfc/nfcmrvl/main.c.
Can lead to use after free both read or write when non synchronized between cleanup routine and firmware download routine.


Comment 7 Alex 2022-07-04 08:17:58 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2103596]

Comment 8 Product Security DevOps Team 2022-07-04 17:24:46 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


Comment 9 Justin M. Forbes 2022-07-05 15:31:45 UTC
This was fixed for Fedora with the 5.17.7 stable kernel updates.