CVE-2022-49922

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

Medium · published May 1, 2025

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

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.

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.00190 · 8.2th percentile
Published
2025-05-01T14:11Z
EPSS history
Timeline
  • 01 MAY 14:11Z
    nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()
    cvelistv5