What’s Vulnerable › Vulnerabilities
CVE-2022-50834: nfc: Fix potential resource leaks
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-30 · updated 2026-06-17
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.
Affected products
- Linux kernel: 3.13 — fixed in 6.2
How to fix
Upgrade to a fixed version: Linux kernel 6.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/277f0d0a9084e7454e5532c823a7a876a7b00af7
- https://git.kernel.org/stable/c/a743128fca394a43425020a4f287d3168d94d04f
- https://git.kernel.org/stable/c/b32f6bef248562bb5191ada527717ea50b319466
- https://git.kernel.org/stable/c/b63bc2db244c1b57e36f16ea5f2a1becda413f68
- https://git.kernel.org/stable/c/d1d912e7f82d7216ba4e266048ec1d1f5ea93839
- https://git.kernel.org/stable/c/d8e410315ad393b23520b5db0706be853589c548
- https://git.kernel.org/stable/c/df49908f3c52d211aea5e2a14a93bbe67a2cb3af
- https://git.kernel.org/stable/c/e0f5c962c066e769c187f037fedc883f8abd4e82
Get alerted when CVE-2022-50834 or the next vulnerability affects your stack