wifi: iwlwifi: mvm: fix potential out-of-bounds read in iwl_mvm_nd_match_info_handler()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 5ac54afd4d97ad8d94fe250c83b1924eb6d2268c · < 744fabc338e87b95c4d1ff7c95bc8c0f834c6d99| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlwifi: mvm: fix potential out-of-bounds read in iwl_mvm_nd_match_info_handler()
The memcpy function assumes the dynamic array notif->matches is at least as large as the number of bytes to copy. Otherwise, results->matches may contain unwanted data. To guarantee safety, extend the validation in one of the checks to ensure sufficient packet length.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel's iwlwifi mvm handler may read beyond the bounds of a dynamic array when a packet is too short for the requested copy. This could put unwanted data in the match results. The input does not specify whether an attacker can trigger it, or any authentication or user-interaction requirements.
Engineers running Linux kernels with the iwlwifi mvm component should check their versions; affected versions are not specified.