summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-01-14 09:27:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-23 08:18:40 +0100
commit6ab4f78f1d5748e2ac9e2c5c2223099cdf0f14bd (patch)
tree0e1582cc56c080180669208518b4916fb0bc02e8 /net/ipv4/tcp_input.c
parent1bf5a3b07a5031b007ad70a5286304d1668c92ba (diff)
r8152: add missing endpoint sanity check
[ Upstream commit 86f3f4cd53707ceeec079b83205c8d3c756eca93 ] Add missing endpoint sanity check to probe in order to prevent a NULL-pointer dereference (or slab out-of-bounds access) when retrieving the interrupt-endpoint bInterval on ndo_open() in case a device lacks the expected endpoints. Fixes: 40a82917b1d3 ("net/usb/r8152: enable interrupt transfer") Cc: hayeswang <hayeswang@realtek.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions