net/bnxt: bounds checking patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | eal: add portable way to check for math overflowlib/ lib/ | +75 | 1 reply | |
| 2/6 | net/bnxt: fix potential data racedrivers/ | +4 | 2 replies | |
| 3/6 | net/bnxt: avoid potential out of bounds readdrivers/ | +6 | 0 replies | |
| 4/6 | net/bnxt: check for integer overflow in buffer sizingdrivers/ | +4 | 0 replies | |
| 5/6 | net/bnxt: add integer underflow checkdrivers/ | +3 | 0 replies | |
| 6/6 | net/bnxt: sanitize max_l2_ctxdrivers/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [dpdk-dev] [PATCH 0/6] net/bnxt: bounds checking patches
This set of patches came from security review of bnxt driver. It introduces a set of overflow macros that could be more widely used in other places in DPDK to check for math overflows.
Stephen Hemminger (6):
eal: add portable way to check for math overflow net/bnxt: fix potential data race
net/bnxt: avoid potential out of bounds read net/bnxt: check for integer overflow in buffer sizing net/bnxt: add integer underflow check net/bnxt: sanitize max_l2_ctx
drivers/net/bnxt/bnxt_hwrm.c | 31 ++++++-- lib/librte_eal/common/Makefile | 2 +- lib/librte_eal/common/include/rte_overflow.h | 74 ++++++++++++++++++++ 3 files changed, 101 insertions(+), 6 deletions(-) create mode 100644 lib/librte_eal/common/include/rte_overflow.h
Signature · 1 line
2.20.1