From: Greg KH <greg@kroah.com>
To: Luigi Leonardi <leonardi@redhat.com>
Cc: stable@vger.kernel.org, Stefano Garzarella <sgarzare@redhat.com>
Subject: Re: vsock/virtio: fix MSG_PEEK ignoring skb offset when calculating bytes to copy
Date: Fri, 15 May 2026 07:55:57 +0200 [thread overview]
Message-ID: <2026051539-residence-unspoken-abff@gregkh> (raw)
In-Reply-To: <agXKLQjMytKNo3kZ@leonardi-redhat>
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
next prev parent reply other threads:[~2026-05-15 5:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2026-05-15 8:23 ` Luigi Leonardi
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=2026051539-residence-unspoken-abff@gregkh \
--to=greg@kroah.com \
--cc=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