CVE-2022-49729: nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred
In the Linux kernel, the following vulnerability has been resolved:
nfc: nfcmrvl: Fix memory leak in nfcmrvlplaydeferred
Similar to the handling of playdeferred in commit 19cfe912c37b ("Bluetooth: btusb: Fix memory leak in playdeferred"), we thought a patch might be needed here as well.
Currently usbsubmiturb is called directly to submit deferred tx urbs after unanchor them.
So the usbgivebackurbbh would failed to unref it in usbunanchorurb and cause memory leak.
Put those urbs in txanchor to avoid the leak, and also fix the error handling.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49729?
CVE-2022-49729 has a severity rating of medium due to its potential to cause memory leaks in the Linux kernel.
How do I fix CVE-2022-49729?
To fix CVE-2022-49729, you should upgrade to a patched version of the Linux kernel that addresses the memory leak issue.
Which versions of the Linux kernel are affected by CVE-2022-49729?
CVE-2022-49729 affects multiple versions of the Linux kernel, particularly those before version 5.19-rc1.
What components are impacted by CVE-2022-49729?
CVE-2022-49729 specifically impacts the NFC subsystem within the Linux kernel related to memory management.
What is the nature of the vulnerability in CVE-2022-49729?
CVE-2022-49729 is a memory leak vulnerability that can lead to resource exhaustion in the Linux kernel.