summaryrefslogtreecommitdiffstats
path: root/net/ife
diff options
context:
space:
mode:
authorSean Nyekjaer <sean@geanix.com>2021-03-25 05:37:32 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2021-03-25 17:22:55 +0100
commitc1b2028315c6b15e8d6725e0d5884b15887d3daa (patch)
tree21f9218bb3408481ed812ec0a879e721abf5b91e /net/ife
parentz3fold: prevent reclaim/free race for headless pages (diff)
downloadlinux-c1b2028315c6b15e8d6725e0d5884b15887d3daa.tar.xz
linux-c1b2028315c6b15e8d6725e0d5884b15887d3daa.zip
squashfs: fix inode lookup sanity checks
When mouting a squashfs image created without inode compression it fails with: "unable to read inode lookup table" It turns out that the BLOCK_OFFSET is missing when checking the SQUASHFS_METADATA_SIZE agaist the actual size. Link: https://lkml.kernel.org/r/20210226092903.1473545-1-sean@geanix.com Fixes: eabac19e40c0 ("squashfs: add more sanity checks in inode lookup") Signed-off-by: Sean Nyekjaer <sean@geanix.com> Acked-by: Phillip Lougher <phillip@squashfs.org.uk> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/ife')
0 files changed, 0 insertions, 0 deletions