diff options
author | Eric Dumazet <[email protected]> | 2018-04-16 08:29:43 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-16 18:08:18 -0400 |
commit | c6404122cb18f1fbd2a6dc85ab687f6fa2e454cf (patch) | |
tree | 446adab675af1e507ab048a2efe35edd427fdd34 /tools/perf/scripts/python/syscall-counts.py | |
parent | ec518f21cb1a1b1f8a516499ea05c60299e04963 (diff) |
tipc: fix possible crash in __tipc_nl_net_set()
syzbot reported a crash in __tipc_nl_net_set() caused by NULL dereference.
We need to check that both TIPC_NLA_NET_NODEID and TIPC_NLA_NET_NODEID_W1
are present.
We also need to make sure userland provided u64 attributes.
Fixes: d50ccc2d3909 ("tipc: add 128-bit node identifier")
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Jon Maloy <[email protected]>
Cc: Ying Xue <[email protected]>
Reported-by: syzbot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions