net: wwan: iosm: fix memory leak in ipc_wwan_dellink
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.15.796.0.96.1In the Linux kernel, the following vulnerability has been resolved:
net: wwan: iosm: fix memory leak in ipc_wwan_dellink
IOSM 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().
From the CVE record · Linux
The Linux kernel IOSM WWAN driver can leak memory when it unregisters a network device without freeing it. The input does not establish whether an attacker can trigger this, or specify access or user-interaction requirements.
Engineers running Linux kernels with the IOSM WWAN driver should check their installations; affected versions are not specified.