dm cache: fix OOB and error handling in cache creation and resizing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dm cache: correct the number of origin blocks to match the target lengthdrivers/ | +4 | 1 reply | |
| 2/5 | dm cache: fix flushing uninitialized delayed_work on cache_ctr errordrivers/ | +15 | 1 reply | |
| 3/5 | dm cache: fix out-of-bounds access to the dirty bitset when resizingdrivers/ | +1 | 1 reply | |
| 4/5 | dm cache: optimize dirty bit checking with find_next_bit when resizingdrivers/ | +8 | 1 reply | |
| 5/5 | dm cache: fix potential out-of-bounds access on the first resumedrivers/ | +16 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] dm cache: fix OOB and error handling in cache creation and resizing
This patch series addresses various issues during cache device initialization and resizing, includes out-of-bounds memory accesses, flushing uninitialized delayed_work, and optimizing bitset checking.
Ming-Hung Tsai (5):
dm cache: correct the number of origin blocks to match the target
length
dm cache: fix flushing uninitialized delayed_work on cache_ctr error dm cache: fix out-of-bounds access to the dirty bitset when resizing dm cache: optimize dirty bit checking with find_next_bit when resizing dm cache: fix potential out-of-bounds access on the first resume
drivers/md/dm-cache-target.c | 59 ++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 29 deletions(-)
Signature · 1 line
2.47.0