On Wed, Jun 10, 2026 at 01:34:10PM -0400, Gavin Li wrote: > Another option I am considering: > > - Uninterruptible wait with timeout, timeout based on adap->timeout > - Upon timeout, reset the device with > virtio_i2c_del_vqs() + virtio_i2c_setup_vqs() + virtio_device_ready() > > This behavior more closely mirrors what other I2C bus drivers do. > The device should be completely quiesced when virtio_i2c_del_vqs() > returns, avoiding the UAF.
I don't know enough about i2c. Maybe 1. revert 2. some other hack -- MST
