CVE-2022-49729

In the Linux kernel, the following vulnerability has been resolved: nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred Similar to the handling of play_deferred in commit 19cfe912c37b ("Bluetooth: btusb: Fix memory leak in play_deferred"), we thought a patch might be needed here as well. Currently usb_submit_urb is called directly to submit deferred tx urbs after unanchor them. So the usb_giveback_urb_bh would failed to unref it in usb_unanchor_urb and cause memory leak. Put those urbs in tx_anchor to avoid the leak, and also fix the error handling.
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:5.19:rc1:*:*:*:*:*:*

History

07 Mar 2025, 20:44

Type Values Removed Values Added
CWE CWE-401
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred De forma similar a la gestión de play_deferred en el commit 19cfe912c37b ("Bluetooth: btusb: Fix memory leak in play_deferred"), pensamos que también podría ser necesario un parche aquí. Actualmente, se llama a usb_submit_urb directamente para enviar urbs de tx diferidas después de desanclarlas. Por lo tanto, usb_giveback_urb_bh no podría desreferenciarla en usb_unanchor_urb y provocaría una pérdida de memoria. Coloque esas urbs en tx_anchor para evitar la pérdida y también corrija la gestión de errores.
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/0eeec1a8b0cd38c47edeb042980a6aeacecf35ed - () https://git.kernel.org/stable/c/0eeec1a8b0cd38c47edeb042980a6aeacecf35ed - Patch
References () https://git.kernel.org/stable/c/1eb0afecfb9cd0f38424b82bd9aaa542310934ee - () https://git.kernel.org/stable/c/1eb0afecfb9cd0f38424b82bd9aaa542310934ee - Patch
References () https://git.kernel.org/stable/c/3e7c7df6991ac349f2fa8540047757df666e610f - () https://git.kernel.org/stable/c/3e7c7df6991ac349f2fa8540047757df666e610f - Patch
References () https://git.kernel.org/stable/c/3eadc560c1919b8193d17334145dad9a917960e4 - () https://git.kernel.org/stable/c/3eadc560c1919b8193d17334145dad9a917960e4 - Patch
References () https://git.kernel.org/stable/c/6616872cfe7f0474a22dd1f12699f95bcf81a54d - () https://git.kernel.org/stable/c/6616872cfe7f0474a22dd1f12699f95bcf81a54d - Patch
References () https://git.kernel.org/stable/c/6b4d8b44e7163a77fe942f5b80e1651c1b78c537 - () https://git.kernel.org/stable/c/6b4d8b44e7163a77fe942f5b80e1651c1b78c537 - Patch
References () https://git.kernel.org/stable/c/8a4d480702b71184fabcf379b80bf7539716752e - () https://git.kernel.org/stable/c/8a4d480702b71184fabcf379b80bf7539716752e - Patch
References () https://git.kernel.org/stable/c/f21f908347712b8288ffe83b531b5e977042b29c - () https://git.kernel.org/stable/c/f21f908347712b8288ffe83b531b5e977042b29c - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

26 Feb 2025, 07:01

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 07:01

Updated : 2025-03-07 20:44


NVD link : CVE-2022-49729

Mitre link : CVE-2022-49729

CVE.ORG link : CVE-2022-49729


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime