Bug 2363366 (CVE-2022-49922) - CVE-2022-49922 kernel: nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()
Summary: CVE-2022-49922 kernel: nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c...
Keywords:
Status: NEW
Alias: CVE-2022-49922
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-01 15:01 UTC by OSIDB Bzimport
Modified: 2025-05-02 03:40 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 15:01:39 UTC
In the Linux kernel, the following vulnerability has been resolved:

nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()

nfcmrvl_i2c_nci_send() will be called by nfcmrvl_nci_send(), and skb
should be freed in nfcmrvl_i2c_nci_send(). However, nfcmrvl_nci_send()
will only free skb when i2c_master_send() return >=0, which means skb
will memleak when i2c_master_send() failed. Free skb no matter whether
i2c_master_send() succeeds.

Comment 1 Avinash Hanwate 2025-05-02 03:28:09 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050109-CVE-2022-49922-93fb@gregkh/T


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