CVE-2022-50834 nfc: Fix potential resource leaks
A resource leak in the Linux kernel NFC subsystem allows local attackers to exhaust system resources, potentially causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50834?
CVE-2022-50834 is a denial of service vulnerability in Linux, published on 30 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-50834?
How do I fix CVE-2022-50834?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-50834 being exploited?
There is no known exploitation of CVE-2022-50834 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2022-50834, GHSA-rf48-j97v-jmx7, UBUNTU-CVE-2022-50834.