[dm-devel] [git pull] device mapper fixes for 5.11-rc5

Mike Snitzer snitzer at redhat.com
Fri Jan 22 22:24:45 UTC 2021


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(-)




More information about the dm-devel mailing list