usb: check RNDIS offsets & length
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | usb: check RNDIS message lengthhw/ | +9 | 0 replies | |
| 2/2 | usb: check RNDIS buffer offsets & lengthhw/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/2] usb: check RNDIS offsets & length
From: Prasad J Pandit <[email protected]>
Hello,
When processing remote NDIS control message packets, the USB Net device emulator uses a fixed length(4096) data buffer. The incoming packet length could exceed that OR informationBufferOffset & Length combination could overflow and cross that range. These two patches add checks to avoid such overflows.
Thank you.
---
Prasad J Pandit (2):
usb: check RNDIS message length
usb: check RNDIS buffer offsets & length
hw/usb/core.c | 18 +++++++++--------- hw/usb/dev-network.c | 9 ++++++--- 2 files changed, 15 insertions(+), 12 deletions(-)
Signature · 1 line
2.5.0