Linux kernel -stable discussions
 help / color / mirror / Atom feed
* 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

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