net: wwan: iosm: fix potential memory leaks in ipc_imem_init()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3670970dd8c661c10c10c300d726f59428eaad32 · < 8f764a7810a9f114313c439d25b11f4417c6e0dd| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: wwan: iosm: fix potential memory leaks in ipc_imem_init()
The memory allocated in ipc_protocol_init() is not freed on the error paths that follow in ipc_imem_init(). Fix that by calling the corresponding release function ipc_protocol_deinit() in the error path.
From the CVE record · Linux
The Linux kernel’s iosm WWAN driver can leak memory allocated by ipc_protocol_init() when a later step in ipc_imem_init() fails. The input does not specify how an attacker could trigger the error, whether authentication or user interaction is required, or whether access is local or network-based.
Engineers running Linux kernels with the iosm WWAN driver should check their versions; affected versions are not specified.