Skip to content

hcidump: fix buffer overflow

Cho, Yu-Chen linux-bluetooth 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3hcidump: fixed AMP Assoc dump heap-over-flowtools/parser/amp.c+34 -311 reply
1/3hcidump: fixed AMP Assoc dump heap-over-flowtools/parser/amp.c+38 -310 replies
2/3hcidump:fixed hci frame dump stack-buffer-overflowtools/parser/hci.c+3 -01 reply
3/3hcidump: Fix set_ext_ctrl() global buffer overflowtools/parser/l2cap.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3 BlueZ] hcidump: fix buffer overflow

Bugs were simple buffer overflow that was actually discovered already couple years ago by op7ic:https://www.spinics.net/lists/linux-bluetooth/msg68892.html Caused by missing boundary checks before accessing.

Cho, Yu-Chen (3):
hcidump: fixed AMP Assoc dump heap-over-flow hcidump:fixed hci frame dump stack-buffer-overflow
hcidump: Fix set_ext_ctrl() global buffer overflow

 tools/parser/amp.c   | 65 +++++++++++++++++++++++---------------------
 tools/parser/hci.c   |  3 ++
 tools/parser/l2cap.c |  2 +-
 3 files changed, 38 insertions(+), 32 deletions(-)
Signature · 1 line
2.19.1