net/packet: fix multiple overflow issues in ring buffers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 4 repliesIn review
- v15 patches 5 repliesSuperseded
Changes in v2 from the cover letter
- remove cleanup patches, will send in a separate patchset
- use a > UINT_MAX / b to check for a * b overflow
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net/packet: fix overflow in check for priv area sizenet/ | +2 | 1 reply | |
| 2/3 | net/packet: fix overflow in check for tp_frame_nrnet/ | +2 | 1 reply | |
| 3/3 | net/packet: fix overflow in check for tp_reservenet/ | +2 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Eric Dumazet |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net v2 0/3] net/packet: fix multiple overflow issues in ring buffers
This patchset addresses multiple overflows and signedness-related issues in packet socket ring buffers.
Changes in v2:
- remove cleanup patches, will send in a separate patchset
- use a > UINT_MAX / b to check for a * b overflow
Andrey Konovalov (3):
net/packet: fix overflow in check for priv area size net/packet: fix overflow in check for tp_frame_nr net/packet: fix overflow in check for tp_reserve
net/packet/af_packet.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Signature · 1 line
2.12.2.564.g063fe858b8-goog