summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-01-17 10:50:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-23 08:18:39 +0100
commit8144d3b60613bee0929493a8846a4bed50aff68f (patch)
tree595fae699385707596a7001786189223b3bb5c6b /net/ipv4/tcp_input.c
parentfaec8f618ec6f25b4313d2f59e8dbd72fd754513 (diff)
USB: serial: io_edgeport: handle unbound ports on URB completion
[ Upstream commit e37d1aeda737a20b1846a91a3da3f8b0f00cf690 ] Check for NULL port data in the shared interrupt and bulk completion callbacks to avoid dereferencing a NULL pointer in case a device sends data for a port device which isn't bound to a driver (e.g. due to a malicious device having unexpected endpoints or after an allocation failure on port probe). Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Cc: stable <stable@vger.kernel.org> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions