| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2024-53059: wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd() |
| |
| 1. The size of the response packet is not validated. |
| 2. The response buffer is not freed. |
| |
| Resolve these issues by switching to iwl_mvm_send_cmd_status(), |
| which handles both size validation and frees the buffer. |
| |
| The Linux kernel CVE team has assigned CVE-2024-53059 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.1 with commit f130bb75d8817c560b48c4d1a0e5279968a0859d and fixed in 5.4.285 with commit 9c98ee7ea463a838235e7a0e35851b38476364f2 |
| Issue introduced in 5.1 with commit f130bb75d8817c560b48c4d1a0e5279968a0859d and fixed in 5.10.229 with commit 45a628911d3c68e024eed337054a0452b064f450 |
| Issue introduced in 5.1 with commit f130bb75d8817c560b48c4d1a0e5279968a0859d and fixed in 5.15.171 with commit 3f45d590ccbae6dfd6faef54efe74c30bd85d3da |
| Issue introduced in 5.1 with commit f130bb75d8817c560b48c4d1a0e5279968a0859d and fixed in 6.1.116 with commit 64d63557ded6ff3ce72b18ab87a6c4b1b652161c |
| Issue introduced in 5.1 with commit f130bb75d8817c560b48c4d1a0e5279968a0859d and fixed in 6.6.60 with commit 3eb986c64c6bfb721950f9666a3b723cf65d043f |
| Issue introduced in 5.1 with commit f130bb75d8817c560b48c4d1a0e5279968a0859d and fixed in 6.11.7 with commit 9480c3045f302f43f9910d2d556d6cf5a62c1822 |
| Issue introduced in 5.1 with commit f130bb75d8817c560b48c4d1a0e5279968a0859d and fixed in 6.12 with commit 07a6e3b78a65f4b2796a8d0d4adb1a15a81edead |
| |
| 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-2024-53059 |
| 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/mvm/fw.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/9c98ee7ea463a838235e7a0e35851b38476364f2 |
| https://git.kernel.org/stable/c/45a628911d3c68e024eed337054a0452b064f450 |
| https://git.kernel.org/stable/c/3f45d590ccbae6dfd6faef54efe74c30bd85d3da |
| https://git.kernel.org/stable/c/64d63557ded6ff3ce72b18ab87a6c4b1b652161c |
| https://git.kernel.org/stable/c/3eb986c64c6bfb721950f9666a3b723cf65d043f |
| https://git.kernel.org/stable/c/9480c3045f302f43f9910d2d556d6cf5a62c1822 |
| https://git.kernel.org/stable/c/07a6e3b78a65f4b2796a8d0d4adb1a15a81edead |