[dm-devel] [git pull] device mapper fixes for 5.19-rc3

Mike Snitzer snitzer at kernel.org
Fri Jun 17 16:22:54 UTC 2022


Hi Linus,

The following changes since commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3:

  Linux 5.19-rc2 (2022-06-12 16:11:37 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/for-5.19/dm-fixes-3

for you to fetch changes up to 85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0:

  dm mirror log: round up region bitmap size to BITS_PER_LONG (2022-06-16 19:39:29 -0400)

Please pull, thanks.
Mike

----------------------------------------------------------------
- Fix a race in DM core's dm_start_io_acct that could result in double
  accounting for abnormal IO (e.g. discards, write zeroes, etc).

- Fix a use-after-free in DM core's dm_put_live_table_bio.

- Fix a race for REQ_NOWAIT bios being issued despite no support from
  underlying DM targets (due to DM table reload at an "unlucky" time)

- Fix access beyond allocated bitmap in DM mirror's log.

----------------------------------------------------------------
Benjamin Marzinski (1):
      dm: fix race in dm_start_io_acct

Mikulas Patocka (3):
      dm: fix use-after-free in dm_put_live_table_bio
      dm: fix narrow race for REQ_NOWAIT bios being issued despite no support
      dm mirror log: round up region bitmap size to BITS_PER_LONG

 drivers/md/dm-log.c |  3 +--
 drivers/md/dm.c     | 24 +++++++++++++++++-------
 2 files changed, 18 insertions(+), 9 deletions(-)



More information about the dm-devel mailing list