seq_file: disallow extremely large seq buffer allocations
There is no reasonable need for a buffer larger than this, and it avoids int overflow pitfalls. Fixes: 058504ed ("fs/seq_file: fallback to vmalloc allocation") Suggested-by:Al Viro <viro@zeniv.linux.org.uk> Reported-by:
Qualys Security Advisory <qsa@qualys.com> Signed-off-by:
Eric Sandeen <sandeen@redhat.com> Cc: stable@kernel.org Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Loading
-
mentioned in commit ece338aa
-
mentioned in commit fe906966
-
mentioned in commit 36209b18
-
mentioned in commit 20480292
-
mentioned in commit 56a226a7
-
mentioned in commit 126382f2
-
mentioned in commit 13b29842
-
mentioned in commit 9bb109da
-
mentioned in commit 10bef003
-
mentioned in commit 82280f83
-
mentioned in commit 514b6531
Please sign in to comment