Re: [PATCH] Bluetooth: virtio_bt: clamp rx length before skb_put

Michael Bommarito
2026-04-21T15:19:30Z

On Mon, Apr 20, 2026 at 3:17 PM Luiz Augusto von Dentz
<luiz.dentz@gmail.com> wrote:
> All seem like valid comments to me, first one is odd to me thought,
> never would have though that skb_tailroom wouldn't be enough to check
> if using `skb_put` is safe.

Thanks, those were definitely gnarly. Went back in with
cscope/libclang and found another spot to guard too.

Let me know if you want me to re-organize/separate these into a
patchset instead of one bigger patch.