lkml.org 
[lkml]   [2023]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/6] Harden a few virtio bits
Date
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.

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

\
 
 \ /
  Last update: 2023-03-26 23:48    [W:0.280 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site