aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorEn-Wei Wu <en-wei.wu@canonical.com>2025-05-08 22:15:20 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-05-15 13:12:54 -0400
commit4bcb0c7dc25446b99fc7a8fa2a143d69f3314162 (patch)
tree92b5d12349d200f070b74f9a417b464dc9c4d0a4 /scripts/gdb/linux/utils.py
parentBluetooth: L2CAP: Fix not checking l2cap_chan security level (diff)
downloadwireguard-linux-4bcb0c7dc25446b99fc7a8fa2a143d69f3314162.tar.xz
wireguard-linux-4bcb0c7dc25446b99fc7a8fa2a143d69f3314162.zip
Bluetooth: btusb: use skb_pull to avoid unsafe access in QCA dump handling
Use skb_pull() and skb_pull_data() to safely parse QCA dump packets. This avoids direct pointer math on skb->data, which could lead to invalid access if the packet is shorter than expected. Fixes: 20981ce2d5a5 ("Bluetooth: btusb: Add WCN6855 devcoredump support") Signed-off-by: En-Wei Wu <en-wei.wu@canonical.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions