Hi Linus
The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354:
Linux 6.12-rc3 (2024-10-13 14:33:32 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git
tags/for-6.12/dm-fixes-2
for you to fetch changes up to c0ade5d98979585d4f5a93e4514c2e9a65afa08d:
dm cache: fix potential out-of-bounds access on the first resume (2024-11-04
17:39:31 +0100)
Please, pull, thanks
Mikulas
----------------------------------------------------------------
- fix memory safety bugs in dm-cache
- fix restart/panic logic in dm-verity
- fix 32-bit unsigned integer overflow in dm-unstriped
- fix a device mapper crash if blk_alloc_disk fails
-----BEGIN PGP SIGNATURE-----
iIoEABYIADIWIQRnH8MwLyZDhyYfesYTAyx9YGnhbQUCZyj5MhQcbXBhdG9ja2FA
cmVkaGF0LmNvbQAKCRATAyx9YGnhbSpeAQCcyhjrFxvFQuTJm/nv65Txwqw3+nvu
i45pJ1DbK1awEQD/W0xUhhWrHfXwnb2dHV/mowLSnlou7uUh/JUx9q24OQg=
=5qjV
-----END PGP SIGNATURE-----
----------------------------------------------------------------
Mikulas Patocka (2):
dm: fix a crash if blk_alloc_disk fails
dm-verity: don't crash if panic_on_corruption is not selected
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
Zichen Xie (1):
dm-unstriped: cast an operand to sector_t to prevent potential uint32_t
overflow
drivers/md/dm-cache-target.c | 59 ++++++++++++++++++++++---------------------
drivers/md/dm-unstripe.c | 4 +--
drivers/md/dm-verity-target.c | 9 ++++---
drivers/md/dm-verity.h | 1 +
drivers/md/dm.c | 4 ++-
5 files changed, 42 insertions(+), 35 deletions(-)