Re: UAF during boot on MTL based devices with attached dock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 09, 2024 at 07:44:42AM +0300, mika.westerberg@xxxxxxxxxxxxxxx wrote:
> On Tue, Oct 08, 2024 at 08:23:43PM +0200, Lukas Wunner wrote:
> > Okay this seems to have been introduced by 0fc70886569c ("thunderbolt:
> > Reset USB4 v2 host router").
> 
> Correct, and there is similar commit for USB4 v1 routers.
> 
> > Is that a good idea though?  What if the machine was booted from a
> > Thunderbolt-attached drive?  At least on Macs that has been supported
> > since day 1.  I'd assume that it may cause issues if the connection to
> > the drive on which the root partition resides is forcefully torn down
> > and re-established?
> 
> For Macs we still "discover" the topology. This is only for software
> connection manager USB4 hosts. This same "strategy" is being used in
> Windows nowadays, it allows to re-configure sub-optimal setup that the
> BIOS CM might have done and avoids some issues too on AMD.

Hm, I'd assume recent Apple Silicon host routers are USB4 compliant,
so we may have to exempt those from the reset once Thunderbolt is
brought up on them...

Thanks,

Lukas




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux