CVE-2022-50834
nfc: Fix potential resource leaks
Description
In the Linux kernel, the following vulnerability has been resolved: nfc: Fix potential resource leaks nfc_get_device() take reference for the device, add missing nfc_put_device() to release it when not need anymore. Also fix the style warnning by use error EOPNOTSUPP instead of ENOTSUPP.
INFO
Published Date :
Dec. 30, 2025, 1:15 p.m.
Last Modified :
Dec. 30, 2025, 1:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2022-50834
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Apply kernel updates with the fix.
- Review and test NFC device handling logic.
- Verify device reference counts.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-50834.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-50834 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-50834
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-50834 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-50834 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 30, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: nfc: Fix potential resource leaks nfc_get_device() take reference for the device, add missing nfc_put_device() to release it when not need anymore. Also fix the style warnning by use error EOPNOTSUPP instead of ENOTSUPP. Added Reference https://git.kernel.org/stable/c/277f0d0a9084e7454e5532c823a7a876a7b00af7 Added Reference https://git.kernel.org/stable/c/a743128fca394a43425020a4f287d3168d94d04f Added Reference https://git.kernel.org/stable/c/b32f6bef248562bb5191ada527717ea50b319466 Added Reference https://git.kernel.org/stable/c/b63bc2db244c1b57e36f16ea5f2a1becda413f68 Added Reference https://git.kernel.org/stable/c/d1d912e7f82d7216ba4e266048ec1d1f5ea93839 Added Reference https://git.kernel.org/stable/c/d8e410315ad393b23520b5db0706be853589c548 Added Reference https://git.kernel.org/stable/c/df49908f3c52d211aea5e2a14a93bbe67a2cb3af Added Reference https://git.kernel.org/stable/c/e0f5c962c066e769c187f037fedc883f8abd4e82