diff options
author | Willem de Bruijn <willemb@google.com> | 2018-12-21 12:06:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-21 09:11:25 -0800 |
commit | 99137b7888f4058087895d035d81c6b2d31015c5 (patch) | |
tree | 1ceba39b8276cb77f2ce7ec7369bd96c6a31d21f /net/core/skmsg.c | |
parent | d134e486e831defd26130770181f01dfc6195f7d (diff) |
packet: validate address length
Packet sockets with SOCK_DGRAM may pass an address for use in
dev_hard_header. Ensure that it is of sufficient length.
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/skmsg.c')
0 files changed, 0 insertions, 0 deletions