staging: wfx: fix an error handling in wfx_init_common()

Summary

CVECVE-2022-49105
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-02-26 07:00:47 UTC
Updated2026-08-13 00:17:27 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: staging: wfx: fix an error handling in wfx_init_common() One error handler of wfx_init_common() return without calling ieee80211_free_hw(hw), which may result in memory leak. And I add one err label to unify the error handler, which is useful for the subsequent changes.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-401 | CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1ADPDECLARED5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 354d6ca9d99790e037bf06f093634e851d1253ee 93498c6e775ae91732a8109dba1bdcd324908f84 git Not specified
CNA Linux Linux affected 354d6ca9d99790e037bf06f093634e851d1253ee 86efcb524ae1889ae73f2a2f0bb7fff2ec757ab0 git Not specified
CNA Linux Linux affected 354d6ca9d99790e037bf06f093634e851d1253ee ab0fed1fa744173433cfd1dbaf9239f200ded650 git Not specified
CNA Linux Linux affected 354d6ca9d99790e037bf06f093634e851d1253ee 9727912e906762a63c1a667c84731d3427653f88 git Not specified
CNA Linux Linux affected 354d6ca9d99790e037bf06f093634e851d1253ee 60f1d3c92dc1ef1026e5b917a329a7fa947da036 git Not specified
CNA Linux Linux affected 5.9 Not specified
CNA Linux Linux unaffected 5.9 semver Not specified
CNA Linux Linux unaffected 5.10.111 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.34 5.15.* semver Not specified
CNA Linux Linux unaffected 5.16.20 5.16.* semver Not specified
CNA Linux Linux unaffected 5.17.3 5.17.* semver Not specified
CNA Linux Linux unaffected 5.18 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/60f1d3c92dc1ef1026e5b917a329a7fa947da036 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/86efcb524ae1889ae73f2a2f0bb7fff2ec757ab0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/93498c6e775ae91732a8109dba1bdcd324908f84 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/9727912e906762a63c1a667c84731d3427653f88 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/ab0fed1fa744173433cfd1dbaf9239f200ded650 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report