Skip to contentSkip to conversation

CVE-2026-98710: wifi: iwlegacy: 3945: free EEPROM data on remove

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

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: iwlegacy: 3945: free EEPROM data on remove

il3945_pci_probe() calls il_eeprom_init(), which allocates memory for the EEPROM data. The probe failure paths release this allocation with il_eeprom_free(), but the remove path does not free it after a successful probe.

As a result, the EEPROM data is leaked when the PCI device is removed.

Free the EEPROM data in il3945_pci_remove() before releasing the mac80211 hardware structure.

This issue was found by manual code inspection.

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

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

	Issue introduced in 2.6.27 with commit 073d3f5f1b3b6512eb82a3d40c84dedb14dc6f73 and fixed in 6.12.113 with commit ab7bee2cd55f665cb29fa0ace2ec14020e0a452e
	Issue introduced in 2.6.27 with commit 073d3f5f1b3b6512eb82a3d40c84dedb14dc6f73 and fixed in 6.18.56 with commit cd8f8f45d81aac384311701d7ffe26567af2e783
	Issue introduced in 2.6.27 with commit 073d3f5f1b3b6512eb82a3d40c84dedb14dc6f73 and fixed in 7.2.10 with commit 89f9d6186dc7429f38132635526e28549c913c0b
	Issue introduced in 2.6.27 with commit 073d3f5f1b3b6512eb82a3d40c84dedb14dc6f73 and fixed in 7.3-rc6 with commit f8ebe286394c0bbb4a6dbacb182a34ab6376922d

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

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/iwlegacy/3945-mac.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/ab7bee2cd55f665cb29fa0ace2ec14020e0a452e
	https://git.kernel.org/stable/c/cd8f8f45d81aac384311701d7ffe26567af2e783
	https://git.kernel.org/stable/c/89f9d6186dc7429f38132635526e28549c913c0b
	https://git.kernel.org/stable/c/f8ebe286394c0bbb4a6dbacb182a34ab6376922d