Re: [PATCH] afs: Fix afs_atcell_get_link() to check if ws_cell is unset first
From: Edward Adam Davis
Date: Tue Mar 18 2025 - 07:46:03 EST
On Tue, 18 Mar 2025 11:20:19 +0000, David Howells wrote:
> Fix afs_atcell_get_link() to check if the workstation cell is unset before
> doing the RCU pathwalk bit where we dereference that.
>
> Fixes: 823869e1e616 ("afs: Fix afs_atcell_get_link() to handle RCU pathwalk")
> Reported-by: syzbot+76a6f18e3af82e84f264@xxxxxxxxxxxxxxxxxxxxxxxxx
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> Tested-by: syzbot+76a6f18e3af82e84f264@xxxxxxxxxxxxxxxxxxxxxxxxx
> cc: Marc Dionne <marc.dionne@xxxxxxxxxxxx>
> cc: linux-afs@xxxxxxxxxxxxxxxxxxx
> cc: linux-fsdevel@xxxxxxxxxxxxxxx
My fix already sent, it is much earlier than your patch.
https://lore.kernel.org/all/tencent_8CA5671E3C533638973237484A0874917609@xxxxxx/
BR,
Edward