← Database

CVE-2022-49817

MEDIUM CVSS: 5.5 Published: 2025-05-01 Modified: 2026-06-17

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.

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-401

References