summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLinmao Li <lilinmao@kylinos.cn>2026-07-24 18:36:56 +0800
committerJohannes Berg <johannes.berg@intel.com>2026-07-28 16:00:40 +0200
commit8e4f5ca8bf67efc6006c066e873f0535bd7a9cd9 (patch)
tree02c0833216a83aa35c5d587995479d5ea065502a /tools/perf/scripts/python/flamegraph.py
parent905b418df8af2ca830c2237e029f174911b53415 (diff)
wifi: nxpwifi: reject zero-length extension elements in beacon IEs
nxpwifi_update_bss_desc_with_ie() dispatches on elem->data[0] for WLAN_EID_EXTENSION without checking that the element has a payload. A well-formed extension element carries at least the element ID extension byte, but nothing enforces that in the IE stream, and the loop accepts a zero-length element because its header alone fits. elem->data[0] then reads the byte after the element, which is past the kmemdup()ed IE buffer when that element ends the stream. Fixes: 73b01e57ed3e ("wifi: nxp: add nxpwifi driver for IW61x") Signed-off-by: Linmao Li <lilinmao@kylinos.cn> Link: https://patch.msgid.link/20260724103656.2494129-1-lilinmao@kylinos.cn Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions