[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211019074647.19061-1-vincent.whitchurch@axis.com>
Date: Tue, 19 Oct 2021 09:46:45 +0200
From: Vincent Whitchurch <vincent.whitchurch@...s.com>
To: <wsa@...nel.org>, <jie.deng@...el.com>, <viresh.kumar@...aro.org>
CC: <virtualization@...ts.linux-foundation.org>,
<linux-i2c@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<kernel@...s.com>, Vincent Whitchurch <vincent.whitchurch@...s.com>
Subject: [PATCH 0/2] virtio-i2c: Fix buffer handling
This fixes a couple of bugs in the buffer handling in virtio-i2c which can
result in incorrect data on the I2C bus or memory corruption in the guest.
I tested this on UML (virtio-uml needs a bug fix too, I will sent that out
later) with the device implementation in rust-vmm/vhost-device.
Vincent Whitchurch (2):
i2c: virtio: disable timeout handling
i2c: virtio: fix completion handling
drivers/i2c/busses/i2c-virtio.c | 46 ++++++++++++++-------------------
1 file changed, 19 insertions(+), 27 deletions(-)
--
2.28.0
Powered by blists - more mailing lists