Skip to contentSkip to conversation

CVE-2026-80948: wifi: iwlwifi: dvm: fix memory leak in iwl_op_mode_dvm_start()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 11

lore
Share & tools
lore
#0 lore raw

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

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

In the Linux kernel, the following vulnerability has been resolved:

wifi: iwlwifi: dvm: fix memory leak in iwl_op_mode_dvm_start()

In iwl_op_mode_dvm_start(), jumping to out_free_eeprom currently bypasses the out_free_eeprom_blob label. Consequently, error paths triggered after successfully parsing the EEPROM free priv->nvm_data but leak priv->eeprom_blob.

Fix this memory leak by reordering the error handling labels so that out_free_eeprom falls through to out_free_eeprom_blob.

The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing v6.13-rc1. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1-rc6.

An x86_64 allyesconfig build showed no new warnings. As we do not have supported Intel DVM wireless hardware and firmware to test with, no runtime testing was able to be performed.

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

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

	Fixed in 6.18.50 with commit 84ba017a1e1ea7896ed1e3258c947bdbfc5299c5
	Fixed in 7.2.4 with commit ad2a9fdca4a7100472be82ee6048c616fc589720
	Fixed in 7.3-rc1 with commit 67105abd6195a685a84dcb8a5daf54a1f4bfdb60

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-80948

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/wireless/intel/iwlwifi/dvm/main.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/84ba017a1e1ea7896ed1e3258c947bdbfc5299c5
	https://git.kernel.org/stable/c/ad2a9fdca4a7100472be82ee6048c616fc589720
	https://git.kernel.org/stable/c/67105abd6195a685a84dcb8a5daf54a1f4bfdb60