virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
  • * Re: [PATCH v1 0/6] Harden a few virtio bits
           [not found] <20230119135721.83345-1-alexander.shishkin@linux.intel.com>
           [not found] ` <20230119135721.83345-5-alexander.shishkin@linux.intel.com>
    @ 2023-01-20 11:55 ` Michael S. Tsirkin
           [not found]   ` <877cxhqtdi.fsf@ubik.fi.intel.com>
           [not found] ` <20230119135721.83345-4-alexander.shishkin@linux.intel.com>
                       ` (4 subsequent siblings)
      6 siblings, 1 reply; 21+ messages in thread
    From: Michael S. Tsirkin @ 2023-01-20 11:55 UTC (permalink / raw)
      To: Alexander Shishkin
      Cc: kirill.shutemov, linux-kernel, elena.reshetova, virtualization
    
    On Thu, Jan 19, 2023 at 03:57:15PM +0200, Alexander Shishkin wrote:
    > Hi,
    > 
    > Here are 6 patches that harden console, net and 9p drivers against
    > various malicious host input as well as close a bounds check bypass
    > in the split virtio ring.
    
    Hardening against buggy devices is one thing,
    Hardening against malicious devices is another.
    Which is this?
    If really malicious, aren't there any spectre considerations here?
    I am for example surprised not to find anything addressing
    spectre v1 nor any uses of array_index_nospec here.
    
    
    > Changes since previous version:
    >  * Added Christian's R-B to 3/6
    >  * Added a speculation fix per Michael's comment on the cover letter
    >  * CC'ing lkml
    > 
    > Alexander Shishkin (3):
    >   virtio console: Harden control message handling
    >   virtio_net: Guard against buffer length overflow in
    >     xdp_linearize_page()
    >   virtio_ring: Prevent bounds check bypass on descriptor index
    > 
    > Andi Kleen (3):
    >   virtio console: Harden multiport against invalid host input
    >   virtio console: Harden port adding
    >   virtio 9p: Fix an overflow
    > 
    >  drivers/char/virtio_console.c | 19 ++++++++++++-------
    >  drivers/net/virtio_net.c      |  4 +++-
    >  drivers/virtio/virtio_ring.c  |  3 +++
    >  net/9p/trans_virtio.c         |  2 +-
    >  4 files changed, 19 insertions(+), 9 deletions(-)
    > 
    > -- 
    > 2.39.0
    
    _______________________________________________
    Virtualization mailing list
    Virtualization@lists.linux-foundation.org
    https://lists.linuxfoundation.org/mailman/listinfo/virtualization
    
    ^ permalink raw reply	[flat|nested] 21+ messages in thread
  • [parent not found: <20230119135721.83345-4-alexander.shishkin@linux.intel.com>]
  • [parent not found: <20230119135721.83345-7-alexander.shishkin@linux.intel.com>]
  • [parent not found: <20230119135721.83345-3-alexander.shishkin@linux.intel.com>]
  • [parent not found: <20230119135721.83345-2-alexander.shishkin@linux.intel.com>]
  • [parent not found: <20230119135721.83345-6-alexander.shishkin@linux.intel.com>]

  • end of thread, other threads:[~2023-01-27 14:47 UTC | newest]
    
    Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20230119135721.83345-1-alexander.shishkin@linux.intel.com>
         [not found] ` <20230119135721.83345-5-alexander.shishkin@linux.intel.com>
    2023-01-19 15:22   ` [PATCH v1 4/6] virtio console: Harden control message handling Greg Kroah-Hartman
    2023-01-20 12:45     ` Michael S. Tsirkin
         [not found]       ` <87y1pxp39k.fsf@ubik.fi.intel.com>
    2023-01-27 10:58         ` Michael S. Tsirkin
    2023-01-20 11:55 ` [PATCH v1 0/6] Harden a few virtio bits Michael S. Tsirkin
         [not found]   ` <877cxhqtdi.fsf@ubik.fi.intel.com>
    2023-01-20 12:40     ` Michael S. Tsirkin
         [not found] ` <20230119135721.83345-4-alexander.shishkin@linux.intel.com>
    2023-01-20 12:54   ` [PATCH v1 3/6] virtio 9p: Fix an overflow Michael S. Tsirkin
         [not found] ` <20230119135721.83345-7-alexander.shishkin@linux.intel.com>
    2023-01-20 12:56   ` [PATCH v1 6/6] virtio_ring: Prevent bounds check bypass on descriptor index Michael S. Tsirkin
         [not found] ` <20230119135721.83345-3-alexander.shishkin@linux.intel.com>
    2023-01-19 15:20   ` [PATCH v1 2/6] virtio console: Harden port adding Greg Kroah-Hartman
         [not found]     ` <87ilh2quto.fsf@ubik.fi.intel.com>
    2023-01-19 18:57       ` Greg Kroah-Hartman
         [not found]         ` <87a62eqo4h.fsf@ubik.fi.intel.com>
    2023-01-20  7:15           ` Greg Kroah-Hartman
    2023-01-27 11:02           ` Michael S. Tsirkin
         [not found]             ` <87k018p4xs.fsf@ubik.fi.intel.com>
    2023-01-27 12:12               ` Michael S. Tsirkin
         [not found]                 ` <87edrgp2is.fsf@ubik.fi.intel.com>
    2023-01-27 13:31                   ` Greg Kroah-Hartman
         [not found]                     ` <87bkmkoyd1.fsf@ubik.fi.intel.com>
    2023-01-27 14:37                       ` Greg Kroah-Hartman
    2023-01-27 14:46                       ` Michael S. Tsirkin
    2023-01-27 13:52                   ` Michael S. Tsirkin
    2023-01-20 12:59   ` Michael S. Tsirkin
         [not found] ` <20230119135721.83345-2-alexander.shishkin@linux.intel.com>
    2023-01-19 15:17   ` [PATCH v1 1/6] virtio console: Harden multiport against invalid host input Greg Kroah-Hartman
         [not found]     ` <87fsc6qrvx.fsf@ubik.fi.intel.com>
    2023-01-19 19:18       ` Greg Kroah-Hartman
    2023-01-20 13:01   ` Michael S. Tsirkin
         [not found] ` <20230119135721.83345-6-alexander.shishkin@linux.intel.com>
    2023-01-20 13:09   ` [PATCH v1 5/6] virtio_net: Guard against buffer length overflow in xdp_linearize_page() Michael S. Tsirkin
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).