diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2022-09-07 13:30:58 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-09-07 16:37:27 -0700 |
commit | 916ef6232cc4b84db7082b4c3d3cf1753d9462ba (patch) | |
tree | bce625a93d60639ce4c7d9e4fa7842af1a20d197 /kernel/bpf/bpf_lru_list.h | |
parent | aafc203bbad4bf6cf394a34ea698c2b0b8affae0 (diff) | |
download | linux-916ef6232cc4b84db7082b4c3d3cf1753d9462ba.tar.bz2 |
dm: verity-loadpin: Only trust verity targets with enforcement
Verity targets can be configured to ignore corrupted data blocks.
LoadPin must only trust verity targets that are configured to
perform some kind of enforcement when data corruption is detected,
like returning an error, restarting the system or triggering a
panic.
Fixes: b6c1c5745ccc ("dm: Add verity helpers for LoadPin")
Reported-by: Sarthak Kukreti <sarthakkukreti@chromium.org>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Sarthak Kukreti <sarthakkukreti@chromium.org>
Cc: stable@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220907133055.1.Ic8a1dafe960dc0f8302e189642bc88ebb785d274@changeid
Diffstat (limited to 'kernel/bpf/bpf_lru_list.h')
0 files changed, 0 insertions, 0 deletions