From: Luigi Leonardi <leonardi@redhat.com>
To: stable@vger.kernel.org
Cc: Stefano Garzarella <sgarzare@redhat.com>
Subject: vsock/virtio: fix MSG_PEEK ignoring skb offset when calculating bytes to copy
Date: Thu, 14 May 2026 15:25:29 +0200 [thread overview]
Message-ID: <agXKLQjMytKNo3kZ@leonardi-redhat> (raw)
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
reply other threads:[~2026-05-14 13:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=agXKLQjMytKNo3kZ@leonardi-redhat \
--to=leonardi@redhat.com \
--cc=sgarzare@redhat.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox