From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
kvm@vger.kernel.org, virtualization@lists.linux-foundation.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
2312891301@qq.com, blum@kernel.org, co+6dcbccedc9ec6452@bugs.sh,
eperezma@redhat.com, fangxy@xiaopeng.com, jasowangio@gmail.com,
kmehltretter@gmail.com, linfeng.sun.dev@gmail.com,
lirongqing@baidu.com, longpareto@gmail.com,
oss.patchbox@gmail.com, p@1g4.org, phx0fer@gmail.com,
physicalmtea@gmail.com, sergiiushakov@google.com,
shubham@octane.security, stable@vger.kernel.org,
stjepan.poljak@gmail.com,
syzbot+13df72e0dc4be5c62215@syzkaller.appspotmail.com,
tavhadia@gmail.com, tjdqudcks0424@naver.com, tz2294@columbia.edu,
xieyongji@bytedance.com, xmei5@asu.edu, yuz08559@gmail.com,
zenghui.yu@linux.dev, zhaimingbing@cmss.chinamobile.com,
zhangjiao2@cmss.chinamobile.com
Subject: Re: [GIT PULL] vhost,virtio,vdpa: bugfixes
Date: Tue, 24 Nov 2026 13:51:29 +0000 [thread overview]
Message-ID: <awWOpS3HR_2FTN3I@gremlin> (raw)
In-Reply-To: <20261104081535-mutt-send-email-mst@kernel.org>
On Wed, Nov 04, 2026 at 08:15:35AM -0500, Michael S. Tsirkin wrote:
> chenglong.ma (1):
> vduse: fix VA/PA confusion in the coherent page fault path
This has landed as commit bb2e6f166547 ("vduse: fix VA/PA confusion in the
coherent page fault path") but I don't see the patch anywhere on lore (off-list
security report?)
Anyway, clearly nobody actually _ran_ this code in 7.4, not even claude, as
it's completely broken.
Commit 99fd6bf43d5d ("mm/vma: enforce that mm-managed mappings may not set
VMA_IO_BIT") literally made setting VM_IO incorrectly, like this patch does, a
WARN_ON error on mmap(), i.e. it _refuses_ to mmap it :)
It looks like it doesn't need VM_IO anyway, the other changes in the patch
make it redundant AFAICT, so you should send something like the below with
a Fixes pointing at bb2e6f166547:
--- a/drivers/vdpa/vdpa_user/iova_domain.c
+++ b/drivers/vdpa/vdpa_user/iova_domain.c
@@ static int vduse_domain_mmap(struct file *file, struct vm_area_struct *vma)
- vm_flags_set(vma, VM_IO | VM_DONTDUMP | VM_DONTEXPAND);
+ vm_flags_set(vma, VM_DONTDUMP | VM_DONTEXPAND);
--
Cheers, Lorenzo
next prev parent reply other threads:[~2026-11-24 13:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 13:15 [GIT PULL] vhost,virtio,vdpa: bugfixes Michael S. Tsirkin
2026-11-04 13:26 ` Paul Moses
2026-11-06 0:57 ` pr-tracker-bot
2026-11-24 13:51 ` Lorenzo Stoakes (ARM) [this message]
2026-11-25 6:05 ` chenglong.ma
2026-11-25 12:25 ` Lorenzo Stoakes (ARM)
2026-11-25 21:21 ` Paul Moses
2026-11-25 21:46 ` Michael S. Tsirkin
-- strict thread matches above, loose matches on Subject: below --
2021-11-28 17:58 Michael S. Tsirkin
2021-11-28 17:58 ` Michael S. Tsirkin
2021-11-28 20:03 ` pr-tracker-bot
2021-11-28 20:03 ` pr-tracker-bot
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=awWOpS3HR_2FTN3I@gremlin \
--to=ljs@kernel.org \
--cc=2312891301@qq.com \
--cc=blum@kernel.org \
--cc=co+6dcbccedc9ec6452@bugs.sh \
--cc=eperezma@redhat.com \
--cc=fangxy@xiaopeng.com \
--cc=jasowangio@gmail.com \
--cc=kmehltretter@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=linfeng.sun.dev@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lirongqing@baidu.com \
--cc=longpareto@gmail.com \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=oss.patchbox@gmail.com \
--cc=p@1g4.org \
--cc=phx0fer@gmail.com \
--cc=physicalmtea@gmail.com \
--cc=sergiiushakov@google.com \
--cc=shubham@octane.security \
--cc=stable@vger.kernel.org \
--cc=stjepan.poljak@gmail.com \
--cc=syzbot+13df72e0dc4be5c62215@syzkaller.appspotmail.com \
--cc=tavhadia@gmail.com \
--cc=tjdqudcks0424@naver.com \
--cc=torvalds@linux-foundation.org \
--cc=tz2294@columbia.edu \
--cc=virtualization@lists.linux-foundation.org \
--cc=xieyongji@bytedance.com \
--cc=xmei5@asu.edu \
--cc=yuz08559@gmail.com \
--cc=zenghui.yu@linux.dev \
--cc=zhaimingbing@cmss.chinamobile.com \
--cc=zhangjiao2@cmss.chinamobile.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.