[PATCH 0/7] afs: Miscellaneous fixes

From: David Howells

Date: Tue Jun 09 2026 - 04:33:42 EST


Hi Christian,

Can you pick up these miscellaneous AFS fixes, please?

(1) Fix the CB.InitCallBackState3 service handler to handle an unknown
server (server pointer is NULL).

(2) Fix the clobbering of the default error code in
afs_extract_vl_addrs().

(3) Fix a NULL pointer in a trace point in afs_get_tree().

(4) Fix setting of AS_RELEASE_ALWAYS for symlinks (and mountpoints) as
there's no release_folio function provided.

(5) Fix the release of op->more_files to Use kvfree().

(6) Fix erroneous seq |= 1 in volume lookup loop.

(7) Drop for duplicate server records when parsing DNS reply into the VL
server list (this is not strictly a bug fix, so could be punted to the
merge window).

The patches can be found here:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=afs-fixes

Thanks,
David

Dan Carpenter (1):
afs: Fix error code in afs_extract_vl_addrs()

David Howells (1):
afs: Remove setting of AS_RELEASE_ALWAYS for symlinks and mountpoints

Li RongQing (1):
afs: Remove erroneous seq |= 1 in volume lookup loop

Matvey Kovalev (1):
afs: fix NULL pointer dereference in afs_get_tree()

Nan Li (1):
afs: handle CB.InitCallBackState3 requests without a server record

Yuto Ohnuki (1):
afs: check for duplicate servers in VL server list

Zilin Guan (1):
afs: use kvfree() to free memory allocated by kvcalloc()

fs/afs/callback.c | 1 -
fs/afs/cmservice.c | 5 +++++
fs/afs/fs_operation.c | 2 +-
fs/afs/inode.c | 1 -
fs/afs/super.c | 3 ++-
fs/afs/vl_list.c | 18 ++++++++++++++++--
6 files changed, 24 insertions(+), 6 deletions(-)