Description
In the Linux kernel, the following vulnerability has been resolved: cifs: fix potential race when tree connecting ipc Protect access of TCP_Server_Info::hostname when building the ipc tree name as it might get freed in cifsd thread and thus causing an use-after-free bug in __tree_connect_dfs_target(). Also, while at it, update status of IPC tcon on success and then avoid any extra tree connects.
Product status
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 536ec71ba060a02fabe8e22cecb82fe7b3a8708b
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 553476df55a111e6a66ad9155256aec0ec1b7ad0
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before ee20d7c6100752eaf2409d783f4f1449c29ea33d
6.2.15 (semver)
6.3.2 (semver)
6.4 (original_commit_for_fix)
References
git.kernel.org/...c/536ec71ba060a02fabe8e22cecb82fe7b3a8708b
git.kernel.org/...c/553476df55a111e6a66ad9155256aec0ec1b7ad0
git.kernel.org/...c/ee20d7c6100752eaf2409d783f4f1449c29ea33d
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.