device mapper fixes for 5.11-rc5
Subsystems (2)
Hi Linus,
The following changes since commit 19c329f6808995b142b3966301f217c831e7cf31:
Linux 5.11-rc4 (2021-01-17 16:37:05 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/for-5.11/dm-fixes-2
for you to fetch changes up to 809b1e4945774c9ec5619a8f4e2189b7b3833c0c:
dm: avoid filesystem lookup in dm_get_dev_t() (2021-01-21 15:06:45 -0500)
Please pull, thanks.
Mike
----------------------------------------------------------------
- Fix DM integrity crash if "recalculate" used without "internal_hash"
- Fix DM integrity "recalculate" support to prevent recalculating checksums if we use internal_hash or journal_hash with a key (e.g. HMAC). Use of crypto as a means to prevent malicious corruption requires further changes and was never a design goal for dm-integrity's primary usecase of detecting accidental corruption.
- Fix a benign dm-crypt copy-and-paste bug introduced as part of a fix that was merged for 5.11-rc4.
- Fix DM core's dm_get_device() to avoid filesystem lookup to get block device (if possible).
----------------------------------------------------------------
Hannes Reinecke (1):
dm: avoid filesystem lookup in dm_get_dev_t()
Ignat Korchagin (1):
dm crypt: fix copy and paste bug in crypt_alloc_req_aead
Mikulas Patocka (2):
dm integrity: fix a crash if "recalculate" used without "internal_hash" dm integrity: conditionally disable "recalculate" feature
.../admin-guide/device-mapper/dm-integrity.rst | 12 ++++++-- drivers/md/dm-crypt.c | 6 ++-- drivers/md/dm-integrity.c | 32 ++++++++++++++++++++-- drivers/md/dm-table.c | 15 ++++++++-- 4 files changed, 54 insertions(+), 11 deletions(-)
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
The pull request you sent on Fri, 22 Jan 2021 17:24:45 -0500:
The pull request you sent on Fri, 22 Jan 2021 17:24:45 -0500:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.gittags/for-5.11/dm-fixes-2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fe75a21824e78405b8d812421974524092250c63
Thank you!
Signature · 7 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html -- dm-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/dm-devel