ksmbd: scope session state changes to bound connections
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.114, 6.18.57, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From f5a544e3bab78142207e0242d22442db85ba1eff · fixed in 3deefd5fb1368e2577144b0961b1a5df26b587d1; From f5a544e3bab78142207e0242d22442db85ba1eff · fixed in 3d66f3ec3c69fa242939a9f9e6815df33390b1bb; From f5a544e3bab78142207e0242d22442db85ba1eff · fixed in 1ff0e41afbe73240a7d7b96d4e8e86d0aaf0fe0b; From f5a544e3bab78142207e0242d22442db85ba1eff · fixed in 0875872718b98e8530fbc634e5aa7dbd3253b80d; From f5a544e3bab78142207e0242d22442db85ba1eff · fixed in c50e628122aed077695669e25b842e778511a43d
- Linux Linux
5.15
- KernelLinux
From 5.15.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.2.6