[PATCH 6.18 0/4] dm-verity fixes

Eric Biggers <[email protected]> Tue, 28 Jul 2026 22:19:05 -0700
Newsgroups dev.linux.lists.dm-devel,org.kernel.vger.stable
Message-ID <[email protected]>
This series backports some dm-verity fixes to 6.18 that failed to apply
earlier.

The lines added/removed are the same as the upstream commits.  The
conflicts were just in the context.

Eric Biggers (3):
  dm-verity-fec: fix the size of dm_verity_fec_io::erasures
  dm-verity-fec: fix reading parity bytes split across blocks (take 3)
  dm-verity-fec: replace {MAX,MIN}_RSN with {MIN,MAX}_ROOTS

Mikulas Patocka (1):
  dm-verity: fix buffer overflow in FEC calculation

 drivers/md/dm-verity-fec.c | 110 +++++++++++++++++--------------------
 drivers/md/dm-verity-fec.h |   6 +-
 2 files changed, 52 insertions(+), 64 deletions(-)


base-commit: 221fc2f4d0eda59d02af2e751a9282fa013a8e97
-- 
2.55.0