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-05-15T11:54:31.473980504Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49817.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.14.0
Fixed
5.15.80
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.10

Database specific

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