Description
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.
Product status
5ac54afd4d97ad8d94fe250c83b1924eb6d2268c (git) before f6abac936a0dfd31d6c3e49205ec0ee75a8f887f
5ac54afd4d97ad8d94fe250c83b1924eb6d2268c (git) before ffbed27ba15ef80d1c622eeedbfef03e501ae134
5ac54afd4d97ad8d94fe250c83b1924eb6d2268c (git) before e67d8c626ace80b0fa2b48c8ec0a46b508c93442
5ac54afd4d97ad8d94fe250c83b1924eb6d2268c (git) before dd90880eb5ec5442b37eb2b95688f4a63f4883e3
5ac54afd4d97ad8d94fe250c83b1924eb6d2268c (git) before ca0e9491b98ca4c5b44204b0b3dd8062a3b5fba2
5ac54afd4d97ad8d94fe250c83b1924eb6d2268c (git) before 744fabc338e87b95c4d1ff7c95bc8c0f834c6d99
6.1
Any version before 6.1
6.1.168 (semver)
6.6.134 (semver)
6.12.81 (semver)
6.18.22 (semver)
6.19.12 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/f6abac936a0dfd31d6c3e49205ec0ee75a8f887f
git.kernel.org/...c/ffbed27ba15ef80d1c622eeedbfef03e501ae134
git.kernel.org/...c/e67d8c626ace80b0fa2b48c8ec0a46b508c93442
git.kernel.org/...c/dd90880eb5ec5442b37eb2b95688f4a63f4883e3
git.kernel.org/...c/ca0e9491b98ca4c5b44204b0b3dd8062a3b5fba2
git.kernel.org/...c/744fabc338e87b95c4d1ff7c95bc8c0f834c6d99