CVE-2022-49729

nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred

Medium · published February 26, 2025

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

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.

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.00266 · 17.5th percentile
Published
2025-02-26T02:24Z
EPSS history
Timeline
  • 26 FEB 02:24Z
    nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred
    cvelistv5