What’s Vulnerable › Vulnerabilities

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50834 or the next vulnerability affects your stack