CVE-2022-50834

nfc: Fix potential resource leaks

State
Published
Severity
Not scored
Published
Dec 30, 2025
Updated
May 11, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5ce3f32b5264b337bfd13a780452a17705307725 to before 277f0d0a9084e7454e5532c823a7a876a7b00af7Affected
  • 5ce3f32b5264b337bfd13a780452a17705307725 to before d1d912e7f82d7216ba4e266048ec1d1f5ea93839Affected
  • 5ce3f32b5264b337bfd13a780452a17705307725 to before d8e410315ad393b23520b5db0706be853589c548Affected
  • 5ce3f32b5264b337bfd13a780452a17705307725 to before e0f5c962c066e769c187f037fedc883f8abd4e82Affected
  • 5ce3f32b5264b337bfd13a780452a17705307725 to before b63bc2db244c1b57e36f16ea5f2a1becda413f68Affected
  • 5ce3f32b5264b337bfd13a780452a17705307725 to before a743128fca394a43425020a4f287d3168d94d04fAffected
  • 5ce3f32b5264b337bfd13a780452a17705307725 to before b32f6bef248562bb5191ada527717ea50b319466Affected
  • 5ce3f32b5264b337bfd13a780452a17705307725 to before df49908f3c52d211aea5e2a14a93bbe67a2cb3afAffected
LinuxLinux
  • 3.13Affected
  • before 3.13Not affected
  • 4.14.303 through 4.14.*Not affected
  • 4.19.270 through 4.19.*Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.87 through 5.15.*Not affected
  • 6.0.19 through 6.0.*Not affected
  • 6.1.5 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.