CVEvulnerability
CVE-2022-49729
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-02-26
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
Description
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.
Affected configurations
• linux linux kernel (< 4.9.320)
• linux linux kernel (>= 4.10 < 4.14.285)
• linux linux kernel (>= 4.15 < 4.19.249)
• linux linux kernel (>= 4.20 < 5.4.200)
• linux linux kernel (>= 5.5 < 5.10.124)
• linux linux kernel (>= 5.11 < 5.15.49)
• linux linux kernel (>= 5.16 < 5.18.6)
• linux linux kernel 5.19
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/0eeec1a8b0cd38c47edeb042980a6aeacecf35ed Patch
- https://git.kernel.org/stable/c/1eb0afecfb9cd0f38424b82bd9aaa542310934ee Patch
- https://git.kernel.org/stable/c/3e7c7df6991ac349f2fa8540047757df666e610f Patch
- https://git.kernel.org/stable/c/3eadc560c1919b8193d17334145dad9a917960e4 Patch
- https://git.kernel.org/stable/c/6616872cfe7f0474a22dd1f12699f95bcf81a54d Patch
- https://git.kernel.org/stable/c/6b4d8b44e7163a77fe942f5b80e1651c1b78c537 Patch
- https://git.kernel.org/stable/c/8a4d480702b71184fabcf379b80bf7539716752e Patch
- https://git.kernel.org/stable/c/f21f908347712b8288ffe83b531b5e977042b29c Patch