Re: [PATCH] tpm_vtpm_proxy: fix race condition in /dev/vtpmx creation

From: Stefan Berger
Date: Sat May 13 2023 - 16:50:59 EST




On 5/13/23 13:28, Jarkko Sakkinen wrote:
/dev/vtpmx is made visible before the workqueue exist, which can lead

which can lead to

memory corruption in the worst case, if workqueue is used before it has
been fully initialized. Address this by changing the call order.


Thanks,
Stefan