ksmbd: scope session state changes to bound connections
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0875872718b98e8530fbc634e5aa7dbd3253b80d, Kernel 1ff0e41afbe73240a7d7b96d4e8e86d0aaf0fe0b, Kernel 3d66f3ec3c69fa242939a9f9e6815df33390b1bb and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.15, >=f5a544e3bab78142207e0242d22442db85ba1eff <0875872718b98e8530fbc634e5aa7dbd3253b80d, >=f5a544e3bab78142207e0242d22442db85ba1eff <1ff0e41afbe73240a7d7b96d4e8e86d0aaf0fe0b, >=f5a544e3bab78142207e0242d22442db85ba1eff <3d66f3ec3c69fa242939a9f9e6815df33390b1bb, >=f5a544e3bab78142207e0242d22442db85ba1eff <3deefd5fb1368e2577144b0961b1a5df26b587d1, >=f5a544e3bab78142207e0242d22442db85ba1eff <c50e628122aed077695669e25b842e778511a43d | 0875872718b98e8530fbc634e5aa7dbd3253b80d, 1ff0e41afbe73240a7d7b96d4e8e86d0aaf0fe0b, 3d66f3ec3c69fa242939a9f9e6815df33390b1bb, 3deefd5fb1368e2577144b0961b1a5df26b587d1, c50e628122aed077695669e25b842e778511a43d |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket