Re: [PATCH] tpm: xen-tpmfront: fix use-after-free in backend_changed()

From: Jarkko Sakkinen

Date: Thu Nov 19 2026 - 15:15:16 EST


On Fri, Nov 20, 2026 at 03:31:53AM +0800, Wong Steve wrote:
> Hi Juergen, Jarkko,
>
> Thanks Juergen, that explains why nobody has run into it: with the
> stubdom backend the frontend never sees Closing or Closed, so this
> path is only reached with a backend that does close. I agree the
> normal state machine should stay.
>
> So with today's backend this is latent. Jarkko, if you prefer, I can
> send a v2 that says so in the commit message and drops the
> Cc: stable.
>
> Thanks,
> Suyuan

Given the feedback, go ahead.

Br, Jarkko