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
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, other threads:[~2026-05-14 13:25 UTC | newest]

Thread overview: (only message) (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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox