diff options
| author | 2026-05-26 11:21:39 +0800 | |
|---|---|---|
| committer | 2026-05-27 16:44:02 -0400 | |
| commit | 3c40d381ce04f9575a5d8b542898183c3b4b38dc (patch) | |
| tree | 0a8fd859ef2298f657365e4bc5d135bdf4b4cf3c /rust/kernel/gpu/ssh:/git@git.zx2c4.com | |
| parent | Bluetooth: btusb: Allow firmware re-download when version matches (diff) | |
Bluetooth: 6lowpan: check skb_clone() return value in send_mcast_pkt()
The skb_clone() function can return NULL if memory allocation fails.
send_mcast_pkt() calls skb_clone() without checking the return value, which
can lead to a NULL pointer dereference in send_pkt() when it dereferences
skb->data.
Add a NULL check after skb_clone() and skip the peer if the clone fails.
Fixes: 18722c247023 ("Bluetooth: Enable 6LoWPAN support for BT LE devices")
Signed-off-by: Zhao Dongdong <zhaodongdong@kylinos.cn>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'rust/kernel/gpu/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
