Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f5a544e3bab78142207e0242d22442db85ba1eff before 3deefd5fb1368e2577144b0961b1a5df26b587d1; affected f5a544e3bab78142207e0242d22442db85ba1eff before 3d66f3ec3c69fa242939a9f9e6815df33390b1bb; affected f5a544e3bab78142207e0242d22442db85ba1eff before 1ff0e41afbe73240a7d7b96d4e8e86d0aaf0fe0b; affected f5a544e3bab78142207e0242d22442db85ba1eff before 0875872718b98e8530fbc634e5aa7dbd3253b80d; affected f5a544e3bab78142207e0242d22442db85ba1eff before c50e628122aed077695669e25b842e778511a43d |
| Linux / Linux | affected 5.15; unaffected 0 before 5.15; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.57 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
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