CVE-2022-49866
published medium CVSS 3.1 · 5.5net: wwan: mhi: fix memory leak in mhi_mbim_dellink
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxaa730a9905b7b079ef2fffdab7f15dbb842f5c7c to < 2845bc9070cef0c651987487d84d4813d64675dd · aa730a9905b7b079ef2fffdab7f15dbb842f5c7c to < 3cd3ffe952f78ec5dadf300cb58d4b38a0c0106d · aa730a9905b7b079ef2fffdab7f15dbb842f5c7c to < 668205b9c9f94d5ed6ab00cce9a46a654c2b5d16 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.79 through 5.15.* (unaffected · semver) · 6.0.9 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: net: wwan: mhi: fix memory leak in mhi_mbim_dellink MHI driver registers network device without setting the needs_free_netdev flag, and does NOT call free_netdev() when unregisters network device, which causes a memory leak. This patch sets needs_free_netdev to true when registers network device, which makes netdev subsystem call free_netdev() automatically after unregister_netdevice().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | aa730a9905b7b079ef2fffdab7f15dbb842f5c7c to < 2845bc9070cef0c651987487d84d4813d64675dd (affected · git)aa730a9905b7b079ef2fffdab7f15dbb842f5c7c to < 3cd3ffe952f78ec5dadf300cb58d4b38a0c0106d (affected · git)aa730a9905b7b079ef2fffdab7f15dbb842f5c7c to < 668205b9c9f94d5ed6ab00cce9a46a654c2b5d16 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.79 through 5.15.* (unaffected · semver)6.0.9 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime
References
3Provider assertions
2Linux · cna
net: wwan: mhi: fix memory leak in mhi_mbim_dellink
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d77494c7ddb79f6c221174d9d685f5487a208db32b2290ba7baa24f9322f6bcc
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record