CVE-2022-50834 (GCVE-0-2022-50834)
Vulnerability from cvelistv5 – Published: 2025-12-30 12:10 – Updated: 2025-12-30 12:10
VLAI?
Title
nfc: Fix potential resource leaks
Summary
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.
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
5ce3f32b5264b337bfd13a780452a17705307725 , < 277f0d0a9084e7454e5532c823a7a876a7b00af7
(git)
Affected: 5ce3f32b5264b337bfd13a780452a17705307725 , < d1d912e7f82d7216ba4e266048ec1d1f5ea93839 (git) Affected: 5ce3f32b5264b337bfd13a780452a17705307725 , < d8e410315ad393b23520b5db0706be853589c548 (git) Affected: 5ce3f32b5264b337bfd13a780452a17705307725 , < e0f5c962c066e769c187f037fedc883f8abd4e82 (git) Affected: 5ce3f32b5264b337bfd13a780452a17705307725 , < b63bc2db244c1b57e36f16ea5f2a1becda413f68 (git) Affected: 5ce3f32b5264b337bfd13a780452a17705307725 , < a743128fca394a43425020a4f287d3168d94d04f (git) Affected: 5ce3f32b5264b337bfd13a780452a17705307725 , < b32f6bef248562bb5191ada527717ea50b319466 (git) Affected: 5ce3f32b5264b337bfd13a780452a17705307725 , < df49908f3c52d211aea5e2a14a93bbe67a2cb3af (git) |
|||||||
|
|||||||||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/nfc/netlink.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "277f0d0a9084e7454e5532c823a7a876a7b00af7",
"status": "affected",
"version": "5ce3f32b5264b337bfd13a780452a17705307725",
"versionType": "git"
},
{
"lessThan": "d1d912e7f82d7216ba4e266048ec1d1f5ea93839",
"status": "affected",
"version": "5ce3f32b5264b337bfd13a780452a17705307725",
"versionType": "git"
},
{
"lessThan": "d8e410315ad393b23520b5db0706be853589c548",
"status": "affected",
"version": "5ce3f32b5264b337bfd13a780452a17705307725",
"versionType": "git"
},
{
"lessThan": "e0f5c962c066e769c187f037fedc883f8abd4e82",
"status": "affected",
"version": "5ce3f32b5264b337bfd13a780452a17705307725",
"versionType": "git"
},
{
"lessThan": "b63bc2db244c1b57e36f16ea5f2a1becda413f68",
"status": "affected",
"version": "5ce3f32b5264b337bfd13a780452a17705307725",
"versionType": "git"
},
{
"lessThan": "a743128fca394a43425020a4f287d3168d94d04f",
"status": "affected",
"version": "5ce3f32b5264b337bfd13a780452a17705307725",
"versionType": "git"
},
{
"lessThan": "b32f6bef248562bb5191ada527717ea50b319466",
"status": "affected",
"version": "5ce3f32b5264b337bfd13a780452a17705307725",
"versionType": "git"
},
{
"lessThan": "df49908f3c52d211aea5e2a14a93bbe67a2cb3af",
"status": "affected",
"version": "5ce3f32b5264b337bfd13a780452a17705307725",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/nfc/netlink.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.13"
},
{
"lessThan": "3.13",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.303",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.270",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.229",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.87",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"version": "6.0.19",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.303",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.270",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.229",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.163",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.87",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.0.19",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.5",
"versionStartIncluding": "3.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.2",
"versionStartIncluding": "3.13",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"providerMetadata": {
"dateUpdated": "2025-12-30T12:10:55.025Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/277f0d0a9084e7454e5532c823a7a876a7b00af7"
},
{
"url": "https://git.kernel.org/stable/c/d1d912e7f82d7216ba4e266048ec1d1f5ea93839"
},
{
"url": "https://git.kernel.org/stable/c/d8e410315ad393b23520b5db0706be853589c548"
},
{
"url": "https://git.kernel.org/stable/c/e0f5c962c066e769c187f037fedc883f8abd4e82"
},
{
"url": "https://git.kernel.org/stable/c/b63bc2db244c1b57e36f16ea5f2a1becda413f68"
},
{
"url": "https://git.kernel.org/stable/c/a743128fca394a43425020a4f287d3168d94d04f"
},
{
"url": "https://git.kernel.org/stable/c/b32f6bef248562bb5191ada527717ea50b319466"
},
{
"url": "https://git.kernel.org/stable/c/df49908f3c52d211aea5e2a14a93bbe67a2cb3af"
}
],
"title": "nfc: Fix potential resource leaks",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-50834",
"datePublished": "2025-12-30T12:10:55.025Z",
"dateReserved": "2025-12-30T12:06:07.132Z",
"dateUpdated": "2025-12-30T12:10:55.025Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2022-50834\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:15:57.913\",\"lastModified\":\"2025-12-31T20:43:05.160\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/277f0d0a9084e7454e5532c823a7a876a7b00af7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a743128fca394a43425020a4f287d3168d94d04f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b32f6bef248562bb5191ada527717ea50b319466\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b63bc2db244c1b57e36f16ea5f2a1becda413f68\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d1d912e7f82d7216ba4e266048ec1d1f5ea93839\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d8e410315ad393b23520b5db0706be853589c548\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/df49908f3c52d211aea5e2a14a93bbe67a2cb3af\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e0f5c962c066e769c187f037fedc883f8abd4e82\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…