blk-mq: backport CVE-2023-54227 to 6.1.y
Status from this message: Queued the pair for 6.1, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | blk-mq: fix tags leak when shrink nr_hw_queuesblock/ | +5 | 0 replies | |
| 2/2 | blk-mq: fix tags UAF when shrinking q->nr_hw_queuesblock/ | +7 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ming Lei | Hannes Reinecke |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 6.1.y 0/2] blk-mq: backport CVE-2023-54227 to 6.1.y
Hi Greg, Sasha, and block maintainers,
I am continuing with the smaller CVE backports still missing from 6.1.y. This series handles CVE-2023-54227. The first patch frees excess tag sets after a queue-count reduction. Its immediate upstream follow-up moves that free past hctx resizing so the repair itself cannot race into a UAF; they need to travel together.
Both changes are already inherited by v6.6 and every later mainline release.
Could you please queue the pair for 6.1.y?
Thanks,
Artem Dinaburg
AI assistance: An LLM helped find the missing CVE fix, adapt it, and prepare the draft; I reviewed the code and build output.
Chengming Zhou (2):
blk-mq: fix tags leak when shrink nr_hw_queues
blk-mq: fix tags UAF when shrinking q->nr_hw_queues
block/blk-mq.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Signature · 1 line
2.39.5