[folded-merged] squashfs-add-more-sanity-checks-in-xattr-id-lookup-v2.patch removed from -mm tree
From: akpm@linux-foundation.org
Date: 2021-02-09 23:11:44
The patch titled
Subject: squashfs-add-more-sanity-checks-in-xattr-id-lookup-v2
has been removed from the -mm tree. Its filename was
squashfs-add-more-sanity-checks-in-xattr-id-lookup-v2.patch
This patch was dropped because it was folded into squashfs-add-more-sanity-checks-in-xattr-id-lookup.patch
------------------------------------------------------
From: Phillip Lougher <phillip@squashfs.org.uk>
Subject: squashfs-add-more-sanity-checks-in-xattr-id-lookup-v2
fix checkpatch issue
Link: https://lkml.kernel.org/r/270245655.754655.1612770082682@webmail.123-reg.co.uk
Reported-by: syzbot+2ccea6339d368360800d@syzkaller.appspotmail.com
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/squashfs/xattr_id.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/squashfs/xattr_id.c~squashfs-add-more-sanity-checks-in-xattr-id-lookup-v2
+++ a/fs/squashfs/xattr_id.c@@ -109,7 +109,7 @@ __le64 *squashfs_read_xattr_id_table(str start = le64_to_cpu(table[n]); end = le64_to_cpu(table[n + 1]); - if(start >= end || (end - start) > SQUASHFS_METADATA_SIZE) { + if (start >= end || (end - start) > SQUASHFS_METADATA_SIZE) { kfree(table); return ERR_PTR(-EINVAL); }
_ Patches currently in -mm which might be from phillip@squashfs.org.uk are squashfs-avoid-out-of-bounds-writes-in-decompressors.patch squashfs-add-more-sanity-checks-in-id-lookup.patch squashfs-add-more-sanity-checks-in-inode-lookup.patch squashfs-add-more-sanity-checks-in-xattr-id-lookup.patch