diff options
| author | Eric Sandeen <[email protected]> | 2021-07-13 15:49:23 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-07-20 00:18:48 +0000 |
| commit | 8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b (patch) | |
| tree | ce4ab88a4716617571135afcb7728f33739244a3 /net/unix/af_unix.c | |
| parent | Linux 5.14-rc2 (diff) | |
| download | kernel-8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b.tar.gz kernel-8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b.zip | |
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: 058504edd026 ("fs/seq_file: fallback to vmalloc allocation")
Suggested-by: Al Viro <[email protected]>
Reported-by: Qualys Security Advisory <[email protected]>
Signed-off-by: Eric Sandeen <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
