Re: [PATCH] 9p/trans_virtio: bound mount_tag show copy to one page

Michael Bommarito <[email protected]> Wed, 10 Jun 2026 12:00:50 -0400
Newsgroups dev.linux.lists.v9fs,dev.linux.lists.virtualization,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <CAJJ9bXz=01tvoUTF8cQ6rUiCbsyYQbGKTcXD7LwJSwBu6y=unw@mail.gmail.com>
On Wed, Jun 10, 2026 at 11:46 AM Christian Schoenebeck
<[email protected]> wrote:
> I would say no, a 64k tag is at least suspicious, if not even hostile.
>
> Therefore: what about simply rejecting the device at probe time if its tag is
> beyond a certain length?

I think that's much cleaner if the user base really can't think of any
legitimate purpose here (or in userspace utils).

FWIW, on a similar Xen issue, we're also talking about blacklisting,
which is one step even further.

Thanks,
Mike