[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACycT3vbaa-XAjnFA921dC7kXH8WKPXpJ+OXvS-5SdVx8qqgVw@mail.gmail.com>
Date: Thu, 16 Dec 2021 11:14:09 +0800
From: Yongji Xie <xieyongji@...edance.com>
To: Liuxiangdong <liuxiangdong5@...wei.com>
Cc: "Fangyi (Eric)" <eric.fangyi@...wei.com>,
kvm <kvm@...r.kernel.org>, linux-fsdevel@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>,
"Michael S. Tsirkin" <mst@...hat.com>,
Netdev <netdev@...r.kernel.org>,
virtualization <virtualization@...ts.linux-foundation.org>
Subject: Re: [PATCH v9 00/17] Introduce VDUSE - vDPA Device in Userspace
On Wed, Dec 15, 2021 at 6:11 PM Liuxiangdong <liuxiangdong5@...wei.com> wrote:
>
> Hi, yongji.
>
> In vduse patches serial[1], you said "The support for other device types
> can be added after the security issue of corresponding device driver
> is clarified or fixed in the future."
>
> What does this "security issue" mean?
>
> [1]https://lore.kernel.org/all/20210831103634.33-1-xieyongji@bytedance.com/
>
> Do you mean that vduse device is untrusted, so we should check config or
> data transferred
> from vduse to virtio module? Or something others?
Yes, we need to make sure untrusted devices can not do harm to the
kernel. So we need careful auditing for the device driver before we
add more device types.
> Because I found you added some validation in virtio module just like
> this patch[2].
>
> [2]https://lore.kernel.org/lkml/20210531135852.113-1-xieyongji@bytedance.com/
>
Other efforts are shown below:
https://lwn.net/Articles/865216/
https://lwn.net/Articles/872648/
Thanks,
Yongji
Powered by blists - more mailing lists