CVE-2022-49866

Source
https://cve.org/CVERecord?id=CVE-2022-49866
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49866.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49866
Downstream
Published
2025-05-01T14:10:18.294Z
Modified
2026-03-20T12:24:44.997263Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net: wwan: mhi: fix memory leak in mhi_mbim_dellink
Details

In the Linux kernel, the following vulnerability has been resolved:

net: wwan: mhi: fix memory leak in mhimbimdellink

MHI driver registers network device without setting the needsfreenetdev flag, and does NOT call free_netdev() when unregisters network device, which causes a memory leak.

This patch sets needsfreenetdev to true when registers network device, which makes netdev subsystem call freenetdev() automatically after unregisternetdevice().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49866.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aa730a9905b7b079ef2fffdab7f15dbb842f5c7c
Fixed
2845bc9070cef0c651987487d84d4813d64675dd
Fixed
3cd3ffe952f78ec5dadf300cb58d4b38a0c0106d
Fixed
668205b9c9f94d5ed6ab00cce9a46a654c2b5d16

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49866.json"