summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorLi Qiang <liqiang01@kylinos.cn>2026-07-16 16:47:28 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-08-07 12:36:22 -0400
commit6afadcff79b157a4770c4e987a6005bff40a670b (patch)
tree43e3eeaae096cfd862c2924a946d9426681cd078 /tools/perf/scripts/python/bin/stackcollapse-report
parente0650618ee8395cdefde1686e31d3ff5c253955e (diff)
Bluetooth: bfusb: validate received block boundaries
The USB receive path trusts the block header to contain the required number of bytes and passes it to the reassembly routine. The routine also trusts a malformed HCI packet type and can append more data than the skb allocated from the advertised packet length. A malformed USB transfer can therefore cause out-of-bounds reads or an skb tail overwrite. Validate block header availability, declared block size, packet type, and reassembly tailroom. Drop the partial frame on an invalid block. Signed-off-by: Li Qiang <liqiang01@kylinos.cn> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions