diff options
| author | Christoph Hellwig <[email protected]> | 2020-06-09 19:08:19 +0200 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2020-06-10 14:11:33 -0400 |
| commit | ef9d965bc8b6fce5bcc0ae76a4a5b3ed91ee81eb (patch) | |
| tree | b8c9350abed0e245cbda54b026158f78a977cbe0 /drivers/platform/surface/aggregator/controller.c | |
| parent | 8c46fa96822c28ca81036e26c2d963f1fac9a961 (diff) | |
sysctl: reject gigantic reads/write to sysctl files
Instead of triggering a WARN_ON deep down in the page allocator just
give up early on allocations that are way larger than the usual sysctl
values.
Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler")
Reported-by: Vegard Nossum <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions