diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2024-01-11 14:07:25 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-01-18 14:50:39 +0100 |
commit | cf4a0d840ecc72fcf16198d5e9c505ab7d5a5e4d (patch) | |
tree | 83af23eb1d03b64426e1e45257b199382bda1307 /fs/minix | |
parent | wifi: mac80211: fix potential sta-link leak (diff) | |
download | linux-cf4a0d840ecc72fcf16198d5e9c505ab7d5a5e4d.tar.xz linux-cf4a0d840ecc72fcf16198d5e9c505ab7d5a5e4d.zip |
wifi: iwlwifi: fix a memory corruption
iwl_fw_ini_trigger_tlv::data is a pointer to a __le32, which means that
if we copy to iwl_fw_ini_trigger_tlv::data + offset while offset is in
bytes, we'll write past the buffer.
Cc: stable@vger.kernel.org
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218233
Fixes: cf29c5b66b9f ("iwlwifi: dbg_ini: implement time point handling")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240111150610.2d2b8b870194.I14ed76505a5cf87304e0c9cc05cc0ae85ed3bf91@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'fs/minix')
0 files changed, 0 insertions, 0 deletions