[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123017-CVE-2022-50834-2135@gregkh>
Date: Tue, 30 Dec 2025 13:13:20 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50834: nfc: Fix potential resource leaks
From: Greg Kroah-Hartman <gregkh@...nel.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.
The Linux kernel CVE team has assigned CVE-2022-50834 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.13 with commit 5ce3f32b5264b337bfd13a780452a17705307725 and fixed in 4.14.303 with commit 277f0d0a9084e7454e5532c823a7a876a7b00af7
Issue introduced in 3.13 with commit 5ce3f32b5264b337bfd13a780452a17705307725 and fixed in 4.19.270 with commit d1d912e7f82d7216ba4e266048ec1d1f5ea93839
Issue introduced in 3.13 with commit 5ce3f32b5264b337bfd13a780452a17705307725 and fixed in 5.4.229 with commit d8e410315ad393b23520b5db0706be853589c548
Issue introduced in 3.13 with commit 5ce3f32b5264b337bfd13a780452a17705307725 and fixed in 5.10.163 with commit e0f5c962c066e769c187f037fedc883f8abd4e82
Issue introduced in 3.13 with commit 5ce3f32b5264b337bfd13a780452a17705307725 and fixed in 5.15.87 with commit b63bc2db244c1b57e36f16ea5f2a1becda413f68
Issue introduced in 3.13 with commit 5ce3f32b5264b337bfd13a780452a17705307725 and fixed in 6.0.19 with commit a743128fca394a43425020a4f287d3168d94d04f
Issue introduced in 3.13 with commit 5ce3f32b5264b337bfd13a780452a17705307725 and fixed in 6.1.5 with commit b32f6bef248562bb5191ada527717ea50b319466
Issue introduced in 3.13 with commit 5ce3f32b5264b337bfd13a780452a17705307725 and fixed in 6.2 with commit df49908f3c52d211aea5e2a14a93bbe67a2cb3af
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-50834
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/nfc/netlink.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/277f0d0a9084e7454e5532c823a7a876a7b00af7
https://git.kernel.org/stable/c/d1d912e7f82d7216ba4e266048ec1d1f5ea93839
https://git.kernel.org/stable/c/d8e410315ad393b23520b5db0706be853589c548
https://git.kernel.org/stable/c/e0f5c962c066e769c187f037fedc883f8abd4e82
https://git.kernel.org/stable/c/b63bc2db244c1b57e36f16ea5f2a1becda413f68
https://git.kernel.org/stable/c/a743128fca394a43425020a4f287d3168d94d04f
https://git.kernel.org/stable/c/b32f6bef248562bb5191ada527717ea50b319466
https://git.kernel.org/stable/c/df49908f3c52d211aea5e2a14a93bbe67a2cb3af
Powered by blists - more mailing lists