{"id":"CVE-2022-50834","aliases":["CVE-2022-50834"],"related":[],"kind":"vulnerability","state":"published","title":"nfc: Fix potential resource leaks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: Fix potential resource leaks\n\nnfc_get_device() take reference for the device, add missing\nnfc_put_device() to release it when not need anymore.\nAlso fix the style warnning by use error EOPNOTSUPP instead of\nENOTSUPP.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: Fix potential resource leaks\n\nnfc_get_device() take reference for the device, add missing\nnfc_put_device() to release it when not need anymore.\nAlso fix the style warnning by use error EOPNOTSUPP instead of\nENOTSUPP.","source":"cvelist"}],"published":"2025-12-30T12:10:55.025Z","modified":"2026-06-17T05:24:16.037Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"277f0d0a9084e7454e5532c823a7a876a7b00af7","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"d1d912e7f82d7216ba4e266048ec1d1f5ea93839","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"d8e410315ad393b23520b5db0706be853589c548","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"e0f5c962c066e769c187f037fedc883f8abd4e82","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"b63bc2db244c1b57e36f16ea5f2a1becda413f68","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"a743128fca394a43425020a4f287d3168d94d04f","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"b32f6bef248562bb5191ada527717ea50b319466","status":"affected"},{"type":"git","introduced":"5ce3f32b5264b337bfd13a780452a17705307725","fixed":"df49908f3c52d211aea5e2a14a93bbe67a2cb3af","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.13","status":"unaffected"},{"type":"semver","introduced":"4.14.303","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.87","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.19","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.5","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/277f0d0a9084e7454e5532c823a7a876a7b00af7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1d912e7f82d7216ba4e266048ec1d1f5ea93839","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d8e410315ad393b23520b5db0706be853589c548","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0f5c962c066e769c187f037fedc883f8abd4e82","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b63bc2db244c1b57e36f16ea5f2a1becda413f68","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a743128fca394a43425020a4f287d3168d94d04f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b32f6bef248562bb5191ada527717ea50b319466","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df49908f3c52d211aea5e2a14a93bbe67a2cb3af","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50834","url":"https://www.cve.org/CVERecord?id=CVE-2022-50834","licence":"CVE Terms of Use","modified":"2026-05-11T19:26:00.365Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50834","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50834","licence":"Public domain","modified":"2026-06-17T05:24:16.037Z"}],"updatedAt":"2026-11-25T22:58:21.374Z","epss":{"score":0.00278,"percentile":0.21649,"date":"2026-12-02T12:00:21.000Z"}}