Linux Device Mapper development
 help / color / mirror / Atom feed
From: Mikulas Patocka <mpatocka@redhat.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Benjamin Marzinski <bmarzins@redhat.com>,
	 Cao Guanghui <caoguanghui@kylinos.cn>,
	 Genjian Zhang <zhanggenjian@kylinos.cn>,
	 Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
	 Ingo Blechschmidt <iblech@speicherleck.de>,
	 Ming-Hung Tsai <mtsai@redhat.com>,
	 Samuel Moelius <sam.moelius@trailofbits.com>,
	 Alasdair Kergon <agk@redhat.com>,
	Benjamin Marzinski <bmarzins@redhat.com>,
	 dm-devel@lists.linux.dev
Subject: [git pull] device mapper fixes for 7.2
Date: Sat, 11 Jul 2026 21:37:42 +0200 (CEST)	[thread overview]
Message-ID: <624cc8db-c745-7cd2-846f-efbb6193aa33@redhat.com> (raw)

Hi Linus

The following changes since commit 8cdeaa50eae8dad34885515f62559ee83e7e8dda:

  Linux 7.2-rc2 (2026-07-05 14:44:06 -1000)

are available in the Git repository at:

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

for you to fetch changes up to 4b22d0801fadfcae2e106e6ba32e49439c7c7ebf:

  dm thin metadata: fix superblock refcount leak on snapshot shadow failure (2026-07-11 15:18:51 +0200)

Please, pull. Thanks.

Mikulas

----------------------------------------------------------------
- dm-log: fix overflow on 32-bit machines

- dm-era: fix out of bounds memory access; fix crashes on invalid args

- dm-verity: fix buffer overflow in forward error correction

- dm-thin: fix misbehavior on I/O failures

- dm-pcache: fix NULL pointer dereference on invalid arguments

- dm-inlinecrypt: fix memory leak on error handling

- dm-integrity: fix ignoring the 'fix_hmac' option on device open

- dm: don't store the keyring in memory for a long term

- 12 miscellaneous fixes for bugs found by Claude Opus 4.6
-----BEGIN PGP SIGNATURE-----

iIoEABYIADIWIQRnH8MwLyZDhyYfesYTAyx9YGnhbQUCalKUaxQcbXBhdG9ja2FA
cmVkaGF0LmNvbQAKCRATAyx9YGnhbbQwAP9pHgNUinD95o9vnu3d3QNmjnEDmrgZ
+kxNFRpWXvbzKQEArYWPLS/2dwf4nG0Fa8PtJTwkjI/6UeublAy5MrdTqA0=
=pkBx
-----END PGP SIGNATURE-----

----------------------------------------------------------------
Benjamin Marzinski (1):
      dm-log: fix a bitset_size overflow on 32bit machines

Cao Guanghui (2):
      dm era: fix NULL pointer dereference in metadata_open()
      dm era: fix error code propagation in era_ctr()

Christophe JAILLET (1):
      dm-inlinecrypt: Fix an error handling path in inlinecrypt_ctr()

Genjian Zhang (1):
      dm thin metadata: fix superblock refcount leak on snapshot shadow failure

Ingo Blechschmidt (1):
      dm: avoid leaking the caller's thread keyring via the table device file

Mikulas Patocka (14):
      dm-verity: fix buffer overflow in FEC calculation
      dm-integrity: fix the 'fix_hmac' option
      dm-integrity: fix leaking uninitialized kernel memory
      dm-integrity: don't increment hash_offset twice
      dm-integrity: fix a bug if the bio is out of limits
      dm_early_create: fix freeing used table on dm_resume failure
      dm-ioctl: fix a possible overflow in list_version_get_info
      dm-verity: avoid double increment of &use_bh_wq_enabled
      dm-verity: fix a possible NULL pointer dereference
      dm-verity: increase sprintf buffer size
      dm-verity: make error counter atomic
      dm-bufio: fix wrong count calculation in dm_bufio_issue_discard
      dm-stats: fix merge accounting
      dm-stats: fix dm_jiffies_to_msec64

Ming-Hung Tsai (1):
      dm thin metadata: fix metadata snapshot consistency on commit failure

Samuel Moelius (2):
      dm era: fix out-of-bounds memory access for non-zero start sector
      dm-pcache: reject option groups without values

 drivers/md/dm-bufio.c            |  4 ++-
 drivers/md/dm-era-target.c       | 16 ++++++----
 drivers/md/dm-inlinecrypt.c      |  4 ++-
 drivers/md/dm-integrity.c        | 26 +++++++++++-----
 drivers/md/dm-ioctl.c            |  4 +--
 drivers/md/dm-log.c              |  3 ++
 drivers/md/dm-pcache/dm_pcache.c |  8 +++++
 drivers/md/dm-stats.c            | 10 +++---
 drivers/md/dm-thin-metadata.c    | 67 +++++++++++++---------------------------
 drivers/md/dm-verity-fec.c       |  4 +--
 drivers/md/dm-verity-fec.h       |  2 +-
 drivers/md/dm-verity-loadpin.c   |  2 +-
 drivers/md/dm-verity-target.c    | 16 ++++++----
 drivers/md/dm-verity.h           |  2 +-
 drivers/md/dm.c                  | 11 ++++++-
 15 files changed, 97 insertions(+), 82 deletions(-)


             reply	other threads:[~2026-07-11 19:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-11 19:37 Mikulas Patocka [this message]
2026-07-11 20:22 ` [git pull] device mapper fixes for 7.2 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=624cc8db-c745-7cd2-846f-efbb6193aa33@redhat.com \
    --to=mpatocka@redhat.com \
    --cc=agk@redhat.com \
    --cc=bmarzins@redhat.com \
    --cc=caoguanghui@kylinos.cn \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=dm-devel@lists.linux.dev \
    --cc=iblech@speicherleck.de \
    --cc=mtsai@redhat.com \
    --cc=sam.moelius@trailofbits.com \
    --cc=torvalds@linux-foundation.org \
    --cc=zhanggenjian@kylinos.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox