Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: scope session state changes to bound connections ksmbd_all_conn_set_status() treats every connection whose transient binding flag is set as belonging to the target SessionId. A logoff or session replacement can consequently move an unrelated connection to NEED_RECONNECT or NEED_SETUP. Pass the target session itself and select connections using either the connection-local session xarray or the session's permanent channel list. Use the same association test while waiting for requests to drain. Serialize session-wide status changes under request_lock and do not overwrite EXITING or RELEASING. Protect the shutdown transition with the same lock so a concurrent session update cannot revive a closing connection.
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
f5a544e3bab78142207e0242d22442db85ba1eff to < 3deefd5fb1368e2577144b0961b1a5df26b587d1affectedf5a544e3bab78142207e0242d22442db85ba1eff to < 3d66f3ec3c69fa242939a9f9e6815df33390b1bbaffectedf5a544e3bab78142207e0242d22442db85ba1eff to < 1ff0e41afbe73240a7d7b96d4e8e86d0aaf0fe0baffectedf5a544e3bab78142207e0242d22442db85ba1eff to < 0875872718b98e8530fbc634e5aa7dbd3253b80daffectedf5a544e3bab78142207e0242d22442db85ba1eff to < c50e628122aed077695669e25b842e778511a43daffected
Linux Linux
Default version status: affected
5.15affected0 to < 5.15unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.57 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3deefd5fb1368e2577144b0961b1a5df26b587d1 ↗
- https://git.kernel.org/stable/c/3d66f3ec3c69fa242939a9f9e6815df33390b1bb ↗
- https://git.kernel.org/stable/c/1ff0e41afbe73240a7d7b96d4e8e86d0aaf0fe0b ↗
- https://git.kernel.org/stable/c/0875872718b98e8530fbc634e5aa7dbd3253b80d ↗
- https://git.kernel.org/stable/c/c50e628122aed077695669e25b842e778511a43d ↗