[PATCH 0/2] smb: client: improve copy_ref_data() robustness
From: Fredric Cover
Date: Wed Aug 26 2026 - 15:11:17 EST
1. Avoid setting the metadata of the cache
before updating the cache.
2. Harden copy_ref_data() against an empty ref
array.
Fredric Cover (2):
smb: client: fill cache fields after populating cache in
copy_ref_data()
smb: client: prevent out-of-bounds dfs_info3_param access in
copy_ref_data()
fs/smb/client/dfs_cache.c | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
--
2.53.0