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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e to < 536ec71ba060a02fabe8e22cecb82fe7b3a8708baffectedc88f7dcd6d6429197fc2fd87b54a894ffcd48e8e to < 553476df55a111e6a66ad9155256aec0ec1b7ad0affectedc88f7dcd6d6429197fc2fd87b54a894ffcd48e8e to < ee20d7c6100752eaf2409d783f4f1449c29ea33daffected81d583baa5f1abd73c755ce1992929debd20b687affected5.15.81 to < 5.16affected
Linux Linux
Default version status: affected
5.16affected0 to < 5.16unaffected6.2.15 to ≤ 6.2.*unaffected6.3.2 to ≤ 6.3.*unaffected6.4 to ≤ *unaffected