summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorPengpeng Hou <pengpeng@iscas.ac.cn>2026-07-15 21:57:50 +0800
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>2026-07-15 20:51:28 +0300
commit7410e4548a17bd868dfc60b48f2e78eacde3ad78 (patch)
tree6873b7ac6db00589cdd723d3cea44c7f6c103e6d /tools/perf/scripts/python/netdev-times.py
parent94280e6e0c69a5327e377803732f494d8b5a74cd (diff)
wifi: iwlwifi: validate PNVM SKU TLV length
iwl_pnvm_parse() reads an iwl_sku_id from an IWL_UCODE_TLV_PNVM_SKU payload after only checking that the generic TLV payload is present. A short type-specific payload can therefore make the three data[] reads extend beyond the TLV. Reject SKU TLVs shorter than the structure before accessing it. Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Link: https://patch.msgid.link/20260715135916.24417-1-pengpeng@iscas.ac.cn Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions