diff options
| author | 2026-09-21 23:41:20 +0300 | |
|---|---|---|
| committer | 2026-10-14 11:56:35 +0300 | |
| commit | 5450e8b28cb4bae56dbf6027541668c2312608bf (patch) | |
| tree | 5e9b886d3fa82b52d94250bfab4c279f4c018f5d /scripts/Makefile.thinlto | |
| parent | wifi: iwlwifi: mvm: remove SRAM access through debugfs (diff) | |
wifi: iwlwifi: dbg: validate dram_alloc_id from debug TLV
iwl_dbg_tlv_alloc_region() did not validate reg->dram_alloc_id for
IWL_FW_INI_REGION_DRAM_BUFFER regions, and the DRAM monitor dump
consumers in fw/dbg.c used it directly to index the fw_mon_ini array.
Check that dram_alloc_id is in range at TLV parse time, and add bounds
checks in iwl_dump_ini_mon_dram_iter(), iwl_dump_ini_mon_dram_ranges()
and iwl_dump_ini_mon_dram_get_size() before accessing the array.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20260921233730.4c896fab0bb7.I3296a5523ce58df085ea0867694ea157c00945bd@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
