* vsock/virtio: fix MSG_PEEK ignoring skb offset when calculating bytes to copy
@ 2026-05-14 13:25 Luigi Leonardi
2026-05-15 5:55 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Luigi Leonardi @ 2026-05-14 13:25 UTC (permalink / raw)
To: stable; +Cc: Stefano Garzarella
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: vsock/virtio: fix MSG_PEEK ignoring skb offset when calculating bytes to copy
2026-05-14 13:25 vsock/virtio: fix MSG_PEEK ignoring skb offset when calculating bytes to copy Luigi Leonardi
@ 2026-05-15 5:55 ` Greg KH
2026-05-15 8:23 ` Luigi Leonardi
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2026-05-15 5:55 UTC (permalink / raw)
To: Luigi Leonardi; +Cc: stable, Stefano Garzarella
On Thu, May 14, 2026 at 03:25:29PM +0200, Luigi Leonardi wrote:
> 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.
I don't see it in 7.0.y, what commit id is it in there?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: vsock/virtio: fix MSG_PEEK ignoring skb offset when calculating bytes to copy
2026-05-15 5:55 ` Greg KH
@ 2026-05-15 8:23 ` Luigi Leonardi
0 siblings, 0 replies; 3+ messages in thread
From: Luigi Leonardi @ 2026-05-15 8:23 UTC (permalink / raw)
To: Greg KH; +Cc: stable, Stefano Garzarella
On Fri, May 15, 2026 at 07:55:57AM +0200, Greg KH wrote:
>On Thu, May 14, 2026 at 03:25:29PM +0200, Luigi Leonardi wrote:
>> 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.
>
>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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-15 8:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-14 13:25 vsock/virtio: fix MSG_PEEK ignoring skb offset when calculating bytes to copy Luigi Leonardi
2026-05-15 5:55 ` Greg KH
2026-05-15 8:23 ` Luigi Leonardi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox