CVE-2022-49866
JSON

5.5medium

net: wwan: mhi: fix memory leak in mhi_mbim_dellink

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net: wwan: mhi: fix memory leak in mhi_mbim_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 sets needs_free_netdev to true when registers network device, which makes netdev subsystem call free_netdev() automatically after unregister_netdevice().

Affected

Product or packageVersionsReported by
Linux Linuxfrom aa730a9905b7b079ef2fffdab7f15dbb842f5c7c before 2845bc9070cef0c651987487d84d4813d64675dd, from aa730a9905b7b079ef2fffdab7f15dbb842f5c7c before 3cd3ffe952f78ec5dadf300cb58d4b38a0c0106d, from aa730a9905b7b079ef2fffdab7f15dbb842f5c7c before 668205b9c9f94d5ed6ab00cce9a46a654c2b5d16, 5.15
Not affected: before 5.15, from 5.15.79 up to 5.15.*, from 6.0.9 up to 6.0.*, from 6.1 up to *
CVE List
linux linux_kernelfrom 5.15 before 5.15.79, from 5.16 before 6.0.9, 6.1NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: net: wwan: mhi: fix memory leak in mhi_mbim_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 sets needs_free_netdev to true when registers network device, which makes netdev subsystem call free_netdev() automatically after unregister_netdevice().

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: wwan: mhi: se corrige una fuga de memoria en mhi_mbim_dellink. El controlador MHI registra el dispositivo de red sin configurar el indicador needs_free_netdev y NO llama a free_netdev() al cancelar el registro del dispositivo de red, lo que provoca una fuga de memoria. Este parche establece needs_free_netdev como verdadero al registrar el dispositivo de red, lo que hace que el subsistema netdev llame automáticamente a free_netdev() después de unregister_netdevice().

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49866 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-49866 changed 2026-06-17Public domain