Fix some kernel panics due to the host sending invalid PDUs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 7 repliesIn review
- v12 patches 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU lengthdrivers/ | +12 | 1 reply | |
| 2/3 | nvmet-tcp: fix a crash in nvmet_req_complete()drivers/ | +1 | 4 replies | |
| 3/3 | nvmet-tcp: remove boilerplate codedrivers/ | +8 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Keith Busch | Sagi Grimberg |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | R-b | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/3] Fix some kernel panics due to the host sending invalid PDUs
I used the reproducer that was published here:
https://lore.kernel.org/linux-nvme/[email protected]/T/#m57f25abc944dc706125fed02cb99d86b56c5d36e
I didn't get the same call trace, however.
V2: Be sure the DATAL field is consistent with the packet size.
Add a third patch that cleans up the error code path.
Maurizio Lombardi (3):
nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU
length
nvmet-tcp: fix a crash in nvmet_req_complete()
nvmet-tcp: remove boilerplate code
drivers/nvme/target/tcp.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-)
Signature · 1 line
2.39.3