Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 14124b25780db542b2bc31aadecc37a2a6534f40 before 11dde137f1258004bd1ed76ea2480a641e1fb753; affected 14124b25780db542b2bc31aadecc37a2a6534f40 before 6df26657c626b63b5a47026128cc021f66722a41; affected 14124b25780db542b2bc31aadecc37a2a6534f40 before f26f72c2448829701d7c3e840fac9d168a98a955; affected 14124b25780db542b2bc31aadecc37a2a6534f40 before bc7a7ad93070879c74cdcb107ebb1a02ec212712; affected 14124b25780db542b2bc31aadecc37a2a6534f40 before 9318bc0c41b24705690cf80d1596cf6b711e7027 |
| Linux / Linux | affected 5.5; unaffected 0 before 5.5; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- 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