CVE-2022-50834Published Dec 30, 2025 · Dec 30Updated Oct 28
nfc: Fix potential resource leaks
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 5ce3f32b5264b337bfd13a780452a17705307725 · < a743128fca394a43425020a4f287d3168d94d04f| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s NFC component can leak device references because some paths do not call nfc_put_device() after nfc_get_device(). The input does not describe how an attacker could trigger the leak or specify network, authentication, or user-interaction requirements.
Engineers running Linux kernels with the affected NFC code should check their installations; affected versions are not specified.