diff options
author | 2025-05-08 22:15:20 +0800 | |
---|---|---|
committer | 2025-05-22 13:05:39 -0400 | |
commit | c27046c98bd26d4270c076e7d851d68aaaf964a3 (patch) | |
tree | d0e250b719baf4204639d653a72643efc5317178 /net/unix/af_unix.c | |
parent | Bluetooth: L2CAP: Fix not checking l2cap_chan security level (diff) | |
download | wireguard-linux-c27046c98bd26d4270c076e7d851d68aaaf964a3.tar.xz wireguard-linux-c27046c98bd26d4270c076e7d851d68aaaf964a3.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 '')
0 files changed, 0 insertions, 0 deletions