e 'has_lease' field in this patch depends on work done by two other patches, and those should be backported before this one: - 5c86919455c1 ("smb: client: fix use-after-free in smb2_query_info_compound()") - 7afb86733685 ("smb: Don't leak cfid when reconnect races with open_cached_dir") I have (somewhere...) a backport of all three of these patches three patches to linux-6.1.y, but it was a while ago and I never found the time to _test_ the backports. [1] https://lore.kernel.org/linux-cifs/Z9uGCaxYJgs1gvwM@vaarsuvius.home.arpa/ cfid->has_lease needs to be cleared while holding cfids->cfid_list_lock. (See my feedback to the stable backport in March) ~Paul[PATCH v6.1] smb: prevent use-after-free due to open_cached_dir error pathsPaul Aurich undefinedShivani Agarwal undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined…wƒ‹9