CVE-2022-49923

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

Medium · published May 1, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
8.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00188 · 8.0th percentile
Published
2025-05-01T14:11Z
EPSS history
Timeline
  • 01 MAY 14:11Z
    nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()
    cvelistv5