Bug 2363529 (CVE-2022-49923) - CVE-2022-49923 kernel: nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()
Summary: CVE-2022-49923 kernel: nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()
Keywords:
Status: NEW
Alias: CVE-2022-49923
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:08 UTC by OSIDB Bzimport
Modified: 2025-05-02 03:39 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:08:20 UTC
In the Linux kernel, the following vulnerability has been resolved:

nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()

nxp_nci_send() will call nxp_nci_i2c_write(), and only free skb when
nxp_nci_i2c_write() failed. However, even if the nxp_nci_i2c_write()
run succeeds, the skb will not be freed in nxp_nci_i2c_write(). As the
result, the skb will memleak. nxp_nci_send() should also free the skb
when nxp_nci_i2c_write() succeeds.

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


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