CVE-2022-49922

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*

History

07 May 2025, 13:28

Type Values Removed Values Added
CWE CWE-401
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/52438e734c1566f5e2bcd9a065d2d65e306c0555 - () https://git.kernel.org/stable/c/52438e734c1566f5e2bcd9a065d2d65e306c0555 - Patch
References () https://git.kernel.org/stable/c/5dfdac5e3f8db5f4445228c44f64091045644a3b - () https://git.kernel.org/stable/c/5dfdac5e3f8db5f4445228c44f64091045644a3b - Patch
References () https://git.kernel.org/stable/c/825656ae61e73ddc05f585e6258d284c87064b10 - () https://git.kernel.org/stable/c/825656ae61e73ddc05f585e6258d284c87064b10 - Patch
References () https://git.kernel.org/stable/c/92a1df9c6da20c02cf9872f8b025a66ddb307aeb - () https://git.kernel.org/stable/c/92a1df9c6da20c02cf9872f8b025a66ddb307aeb - Patch
References () https://git.kernel.org/stable/c/93d904a734a74c54d945a9884b4962977f1176cd - () https://git.kernel.org/stable/c/93d904a734a74c54d945a9884b4962977f1176cd - Patch
References () https://git.kernel.org/stable/c/c8e7d4a1166f063703955f1b2e765a6db5bf1771 - () https://git.kernel.org/stable/c/c8e7d4a1166f063703955f1b2e765a6db5bf1771 - Patch
References () https://git.kernel.org/stable/c/dd0ee55ead91fbb16889dbe7ff0b0f7c9e4e849d - () https://git.kernel.org/stable/c/dd0ee55ead91fbb16889dbe7ff0b0f7c9e4e849d - Patch
References () https://git.kernel.org/stable/c/f30060efcf18883748a0541aa41acef183cd9c0e - () https://git.kernel.org/stable/c/f30060efcf18883748a0541aa41acef183cd9c0e - Patch

02 May 2025, 13:52

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfc: nfcmrvl: Se corrige una posible fuga de memoria en nfcmrvl_i2c_nci_send(). nfcmrvl_i2c_nci_send() será llamado por nfcmrvl_nci_send(), y skb debería liberarse en nfcmrvl_i2c_nci_send(). Sin embargo, nfcmrvl_nci_send() solo liberará skb cuando i2c_master_send() devuelva >=0, lo que significa que skb sufrirá fugas de memoria si i2c_master_send() falla. Skb se libera independientemente de si i2c_master_send() tiene éxito.

01 May 2025, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-01 15:16

Updated : 2025-05-07 13:28


NVD link : CVE-2022-49922

Mitre link : CVE-2022-49922

CVE.ORG link : CVE-2022-49922


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime