CVE-2026-93062: wifi: iwlwifi: guard against division by zero in iwl_dbg_tlv_alloc_fragments
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlwifi: guard against division by zero in iwl_dbg_tlv_alloc_fragments
Make sure we don't end-up with a num_frags = 0 situation. For that, check that the required size is not 0 and put a checker on num_frags as well.
The Linux kernel CVE team has assigned CVE-2026-93062 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.5 with commit 14124b25780db542b2bc31aadecc37a2a6534f40 and fixed in 6.6.157 with commit 11dde137f1258004bd1ed76ea2480a641e1fb753 Issue introduced in 5.5 with commit 14124b25780db542b2bc31aadecc37a2a6534f40 and fixed in 6.12.110 with commit 6df26657c626b63b5a47026128cc021f66722a41 Issue introduced in 5.5 with commit 14124b25780db542b2bc31aadecc37a2a6534f40 and fixed in 6.18.52 with commit f26f72c2448829701d7c3e840fac9d168a98a955 Issue introduced in 5.5 with commit 14124b25780db542b2bc31aadecc37a2a6534f40 and fixed in 7.2.6 with commit bc7a7ad93070879c74cdcb107ebb1a02ec212712 Issue introduced in 5.5 with commit 14124b25780db542b2bc31aadecc37a2a6534f40 and fixed in 7.3-rc1 with commit 9318bc0c41b24705690cf80d1596cf6b711e7027
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-93062
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/iwl-dbg-tlv.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/11dde137f1258004bd1ed76ea2480a641e1fb753 https://git.kernel.org/stable/c/6df26657c626b63b5a47026128cc021f66722a41 https://git.kernel.org/stable/c/f26f72c2448829701d7c3e840fac9d168a98a955 https://git.kernel.org/stable/c/bc7a7ad93070879c74cdcb107ebb1a02ec212712 https://git.kernel.org/stable/c/9318bc0c41b24705690cf80d1596cf6b711e7027