Files
Mikulas Patocka ac99781115 dm-verity: make error counter atomic
[ Upstream commit 8ec4d9c5a5 ]

The error counter "v->corrupted_errs" was not atomic, thus it could be
subject to race conditions. The call to
dm_audit_log_target("max-corrupted-errors") may be skipped due to the
races.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Assisted-by: Claude:claude-opus-4.6
Fixes: 65ff5b7ddf ("dm verity: add error handling modes for corrupted blocks")
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-08-03 11:15:38 +02:00
..
…
…
…
…
…
2026-07-24 16:03:40 +02:00
2026-03-04 07:20:44 -05:00
…
…
2026-03-04 07:19:46 -05:00
…
…
…
…
…