CVE-2022-49729

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxf26e30cc6b50ba81e30ca3016c29ad4b48b93eaa < 1eb0afecfb9cd0f38424b82bd9aaa542310934eeaffected
LinuxLinuxf26e30cc6b50ba81e30ca3016c29ad4b48b93eaa < f21f908347712b8288ffe83b531b5e977042b29caffected
LinuxLinuxf26e30cc6b50ba81e30ca3016c29ad4b48b93eaa < 3e7c7df6991ac349f2fa8540047757df666e610faffected
LinuxLinuxf26e30cc6b50ba81e30ca3016c29ad4b48b93eaa < 6b4d8b44e7163a77fe942f5b80e1651c1b78c537affected
LinuxLinuxf26e30cc6b50ba81e30ca3016c29ad4b48b93eaa < 0eeec1a8b0cd38c47edeb042980a6aeacecf35edaffected
LinuxLinuxf26e30cc6b50ba81e30ca3016c29ad4b48b93eaa < 6616872cfe7f0474a22dd1f12699f95bcf81a54daffected
LinuxLinuxf26e30cc6b50ba81e30ca3016c29ad4b48b93eaa < 3eadc560c1919b8193d17334145dad9a917960e4affected
LinuxLinuxf26e30cc6b50ba81e30ca3016c29ad4b48b93eaa < 8a4d480702b71184fabcf379b80bf7539716752eaffected
LinuxLinux3.14affected
LinuxLinux0 < 3.14unaffected
LinuxLinux4.9.320 <= 4.9.*unaffected
LinuxLinux4.14.285 <= 4.14.*unaffected
LinuxLinux4.19.249 <= 4.19.*unaffected
LinuxLinux5.4.200 <= 5.4.*unaffected
LinuxLinux5.10.124 <= 5.10.*unaffected
LinuxLinux5.15.49 <= 5.15.*unaffected
LinuxLinux5.18.6 <= 5.18.*unaffected
LinuxLinux5.19 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References