# CVE-2022-49817: net: mhi: Fix memory leak in mhi_net_dellink()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-05-01T14:09:40.325Z
- Modified: 2026-11-05T20:17:13.853Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

net: mhi: Fix memory leak in mhi_net_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 calls free_netdev() to fix it since netdev_priv
is used after unregister.

(As written by CVE List.)

## Affected

- Linux Linux: from 13adac032982c61bb590669e8e87e51558917ca1 before 88da008e5e2f9753726ea5a51ef2eb144e9de927; from 13adac032982c61bb590669e8e87e51558917ca1 before 25a270343b0f16e1f6e65f541a15975a35e238ff; from 13adac032982c61bb590669e8e87e51558917ca1 before f7c125bd79f50ec6094761090be81d02726ec6f4; 5.14 (not affected: before 5.14; from 5.15.80 up to 5.15.*; from 6.0.10 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.14 before 5.15.80; from 5.16 before 6.0.10; 6.1

## References

- <https://git.kernel.org/stable/c/88da008e5e2f9753726ea5a51ef2eb144e9de927> (patch)
- <https://git.kernel.org/stable/c/25a270343b0f16e1f6e65f541a15975a35e238ff> (patch)
- <https://git.kernel.org/stable/c/f7c125bd79f50ec6094761090be81d02726ec6f4> (patch)

## Sources

- CVE List: [CVE-2022-49817](https://www.cve.org/CVERecord?id=CVE-2022-49817), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-49817](https://nvd.nist.gov/vuln/detail/CVE-2022-49817), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-49817 · Whole record: https://cve.day/CVE-2022-49817.json · Rebuilt by cve.day 2026-11-25T22:58:20.884Z
