CVE-2022-50834

nfc: Fix potential resource leaks

N/A
Published: December 30, 2025 at 12:10 PM UTC
Updated: June 17, 2026 at 05:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.13 ≤ v < 4.14.3033.13 ≤ v < 4.19.2703.13 ≤ v < 5.10.1633.13 ≤ v < 5.15.873.13 ≤ v < 5.4.2293.13 ≤ v < 6.0.193.13 ≤ v < 6.1.53.13 ≤ v < 6.23.135ce3f32b5264b337bfd13a780452a17705307725
Vendor states this is fixed in 277f0d0a9084e7454e5532c823a7a876a7b00af7 (fixed)
Vendor states this is fixed in a743128fca394a43425020a4f287d3168d94d04f (fixed)
Vendor states this is fixed in b32f6bef248562bb5191ada527717ea50b319466 (fixed)
Vendor states this is fixed in b63bc2db244c1b57e36f16ea5f2a1becda413f68 (fixed)
Vendor states this is fixed in d1d912e7f82d7216ba4e266048ec1d1f5ea93839 (fixed)
Vendor states this is fixed in d8e410315ad393b23520b5db0706be853589c548 (fixed)
Vendor states this is fixed in df49908f3c52d211aea5e2a14a93bbe67a2cb3af (fixed)
Vendor states this is fixed in e0f5c962c066e769c187f037fedc883f8abd4e82 (fixed)
Vendor states this is fixed in 3.13 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.87 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.19 (unaffected)
Vendor states this is fixed in 6.1.5 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card