CVE-2024-53178

smb: Don't leak cfid when reconnect races with open_cached_dir

References

Notes

 carnil> Introduced in ebe98f1447bb ("cifs: enable caching of directories for which a
 carnil> lease is held")
 carnil> 5c86919455c1 ("smb: client: fix use-after-free in smb2_query_info_compound()").
 carnil> Vulnerable versions: 6.1-rc1.

Bugs

Status

Branch Status
upstream released (6.13-rc1) [7afb86733685c64c604d32faf00fa4a1f22c2ab1]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.12-upstream-stable released (6.12.2) [73a57b25b4df23f22814fc06b7e8f9cf570be026]
6.6-upstream-stable released (6.6.64) [31fabf70d58388d5475e48ca8a6b7d2847b36678]
6.1-upstream-stable needed
5.10-upstream-stable N/A "Vulnerable code not present"
sid released (6.12.3-1)
6.12-trixie-security N/A "Fixed before branching point"
6.1-bookworm-security needed
5.10-bullseye-security N/A "Vulnerable code not present"