CVE-2022-50834
nfc: Fix potential resource leaks
Check your servers for CVE-2022-50834
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50834 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5ce3f32b5264b337bfd13a780452a17705307725, before 277f0d0a9084e7454e5532c823a7a876a7b00af7 affected from 5ce3f32b5264b337bfd13a780452a17705307725, before d1d912e7f82d7216ba4e266048ec1d1f5ea93839 affected from 5ce3f32b5264b337bfd13a780452a17705307725, before d8e410315ad393b23520b5db0706be853589c548 affected from 5ce3f32b5264b337bfd13a780452a17705307725, before e0f5c962c066e769c187f037fedc883f8abd4e82 affected from 5ce3f32b5264b337bfd13a780452a17705307725, before b63bc2db244c1b57e36f16ea5f2a1becda413f68 affected from 5ce3f32b5264b337bfd13a780452a17705307725, before a743128fca394a43425020a4f287d3168d94d04f affected from 5ce3f32b5264b337bfd13a780452a17705307725, before b32f6bef248562bb5191ada527717ea50b319466 affected from 5ce3f32b5264b337bfd13a780452a17705307725, before df49908f3c52d211aea5e2a14a93bbe67a2cb3af
Other versions: unaffected
|
| Linux |
affected 3.13 unaffected before 3.13 unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.87 up to and including 5.15.* unaffected from 6.0.19 up to and including 6.0.* unaffected from 6.1.5 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50834 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50834
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50834
trivy image --scanners vuln IMAGE | grep CVE-2022-50834
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/277f0d0a9084e7454e5532c823a7a876a7b00af7 git.kernel.org
- https://git.kernel.org/stable/c/d1d912e7f82d7216ba4e266048ec1d1f5ea93839 git.kernel.org
- https://git.kernel.org/stable/c/d8e410315ad393b23520b5db0706be853589c548 git.kernel.org
- https://git.kernel.org/stable/c/e0f5c962c066e769c187f037fedc883f8abd4e82 git.kernel.org
- https://git.kernel.org/stable/c/b63bc2db244c1b57e36f16ea5f2a1becda413f68 git.kernel.org
- https://git.kernel.org/stable/c/a743128fca394a43425020a4f287d3168d94d04f git.kernel.org
- https://git.kernel.org/stable/c/b32f6bef248562bb5191ada527717ea50b319466 git.kernel.org
- https://git.kernel.org/stable/c/df49908f3c52d211aea5e2a14a93bbe67a2cb3af git.kernel.org
Source: the record CVE-2022-50834 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse