diff options
| author | 2026-09-23 16:04:45 +0300 | |
|---|---|---|
| committer | 2026-10-14 11:56:36 +0300 | |
| commit | e8fa92f169ff569e323be5073c4358e5bc91ddd4 (patch) | |
| tree | f296c8996cd9a0638c184be234e840a1b522b0c0 /scripts/Makefile.thinlto | |
| parent | wifi: iwlwifi: mvm: remove indirection_tbl debugfs entry (diff) | |
wifi: iwlwifi: mvm: debugfs: validate TAS response and loop bounds
iwl_dbgfs_tas_get_status_read() trusted the FW response layout and
iterated with rsp->in_dual_radio + 1 without capping to the
tas_status_mac array size. A malformed or inconsistent response could
lead to out-of-bounds access while printing TAS status.
Validate the GET_TAS_STATUS payload length before dereferencing rsp,
free the response on early allocation failure, and cap both TAS loops
with array size.
This keeps the existing behavior for valid responses and hardens the
debugfs path against invalid firmware data.
Signed-off-by: Pagadala Yesu Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Link: https://patch.msgid.link/20260923160318.f03b511b938e.Ib5069ecf15340506498a28d965c49387cab609b1@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
