Re: [syzbot] [afs?] general protection fault in afs_atcell_get_link
From: Edward Adam Davis
Date: Tue Mar 18 2025 - 07:22:26 EST
On Tue, 18 Mar 2025 10:23:47 +0000, David Howells wrote:
> commit 3ce74c88a6708de1842dbebc10f83013718324d0
> Author: David Howells <dhowells@xxxxxxxxxx>
> Date: Tue Mar 18 10:18:29 2025 +0000
My fix already sent.
https://lore.kernel.org/all/tencent_8CA5671E3C533638973237484A0874917609@xxxxxx/
>
> afs: Fix afs_atcell_get_link() to check if ws_cell is unset first
>
> 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>
> cc: Marc Dionne <marc.dionne@xxxxxxxxxxxx>
> cc: linux-afs@xxxxxxxxxxxxxxxxxxx
> cc: linux-fsdevel@xxxxxxxxxxxxxxx
BR,
Edward