diff options
| author | Cong Wang <[email protected]> | 2016-01-29 11:24:24 -0800 |
|---|---|---|
| committer | Samuel Ortiz <[email protected]> | 2016-02-25 08:40:55 +0100 |
| commit | 81ca7835f2cb0c3ba4236e3bcf31d997c6f5d71a (patch) | |
| tree | 5ca43bb47ccc627193473702e140b70b036c66a1 /tools/perf/scripts/python | |
| parent | 667f00630ebefc4d73aa105c6ab254e4aec867f8 (diff) | |
NFC: Use GFP_USER for user-controlled kmalloc
These two functions are called in sendmsg path, and the
'len' is passed from user-space, so we should not allow
malicious users to OOM kernel on purpose.
Reported-by: Dmitry Vyukov <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Reviewed-by: Julian Calaby <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions