Bug 2086766 (CVE-2022-1734) - CVE-2022-1734 kernel: Use-After-Free in NFC driver in nfcmrvl_nci_unregister_dev when simulating NFC device from user-space
Summary: CVE-2022-1734 kernel: Use-After-Free in NFC driver in nfcmrvl_nci_unregister_...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-1734
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2103596
Blocks: 2086526 2086890
TreeView+ depends on / blocked
 
Reported: 2022-05-16 14:57 UTC by Alex
Modified: 2022-07-05 20:44 UTC (History)
51 users (show)

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.
Clone Of:
Environment:
Last Closed: 2022-07-04 17:24:50 UTC


Attachments (Terms of Use)

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.

Reference:
https://github.com/torvalds/linux/commit/d270453a0d9ec10bb8a802a142fb1b3601a83098

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):

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

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.


Note You need to log in before you can comment on or make changes to this bug.