Skip to content
Unverified Commit 0307d16f authored by David Howells's avatar David Howells Committed by Christian Brauner
Browse files

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: 823869e1 ("afs: Fix afs_atcell_get_link() to handle RCU pathwalk")
Reported-by: default avatar <syzbot+76a6f18e3af82e84f264@syzkaller.appspotmail.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/2481796.1742296819@warthog.procyon.org.uk


Tested-by: default avatar <syzbot+76a6f18e3af82e84f264@syzkaller.appspotmail.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 4701f33a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment