Skip to content

nbd: fix use-after-freed and double lock bugs

[email protected] linux-block 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- remove the likely()

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nbd: fix use-after-freed crash for nbd->recv_workqdrivers/block/nbd.c+20 -51 reply
2/2nbd: add comments about double lock for config_lock confusiondrivers/block/nbd.c+11 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMing LeiJosef Bacik
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] nbd: fix use-after-freed and double lock bugs

From: Xiubo Li <[email protected]>

Changed in V3:
- remove the likely()

Changed in V2:
- fixed possible double lock issue in recv_work().

Xiubo Li (2):
nbd: fix use-after-freed crash for nbd->recv_workq
nbd: add comments about double lock for config_lock confusion

 drivers/block/nbd.c | 36 +++++++++++++++++++++++++++++++-----
 1 file changed, 31 insertions(+), 5 deletions(-)
Signature · 1 line
2.18.4