wifi: iwlwifi: guard against division by zero in iwl_dbg_tlv_alloc_fragments
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 14124b25780db542b2bc31aadecc37a2a6534f40 · < 9318bc0c41b24705690cf80d1596cf6b711e7027| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's iwlwifi driver can reach a division-by-zero condition when allocating debug TLV fragments if the required size or fragment count is zero. The description does not specify how this condition can be triggered, whether authentication or user interaction is needed, or its resulting impact.
Engineers running Linux kernels with the iwlwifi driver should check whether their kernel includes the fix; affected versions are not specified.