cve-2022-49817
Vulnerability from cvelistv5
Published
2025-05-01 14:09
Modified
2025-05-01 14:09
Severity ?
EPSS score ?
Summary
net: mhi: Fix memory leak in mhi_net_dellink()
References
{ "containers": { "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "drivers/net/mhi_net.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "88da008e5e2f9753726ea5a51ef2eb144e9de927", "status": "affected", "version": "13adac032982c61bb590669e8e87e51558917ca1", "versionType": "git" }, { "lessThan": "25a270343b0f16e1f6e65f541a15975a35e238ff", "status": "affected", "version": "13adac032982c61bb590669e8e87e51558917ca1", "versionType": "git" }, { "lessThan": "f7c125bd79f50ec6094761090be81d02726ec6f4", "status": "affected", "version": "13adac032982c61bb590669e8e87e51558917ca1", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "drivers/net/mhi_net.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "5.14" }, { "lessThan": "5.14", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "5.15.*", "status": "unaffected", "version": "5.15.80", "versionType": "semver" }, { "lessThanOrEqual": "6.0.*", "status": "unaffected", "version": "6.0.10", "versionType": "semver" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "6.1", "versionType": "original_commit_for_fix" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mhi: Fix memory leak in mhi_net_dellink()\n\nMHI driver registers network device without setting the\nneeds_free_netdev flag, and does NOT call free_netdev() when\nunregisters network device, which causes a memory leak.\n\nThis patch calls free_netdev() to fix it since netdev_priv\nis used after unregister." } ], "providerMetadata": { "dateUpdated": "2025-05-01T14:09:40.325Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/88da008e5e2f9753726ea5a51ef2eb144e9de927" }, { "url": "https://git.kernel.org/stable/c/25a270343b0f16e1f6e65f541a15975a35e238ff" }, { "url": "https://git.kernel.org/stable/c/f7c125bd79f50ec6094761090be81d02726ec6f4" } ], "title": "net: mhi: Fix memory leak in mhi_net_dellink()", "x_generator": { "engine": "bippy-1.1.0" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2022-49817", "datePublished": "2025-05-01T14:09:40.325Z", "dateReserved": "2025-05-01T14:05:17.227Z", "dateUpdated": "2025-05-01T14:09:40.325Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2022-49817\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-05-01T15:16:05.103\",\"lastModified\":\"2025-05-01T15:16:05.103\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: mhi: Fix memory leak in mhi_net_dellink()\\n\\nMHI driver registers network device without setting the\\nneeds_free_netdev flag, and does NOT call free_netdev() when\\nunregisters network device, which causes a memory leak.\\n\\nThis patch calls free_netdev() to fix it since netdev_priv\\nis used after unregister.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/25a270343b0f16e1f6e65f541a15975a35e238ff\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/88da008e5e2f9753726ea5a51ef2eb144e9de927\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f7c125bd79f50ec6094761090be81d02726ec6f4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.