summaryrefslogtreecommitdiff
path: root/drivers/bus/da8xx-mstpri.c
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2017-03-16 01:12:23 +0300
committerMike Snitzer <snitzer@redhat.com>2017-03-16 16:37:31 +0300
commitf1a880a93baaadb14c10a348fd199f1cdb6bcccd (patch)
treec2ce582e5337e48033a5c56ded2435f9759e5f2a /drivers/bus/da8xx-mstpri.c
parent4495c08e84729385774601b5146d51d9e5849f81 (diff)
downloadlinux-f1a880a93baaadb14c10a348fd199f1cdb6bcccd.tar.xz
dm verity fec: limit error correction recursion
If the hash tree itself is sufficiently corrupt in addition to data blocks, it's possible for error correction to end up in a deep recursive loop, which eventually causes a kernel panic. This change limits the recursion to a reasonable level during a single I/O operation. Fixes: a739ff3f543a ("dm verity: add support for forward error correction") Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org # v4.5+
Diffstat (limited to 'drivers/bus/da8xx-mstpri.c')
0 files changed, 0 insertions, 0 deletions