summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2021-03-24 21:37:35 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-30 14:45:00 +0200
commit329632f2cd9e4d61c33cc66f640c9aaf4f0306f7 (patch)
tree78d6bd26e35857133f2e9d817396dba6446dfc40 /net/unix/af_unix.c
parent7d4eb66bcf5a79f672c74832c89f1f88f6e31028 (diff)
squashfs: fix xattr id and id lookup sanity checks
commit 8b44ca2b634527151af07447a8090a5f3a043321 upstream. The checks for maximum metadata block size is missing SQUASHFS_BLOCK_OFFSET (the two byte length count). Link: https://lkml.kernel.org/r/2069685113.2081245.1614583677427@webmail.123-reg.co.uk Fixes: f37aa4c7366e23f ("squashfs: add more sanity checks in id lookup") Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk> Cc: Sean Nyekjaer <sean@geanix.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions