From: Gerard Garcia <redacted>
This patch applies over VSOCK RFC v6.
Reset connection and close rx socket when the sender is ignoring our
announced available buffer. This avoids a DoS.
Gerard Garcia (1):
Fix unbound rx buffer
net/vmw_vsock/virtio_transport_common.c | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
--
2.9.1
From: Gerard Garcia <redacted>
Reset connection and close rx socket when the sender is ignoring our announced available buffer.
Signed-off-by: Gerard Garcia <redacted>
---
net/vmw_vsock/virtio_transport_common.c | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
From: David Miller <davem@davemloft.net> Date: 2016-08-03 18:43:48
From: ggarcia@abra.uab.cat
Date: Mon, 01 Aug 2016 19:18:21 +0200
quoted hunk
From: Gerard Garcia <redacted>
Reset connection and close rx socket when the sender is ignoring our announced available buffer.
Signed-off-by: Gerard Garcia <redacted>
---
net/vmw_vsock/virtio_transport_common.c | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
You don't hold vvs->rx_lock here, so it's a bug to try and release it.
I'd also expect the maintainers of this driver to give some feedback
before I apply this.