net/eth: Fix stack-buffer-overflow in _eth_get_rss_ex_dst_addr()
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest7 patches 7 repliesApplied
- v57 patches 9 repliesSuperseded
- v46 patches 7 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 2 patches | 3 replies | Superseded | |
| v2 | 2 patches | 4 replies | Superseded | |
| v1 | 2 patches | 2 replies | Superseded |
Changes in v6 from the cover letter
- addressed Stefano's review comments:
- add now patch fixing in6_address offset
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net/eth: Use correct in6_address offset in _eth_get_rss_ex_dst_addr()net/ | +1 | 1 reply | |
| 2/7 | net/eth: Simplify _eth_get_rss_ex_dst_addr()net/ | +7 | 0 replies | |
| 3/7 | net/eth: Better describe _eth_get_rss_ex_dst_addr's offset argumentnet/ | +3 | 0 replies | |
| 4/7 | net/eth: Check size earlier in _eth_get_rss_ex_dst_addr()net/ | +6 | 0 replies | |
| 5/7 | net/eth: Check iovec has enough data earliernet/ | +1 | 0 replies | |
| 6/7 | net/eth: Read ip6_ext_hdr_routing buffer before accessing itMAINTAINERS net/ tests/ +1 more | +63 | 4 replies | |
| 7/7 | net/eth: Add an assert() and invert if() statement to simplify codenet/ | +6 | 0 replies |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Miroslav Rezanina | Stefano Garzarella |
|---|---|---|
| Series | R-b | |
| 1/7 | R-b | |
| 2/7 | R-b | R-b |
| 3/7 | R-b | |
| 4/7 | R-b | |
| 5/7 | ||
| 6/7 | R-b | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/7] net/eth: Fix stack-buffer-overflow in _eth_get_rss_ex_dst_addr()
I had a look at the patch from Miroslav trying to silence a compiler warning which in fact is a nasty bug. Here is a fix.
https://www.mail-archive.com/[email protected]/msg772735.html
Since v5:
- addressed Stefano's review comments:
- add now patch fixing in6_address offset
Since v4:
- reworked again, tested it with Fedora Raw Hide
Philippe Mathieu-Daudé (7):
net/eth: Use correct in6_address offset in _eth_get_rss_ex_dst_addr() net/eth: Simplify _eth_get_rss_ex_dst_addr()
net/eth: Better describe _eth_get_rss_ex_dst_addr's offset argument net/eth: Check size earlier in _eth_get_rss_ex_dst_addr() net/eth: Check iovec has enough data earlier
net/eth: Read ip6_ext_hdr_routing buffer before accessing it net/eth: Add an assert() and invert if() statement to simplify code
net/eth.c | 46 ++++++++++++++--------------- tests/qtest/fuzz-e1000e-test.c | 53 ++++++++++++++++++++++++++++++++++ MAINTAINERS | 1 + tests/qtest/meson.build | 1 + 4 files changed, 78 insertions(+), 23 deletions(-) create mode 100644 tests/qtest/fuzz-e1000e-test.c
Signature · 1 line
2.26.2