summaryrefslogtreecommitdiffstats
path: root/security/loadpin
diff options
context:
space:
mode:
authorMatthias Kaehlcke <mka@chromium.org>2022-09-07 13:30:58 -0700
committerKees Cook <keescook@chromium.org>2022-09-07 16:37:27 -0700
commit916ef6232cc4b84db7082b4c3d3cf1753d9462ba (patch)
treebce625a93d60639ce4c7d9e4fa7842af1a20d197 /security/loadpin
parentaafc203bbad4bf6cf394a34ea698c2b0b8affae0 (diff)
downloadlinux-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 'security/loadpin')
0 files changed, 0 insertions, 0 deletions