diff options
| author | Ondrej Mosnacek <[email protected]> | 2018-11-13 15:16:08 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2018-11-13 16:39:09 +0000 |
| commit | c138325fb8713472d5a0c3c7258b9131bab40725 (patch) | |
| tree | 5fff0dba37bdb9694deb285143726b55c0074b71 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | selinux: Add __GFP_NOWARN to allocation at str_read() (diff) | |
| download | kernel-c138325fb8713472d5a0c3c7258b9131bab40725.tar.gz kernel-c138325fb8713472d5a0c3c7258b9131bab40725.zip | |
selinux: check length properly in SCTP bind hook
selinux_sctp_bind_connect() must verify if the address buffer has
sufficient length before accessing the 'sa_family' field. See
__sctp_connect() for a similar check.
The length of the whole address ('len') is already checked in the
callees.
Reported-by: Qian Cai <[email protected]>
Fixes: d452930fd3b9 ("selinux: Add SCTP support")
Cc: <[email protected]> # 4.17+
Cc: Richard Haines <[email protected]>
Signed-off-by: Ondrej Mosnacek <[email protected]>
Tested-by: Qian Cai <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
