Skip to contentSkip to conversation

CVE-2026-64179: net: wwan: iosm: fix potential memory leaks in ipc_imem_init()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-64179 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.14 with commit 3670970dd8c661c10c10c300d726f59428eaad32 and fixed in 5.15.209 with commit f1a4d57847813fae42fbb7eb35f2dd48b9cff8a9
	Issue introduced in 5.14 with commit 3670970dd8c661c10c10c300d726f59428eaad32 and fixed in 6.1.175 with commit ba6d8643019c33428f7c0658863e80e0b04a70f4
	Issue introduced in 5.14 with commit 3670970dd8c661c10c10c300d726f59428eaad32 and fixed in 6.6.142 with commit 6f63a60580ebdd9a1f22f89a84814d1fefe16b1c
	Issue introduced in 5.14 with commit 3670970dd8c661c10c10c300d726f59428eaad32 and fixed in 6.12.92 with commit 583fd5a8fc797c8ecf2e1a7b923740c5e5734e85
	Issue introduced in 5.14 with commit 3670970dd8c661c10c10c300d726f59428eaad32 and fixed in 6.18.34 with commit ffb6dbb49c96be82f07c7b112e3ebc3e6fdd8dd5
	Issue introduced in 5.14 with commit 3670970dd8c661c10c10c300d726f59428eaad32 and fixed in 7.0.11 with commit 8f764a7810a9f114313c439d25b11f4417c6e0dd
	Issue introduced in 5.14 with commit 3670970dd8c661c10c10c300d726f59428eaad32 and fixed in 7.1 with commit c5d93b2c40355e999715262a824965aac025a427

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-64179

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/wwan/iosm/iosm_ipc_imem.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/f1a4d57847813fae42fbb7eb35f2dd48b9cff8a9
	https://git.kernel.org/stable/c/ba6d8643019c33428f7c0658863e80e0b04a70f4
	https://git.kernel.org/stable/c/6f63a60580ebdd9a1f22f89a84814d1fefe16b1c
	https://git.kernel.org/stable/c/583fd5a8fc797c8ecf2e1a7b923740c5e5734e85
	https://git.kernel.org/stable/c/ffb6dbb49c96be82f07c7b112e3ebc3e6fdd8dd5
	https://git.kernel.org/stable/c/8f764a7810a9f114313c439d25b11f4417c6e0dd
	https://git.kernel.org/stable/c/c5d93b2c40355e999715262a824965aac025a427