aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-08-13 17:12:53 +0300
committerKalle Valo <[email protected]>2020-08-17 13:24:01 +0300
commit2705cd7558e718a7240c64eb0afb2edad5f8c190 (patch)
treede8a157cc13b4ce74f54695659e36c40f6612029 /tools/perf/scripts/python/bin/stackcollapse-record
parent5024f21c159f8c1668f581fff37140741c0b1ba9 (diff)
ath9k: Fix potential out of bounds in ath9k_htc_txcompletion_cb()
The value of "htc_hdr->endpoint_id" comes from skb->data so Smatch marks it as untrusted so we have to check it before using it as an array offset. This is similar to a bug that syzkaller found in commit e4ff08a4d727 ("ath9k: Fix use-after-free Write in ath9k_htc_rx_msg") so it is probably a real issue. Fixes: fb9987d0f748 ("ath9k_htc: Support for AR9271 chipset.") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/20200813141253.GA457408@mwanda
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions