diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2026-07-09 21:22:47 +0200 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-07-10 14:38:50 +0200 |
| commit | 7bb03b2b01b814a9fc14afbfc2cbb2cca5b34750 (patch) | |
| tree | ae08e2458a6c9f3d78157f4e037477225edcfb2f /rust/zerocopy/git@git.tavy.me:linux-stable.git | |
| parent | 24d7e5e39b04c1ef8eee0688ca1527e879b22a40 (diff) | |
dm-integrity: fix leaking uninitialized kernel memory
If hash size is less than device's tuple size, dm-integrity is supposed
to zero the remaining space. There was a bug in the code that zeroing
didn't work. This commit fixes it.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Assisted-by: Claude:claude-opus-4.6
Fixes: fb0987682c62 ("dm-integrity: introduce the Inline mode")
Cc: stable@vger.kernel.org
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
