CVE-2022-49817

Source
https://cve.org/CVERecord?id=CVE-2022-49817
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49817.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49817
Downstream
Published
2025-05-01T14:09:40.325Z
Modified
2026-03-12T03:25:47.673851Z
Summary
net: mhi: Fix memory leak in mhi_net_dellink()
Details

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

net: mhi: Fix memory leak in mhinetdellink()

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 calls freenetdev() to fix it since netdevpriv is used after unregister.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49817.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
13adac032982c61bb590669e8e87e51558917ca1
Fixed
88da008e5e2f9753726ea5a51ef2eb144e9de927
Fixed
25a270343b0f16e1f6e65f541a15975a35e238ff
Fixed
f7c125bd79f50ec6094761090be81d02726ec6f4

Database specific

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