vsock/virtio: fix MSG_PEEK ignoring skb offset when calculating bytes to copy
Hi stable maintainers,
I'd like to ask you to include the following patch to stable:
080f22f5d30233faf3d83be3098f35b8be9b7a00 ("vsock/virtio: fix MSG_PEEK ignoring skb offset when calculating bytes to copy")
This fixes a bug in virtio-vsock, that leads to an EFAULT when the user performs a partial recv followed by a peek that requests more bytes than are available.
Please apply it to
- 6.12.y
- 6.18.y
7.0.y already has it.
Luigi
Quoted 11 lines · Luigi Leonardi
Hi stable maintainers,
I'd like to ask you to include the following patch to stable:
080f22f5d30233faf3d83be3098f35b8be9b7a00("vsock/virtio: fixMSG_PEEKignoring skb offset when calculating bytes to copy")This fixes a bug in virtio-vsock, that leads to an EFAULT when the user performs a partial recv followed by a peek that requests more bytes than are available.
Quoted 5 lines
Please apply it to
- 6.12.y
- 6.18.y7.0.y already has it.
I don't see it in 7.0.y, what commit id is it in there?
thanks,
greg k-h
Quoted 16 lines · Greg KH
Quoted 15 lines · Luigi Leonardi
Hi stable maintainers,
I'd like to ask you to include the following patch to stable:
080f22f5d30233faf3d83be3098f35b8be9b7a00("vsock/virtio: fixMSG_PEEKignoring skb offset when calculating bytes to copy")This fixes a bug in virtio-vsock, that leads to an EFAULT when the user performs a partial recv followed by a peek that requests more bytes than are available.
Please apply it to
- 6.12.y
- 6.18.y
Quoted 8 lines
Quoted 1 line
7.0.y already has it.
I don't see it in 7.0.y, what commit id is it in there?
thanks,
greg k-h
oops, you are right :)
Thanks,
Luigi