Re: [PATCH v2] char: xillybus: Prevent use-after-free due to race condition

From: Eli Billauer
Date: Sun Nov 13 2022 - 06:36:24 EST


On 13/11/2022 11:14, Hyunwoo Kim wrote:

It seems that you only need to move the location of unit_mutex
in xillybus_find_inode().


Agreed. I'll prepare a follow-up patch to fix this issue as well.

Thanks a lot for drawing my attention to this.

Eli